aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/http/lib/URLUtil.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-10 12:49:51 +0000
committerMario <mario@mariovavti.com>2019-11-10 14:10:03 +0100
commit580c3f4ffe9608d2beb56d418c68b3b112420e76 (patch)
tree82335d01179ac361d3f547a4b8e8c598d302e9f3 /vendor/sabre/http/lib/URLUtil.php
parentd22766f458a8539a40a57f3946459a9be1f21cd6 (diff)
downloadvolse-hubzilla-580c3f4ffe9608d2beb56d418c68b3b112420e76.tar.gz
volse-hubzilla-580c3f4ffe9608d2beb56d418c68b3b112420e76.tar.bz2
volse-hubzilla-580c3f4ffe9608d2beb56d418c68b3b112420e76.zip
another bulk of composer updates
(cherry picked from commit 6685381fd8db507493c3d7c1793f8c05c681bbce)
Diffstat (limited to 'vendor/sabre/http/lib/URLUtil.php')
-rw-r--r--vendor/sabre/http/lib/URLUtil.php103
1 files changed, 0 insertions, 103 deletions
diff --git a/vendor/sabre/http/lib/URLUtil.php b/vendor/sabre/http/lib/URLUtil.php
deleted file mode 100644
index 85c0e1150..000000000
--- a/vendor/sabre/http/lib/URLUtil.php
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-
-namespace Sabre\HTTP;
-
-use Sabre\URI;
-
-/**
- * URL utility class
- *
- * Note: this class is deprecated. All its functionality moved to functions.php
- * or sabre\uri.
- *
- * @deprecated
- * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class URLUtil {
-
- /**
- * Encodes the path of a url.
- *
- * slashes (/) are treated as path-separators.
- *
- * @deprecated use \Sabre\HTTP\encodePath()
- * @param string $path
- * @return string
- */
- static function encodePath($path) {
-
- return encodePath($path);
-
- }
-
- /**
- * Encodes a 1 segment of a path
- *
- * Slashes are considered part of the name, and are encoded as %2f
- *
- * @deprecated use \Sabre\HTTP\encodePathSegment()
- * @param string $pathSegment
- * @return string
- */
- static function encodePathSegment($pathSegment) {
-
- return encodePathSegment($pathSegment);
-
- }
-
- /**
- * Decodes a url-encoded path
- *
- * @deprecated use \Sabre\HTTP\decodePath
- * @param string $path
- * @return string
- */
- static function decodePath($path) {
-
- return decodePath($path);
-
- }
-
- /**
- * Decodes a url-encoded path segment
- *
- * @deprecated use \Sabre\HTTP\decodePathSegment()
- * @param string $path
- * @return string
- */
- static function decodePathSegment($path) {
-
- return decodePathSegment($path);
-
- }
-
- /**
- * Returns the 'dirname' and 'basename' for a path.
- *
- * @deprecated Use Sabre\Uri\split().
- * @param string $path
- * @return array
- */
- static function splitPath($path) {
-
- return Uri\split($path);
-
- }
-
- /**
- * Resolves relative urls, like a browser would.
- *
- * @deprecated Use Sabre\Uri\resolve().
- * @param string $basePath
- * @param string $newPath
- * @return string
- */
- static function resolve($basePath, $newPath) {
-
- return Uri\resolve($basePath, $newPath);
-
- }
-
-}