Merge pull request #22916 from J0WI/unifiy-links-to-php.net

Unify links to php.net
This commit is contained in:
Roeland Jago Douma 2020-12-22 09:53:31 +01:00 committed by GitHub
commit adc4f1a811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 466 additions and 466 deletions

View File

@ -236,7 +236,7 @@ class Scan extends Base {
/** /**
* Processes PHP errors as exceptions in order to be able to keep track of problems * Processes PHP errors as exceptions in order to be able to keep track of problems
* *
* @see https://secure.php.net/manual/en/function.set-error-handler.php * @see https://www.php.net/manual/en/function.set-error-handler.php
* *
* @param int $severity the level of the error raised * @param int $severity the level of the error raised
* @param string $message * @param string $message

View File

@ -183,7 +183,7 @@ class ScanAppData extends Base {
/** /**
* Processes PHP errors as exceptions in order to be able to keep track of problems * Processes PHP errors as exceptions in order to be able to keep track of problems
* *
* @see https://secure.php.net/manual/en/function.set-error-handler.php * @see https://www.php.net/manual/en/function.set-error-handler.php
* *
* @param int $severity the level of the error raised * @param int $severity the level of the error raised
* @param string $message * @param string $message

View File

@ -119,7 +119,7 @@ class NativeShare extends AbstractShare {
* Multibyte unicode safe version of basename() * Multibyte unicode safe version of basename()
* *
* @param string $path * @param string $path
* @link http://php.net/manual/en/function.basename.php#121405 * @link https://www.php.net/manual/en/function.basename.php#121405
* @return string * @return string
*/ */
protected static function mb_basename($path) { protected static function mb_basename($path) {

View File

@ -297,7 +297,7 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
} }
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2

View File

@ -285,7 +285,7 @@ class CheckSetupController extends Controller {
/** /**
* Whether the php version is still supported (at time of release) * Whether the php version is still supported (at time of release)
* according to: https://secure.php.net/supported-versions.php * according to: https://www.php.net/supported-versions.php
* *
* @return array * @return array
*/ */

View File

@ -103,7 +103,7 @@
} else { } else {
print_unescaped(str_replace( print_unescaped(str_replace(
['{linkstart}', '{linkend}'], ['{linkstart}', '{linkend}'],
['<a href="http://php.net/manual/en/book.posix.php">', ' ↗</a>'], ['<a href="https://www.php.net/manual/en/book.posix.php">', ' ↗</a>'],
$l->t('To run this you need the PHP POSIX extension. See {linkstart}PHP documentation{linkend} for more details.') $l->t('To run this you need the PHP POSIX extension. See {linkstart}PHP documentation{linkend} for more details.')
)); ));
} ?></em> } ?></em>

View File

@ -1781,7 +1781,7 @@ class Access extends LDAPUtility {
* *
* @param string $oguid the ObjectGUID in it's binary form as retrieved from AD * @param string $oguid the ObjectGUID in it's binary form as retrieved from AD
* @return string * @return string
* @link http://www.php.net/manual/en/function.ldap-get-values-len.php#73198 * @link https://www.php.net/manual/en/function.ldap-get-values-len.php#73198
*/ */
private function convertObjectGUID2Str($oguid) { private function convertObjectGUID2Str($oguid) {
$hex_guid = bin2hex($oguid); $hex_guid = bin2hex($oguid);

View File

@ -100,7 +100,7 @@ interface ILDAPWrapper {
* @param string $dn * @param string $dn
* @param int @withAttrib * @param int @withAttrib
* @return array|false * @return array|false
* @link http://www.php.net/manual/en/function.ldap-explode-dn.php * @link https://www.php.net/manual/en/function.ldap-explode-dn.php
*/ */
public function explodeDN($dn, $withAttrib); public function explodeDN($dn, $withAttrib);

View File

@ -148,7 +148,7 @@ class LDAP implements ILDAPWrapper {
* @param string $dn * @param string $dn
* @param int @withAttrib * @param int @withAttrib
* @return array|false * @return array|false
* @link http://www.php.net/manual/en/function.ldap-explode-dn.php * @link https://www.php.net/manual/en/function.ldap-explode-dn.php
*/ */
public function explodeDN($dn, $withAttrib) { public function explodeDN($dn, $withAttrib) {
return $this->invokeLDAPMethod('explode_dn', $dn, $withAttrib); return $this->invokeLDAPMethod('explode_dn', $dn, $withAttrib);

View File

@ -2805,9 +2805,9 @@ define('IMG_TGA', 128);
/** /**
* Return an image containing the affine tramsformed src image, using an optional clipping area * Return an image containing the affine tramsformed src image, using an optional clipping area
* @link https://secure.php.net/manual/en/function.imageaffine.php * @link https://www.php.net/manual/en/function.imageaffine.php
* @param resource $image <p>An image resource, returned by one of the image creation functions, * @param resource $image <p>An image resource, returned by one of the image creation functions,
* such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.</p> * such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.</p>
* @param array $affine <p>Array with keys 0 to 5.</p> * @param array $affine <p>Array with keys 0 to 5.</p>
* @param array $clip [optional] <p>Array with keys "x", "y", "width" and "height".</p> * @param array $clip [optional] <p>Array with keys "x", "y", "width" and "height".</p>
* @return resource|bool Return affined image resource on success or FALSE on failure. * @return resource|bool Return affined image resource on success or FALSE on failure.
@ -2816,7 +2816,7 @@ function imageaffine($image, $affine, $clip = null) {}
/** /**
* Concat two matrices (as in doing many ops in one go) * Concat two matrices (as in doing many ops in one go)
* @link https://secure.php.net/manual/en/function.imageaffinematrixconcat.php * @link https://www.php.net/manual/en/function.imageaffinematrixconcat.php
* @param array $m1 <p>Array with keys 0 to 5.</p> * @param array $m1 <p>Array with keys 0 to 5.</p>
* @param array $m2 <p>Array with keys 0 to 5.</p> * @param array $m2 <p>Array with keys 0 to 5.</p>
* @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure. * @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
@ -2826,7 +2826,7 @@ function imageaffinematrixconcat(array $m1, array $m2) {}
/** /**
* Return an image containing the affine tramsformed src image, using an optional clipping area * Return an image containing the affine tramsformed src image, using an optional clipping area
* @link https://secure.php.net/manual/en/function.imageaffinematrixget.php * @link https://www.php.net/manual/en/function.imageaffinematrixget.php
* @param int $type <p> One of <b>IMG_AFFINE_*</b> constants. * @param int $type <p> One of <b>IMG_AFFINE_*</b> constants.
* @param mixed $options [optional] * @param mixed $options [optional]
* @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure. * @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
@ -2837,9 +2837,9 @@ function imageaffinematrixget ($type, $options = null) {}
/** /**
* Crop an image using the given coordinates and size, x, y, width and height * Crop an image using the given coordinates and size, x, y, width and height
* @link https://secure.php.net/manual/en/function.imagecrop.php * @link https://www.php.net/manual/en/function.imagecrop.php
* @param resource $image <p> * @param resource $image <p>
* An image resource, returned by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. * An image resource, returned by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p> * </p>
* @param array $rect <p>Array with keys "x", "y", "width" and "height".</p> * @param array $rect <p>Array with keys "x", "y", "width" and "height".</p>
* @return resource|bool Return cropped image resource on success or FALSE on failure. * @return resource|bool Return cropped image resource on success or FALSE on failure.
@ -2849,9 +2849,9 @@ function imagecrop ($image, $rect) {}
/** /**
* Crop an image automatically using one of the available modes * Crop an image automatically using one of the available modes
* @link https://secure.php.net/manual/en/function.imagecropauto.php * @link https://www.php.net/manual/en/function.imagecropauto.php
* @param resource $image <p> * @param resource $image <p>
* An image resource, returned by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. * An image resource, returned by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p> * </p>
* @param int $mode [optional] <p> * @param int $mode [optional] <p>
* One of <b>IMG_CROP_*</b> constants. * One of <b>IMG_CROP_*</b> constants.
@ -2870,9 +2870,9 @@ function imagecropauto ($image, $mode = IMG_CROP_DEFAULT, $threshold = .5, $colo
/** /**
* Flips an image using a given mode * Flips an image using a given mode
* @link https://secure.php.net/manual/en/function.imageflip.php * @link https://www.php.net/manual/en/function.imageflip.php
* @param resource $image <p> * @param resource $image <p>
* An image resource, returned by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. * An image resource, returned by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p> * </p>
* @param int $mode <p> * @param int $mode <p>
* Flip mode, this can be one of the <b>IMG_FLIP_*</b> constants: * Flip mode, this can be one of the <b>IMG_FLIP_*</b> constants:
@ -2911,9 +2911,9 @@ function imageflip ($image, $mode) {}
/** /**
* Converts a palette based image to true color * Converts a palette based image to true color
* @link https://secure.php.net/manual/en/function.imagepalettetotruecolor.php * @link https://www.php.net/manual/en/function.imagepalettetotruecolor.php
* @param resource $image <p> * @param resource $image <p>
* An image resource, returnd by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. * An image resource, returnd by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p> * </p>
* @return bool Returns <b>TRUE</b> if the convertion was complete, or if the source image already is a true color image, otherwise <b>FALSE</b> is returned. * @return bool Returns <b>TRUE</b> if the convertion was complete, or if the source image already is a true color image, otherwise <b>FALSE</b> is returned.
* @since 5.5 * @since 5.5
@ -2923,9 +2923,9 @@ function imagepalettetotruecolor ($image) {}
/** /**
* @since 5.5 * @since 5.5
* Scale an image using the given new width and height * Scale an image using the given new width and height
* @link https://secure.php.net/manual/en/function.imagescale.php * @link https://www.php.net/manual/en/function.imagescale.php
* @param resource $image <p> * @param resource $image <p>
* An image resource, returnd by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. * An image resource, returnd by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p> * </p>
* @param int $new_width * @param int $new_width
* @param int $new_height [optional] * @param int $new_height [optional]
@ -2937,9 +2937,9 @@ function imagescale ($image, $new_width, $new_height = -1, $mode = IMG_BILINEAR_
/** /**
* Set the interpolation method * Set the interpolation method
* @link https://secure.php.net/manual/en/function.imagesetinterpolation.php * @link https://www.php.net/manual/en/function.imagesetinterpolation.php
* @param resource $image <p> * @param resource $image <p>
* An image resource, returned by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. * An image resource, returned by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p> * </p>
* @param int $method <p> * @param int $method <p>
* The interpolation method, which can be one of the following: * The interpolation method, which can be one of the following:

View File

@ -1944,7 +1944,7 @@ class Imagick implements Iterator, Countable {
public function getImageFormat () {} public function getImageFormat () {}
/** /**
* @link https://secure.php.net/manual/en/imagick.getimagemimetype.php * @link https://www.php.net/manual/en/imagick.getimagemimetype.php
* @return string Returns the image mime-type. * @return string Returns the image mime-type.
*/ */
public function getImageMimeType () {} public function getImageMimeType () {}

File diff suppressed because it is too large Load Diff

View File

@ -1436,7 +1436,7 @@ class Memcached {
/** /**
* (PECL memcached &gt;= 2.0.0)<br/> * (PECL memcached &gt;= 2.0.0)<br/>
* Set the credentials to use for authentication * Set the credentials to use for authentication
* @link https://secure.php.net/manual/en/memcached.setsaslauthdata.php * @link https://www.php.net/manual/en/memcached.setsaslauthdata.php
* @param string $username <p> * @param string $username <p>
* The username to use for authentication. * The username to use for authentication.
* </p> * </p>

View File

@ -865,16 +865,16 @@ $CONFIG = [
], ],
/** /**
* This uses PHP.date formatting; see http://php.net/manual/en/function.date.php * This uses PHP.date formatting; see https://www.php.net/manual/en/function.date.php
* *
* Defaults to ISO 8601 ``2005-08-15T15:52:01+00:00`` - see \DateTime::ATOM * Defaults to ISO 8601 ``2005-08-15T15:52:01+00:00`` - see \DateTime::ATOM
* (https://secure.php.net/manual/en/class.datetime.php#datetime.constants.atom) * (https://www.php.net/manual/en/class.datetime.php#datetime.constants.atom)
*/ */
'logdateformat' => 'F d, Y H:i:s', 'logdateformat' => 'F d, Y H:i:s',
/** /**
* The timezone for logfiles. You may change this; see * The timezone for logfiles. You may change this; see
* http://php.net/manual/en/timezones.php * https://www.php.net/manual/en/timezones.php
* *
* Defaults to ``UTC`` * Defaults to ``UTC``
*/ */
@ -1246,8 +1246,8 @@ $CONFIG = [
*/ */
'memcached_servers' => [ 'memcached_servers' => [
// hostname, port and optional weight. Also see: // hostname, port and optional weight. Also see:
// http://www.php.net/manual/en/memcached.addservers.php // https://www.php.net/manual/en/memcached.addservers.php
// http://www.php.net/manual/en/memcached.addserver.php // https://www.php.net/manual/en/memcached.addserver.php
['localhost', 11211], ['localhost', 11211],
//array('other.host.local', 11211), //array('other.host.local', 11211),
], ],

View File

@ -60,7 +60,7 @@ try {
set_exception_handler('exceptionHandler'); set_exception_handler('exceptionHandler');
if (!function_exists('posix_getuid')) { if (!function_exists('posix_getuid')) {
echo "The posix extensions are required - see http://php.net/manual/en/book.posix.php" . PHP_EOL; echo "The posix extensions are required - see https://www.php.net/manual/en/book.posix.php" . PHP_EOL;
exit(1); exit(1);
} }
$user = posix_getuid(); $user = posix_getuid();
@ -85,7 +85,7 @@ try {
} }
if (!function_exists('pcntl_signal') && !in_array('--no-warnings', $argv)) { if (!function_exists('pcntl_signal') && !in_array('--no-warnings', $argv)) {
echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php" . PHP_EOL; echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php" . PHP_EOL;
} }
$application = new Application( $application = new Application(

View File

@ -90,7 +90,7 @@ try {
// the cron job must be executed with the right user // the cron job must be executed with the right user
if (!function_exists('posix_getuid')) { if (!function_exists('posix_getuid')) {
echo "The posix extensions are required - see http://php.net/manual/en/book.posix.php" . PHP_EOL; echo "The posix extensions are required - see https://www.php.net/manual/en/book.posix.php" . PHP_EOL;
exit(1); exit(1);
} }

View File

@ -134,7 +134,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
* @param IConfig $config * @param IConfig $config
* @param CsrfTokenManager|null $csrfTokenManager * @param CsrfTokenManager|null $csrfTokenManager
* @param string $stream * @param string $stream
* @see http://www.php.net/manual/en/reserved.variables.php * @see https://www.php.net/manual/en/reserved.variables.php
*/ */
public function __construct(array $vars, public function __construct(array $vars,
ISecureRandom $secureRandom, ISecureRandom $secureRandom,

View File

@ -1091,7 +1091,7 @@ class QueryBuilder implements IQueryBuilder {
* placeholder for you. An automatic placeholder will be of the name * placeholder for you. An automatic placeholder will be of the name
* ':dcValue1', ':dcValue2' etc. * ':dcValue1', ':dcValue2' etc.
* *
* For more information see {@link http://php.net/pdostatement-bindparam} * For more information see {@link https://www.php.net/pdostatement-bindparam}
* *
* Example: * Example:
* <code> * <code>

View File

@ -124,7 +124,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.mkdir.php * see https://www.php.net/manual/en/function.mkdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -139,7 +139,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.rmdir.php * see https://www.php.net/manual/en/function.rmdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -153,7 +153,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.opendir.php * see https://www.php.net/manual/en/function.opendir.php
* *
* @param string $path * @param string $path
* @return resource * @return resource
@ -163,7 +163,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.is_dir.php * see https://www.php.net/manual/en/function.is_dir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -173,7 +173,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.is_file.php * see https://www.php.net/manual/en/function.is_file.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -183,7 +183,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.stat.php * see https://www.php.net/manual/en/function.stat.php
* only the following keys are required in the result: size and mtime * only the following keys are required in the result: size and mtime
* *
* @param string $path * @param string $path
@ -194,7 +194,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filetype.php * see https://www.php.net/manual/en/function.filetype.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -204,7 +204,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filesize.php * see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0 * The result for filesize when called on a folder is required to be 0
* *
* @param string $path * @param string $path
@ -276,7 +276,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_exists.php * see https://www.php.net/manual/en/function.file_exists.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -286,7 +286,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filemtime.php * see https://www.php.net/manual/en/function.filemtime.php
* *
* @param string $path * @param string $path
* @return int * @return int
@ -296,7 +296,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_get_contents.php * see https://www.php.net/manual/en/function.file_get_contents.php
* *
* @param string $path * @param string $path
* @return string * @return string
@ -306,7 +306,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -317,7 +317,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.unlink.php * see https://www.php.net/manual/en/function.unlink.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -331,7 +331,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -343,7 +343,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -354,7 +354,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode
@ -380,7 +380,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.hash.php * see https://www.php.net/manual/en/function.hash.php
* *
* @param string $type * @param string $type
* @param string $path * @param string $path
@ -392,7 +392,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.free_space.php * see https://www.php.net/manual/en/function.free_space.php
* *
* @param string $path * @param string $path
* @return int * @return int
@ -412,7 +412,7 @@ class Encoding extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.touch.php * see https://www.php.net/manual/en/function.touch.php
* If the backend does not support the operation, false should be returned * If the backend does not support the operation, false should be returned
* *
* @param string $path * @param string $path

View File

@ -132,7 +132,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filesize.php * see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0 * The result for filesize when called on a folder is required to be 0
* *
* @param string $path * @param string $path
@ -210,7 +210,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_get_contents.php * see https://www.php.net/manual/en/function.file_get_contents.php
* *
* @param string $path * @param string $path
* @return string * @return string
@ -231,7 +231,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -250,7 +250,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.unlink.php * see https://www.php.net/manual/en/function.unlink.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -270,7 +270,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -302,7 +302,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.rmdir.php * see https://www.php.net/manual/en/function.rmdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -344,7 +344,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -364,7 +364,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode
@ -807,7 +807,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.stat.php * see https://www.php.net/manual/en/function.stat.php
* only the following keys are required in the result: size and mtime * only the following keys are required in the result: size and mtime
* *
* @param string $path * @param string $path
@ -823,7 +823,7 @@ class Encryption extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.hash.php * see https://www.php.net/manual/en/function.hash.php
* *
* @param string $type * @param string $type
* @param string $path * @param string $path

View File

@ -83,7 +83,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.mkdir.php * see https://www.php.net/manual/en/function.mkdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -93,7 +93,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.rmdir.php * see https://www.php.net/manual/en/function.rmdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -103,7 +103,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.opendir.php * see https://www.php.net/manual/en/function.opendir.php
* *
* @param string $path * @param string $path
* @return resource * @return resource
@ -113,7 +113,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.is_dir.php * see https://www.php.net/manual/en/function.is_dir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -123,7 +123,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.is_file.php * see https://www.php.net/manual/en/function.is_file.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -133,7 +133,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.stat.php * see https://www.php.net/manual/en/function.stat.php
* only the following keys are required in the result: size and mtime * only the following keys are required in the result: size and mtime
* *
* @param string $path * @param string $path
@ -144,7 +144,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filetype.php * see https://www.php.net/manual/en/function.filetype.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -154,7 +154,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filesize.php * see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0 * The result for filesize when called on a folder is required to be 0
* *
* @param string $path * @param string $path
@ -226,7 +226,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_exists.php * see https://www.php.net/manual/en/function.file_exists.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -236,7 +236,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.filemtime.php * see https://www.php.net/manual/en/function.filemtime.php
* *
* @param string $path * @param string $path
* @return int * @return int
@ -246,7 +246,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_get_contents.php * see https://www.php.net/manual/en/function.file_get_contents.php
* *
* @param string $path * @param string $path
* @return string * @return string
@ -256,7 +256,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -267,7 +267,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.unlink.php * see https://www.php.net/manual/en/function.unlink.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -277,7 +277,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -288,7 +288,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -299,7 +299,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode
@ -321,7 +321,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.hash.php * see https://www.php.net/manual/en/function.hash.php
* *
* @param string $type * @param string $type
* @param string $path * @param string $path
@ -333,7 +333,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.free_space.php * see https://www.php.net/manual/en/function.free_space.php
* *
* @param string $path * @param string $path
* @return int * @return int
@ -353,7 +353,7 @@ class Jail extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.touch.php * see https://www.php.net/manual/en/function.touch.php
* If the backend does not support the operation, false should be returned * If the backend does not support the operation, false should be returned
* *
* @param string $path * @param string $path

View File

@ -119,7 +119,7 @@ class Quota extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -135,7 +135,7 @@ class Quota extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $source * @param string $source
* @param string $target * @param string $target
@ -151,7 +151,7 @@ class Quota extends Wrapper {
} }
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode

View File

@ -74,7 +74,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.mkdir.php * see https://www.php.net/manual/en/function.mkdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -84,7 +84,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.rmdir.php * see https://www.php.net/manual/en/function.rmdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -94,7 +94,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.opendir.php * see https://www.php.net/manual/en/function.opendir.php
* *
* @param string $path * @param string $path
* @return resource * @return resource
@ -104,7 +104,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.is_dir.php * see https://www.php.net/manual/en/function.is_dir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -114,7 +114,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.is_file.php * see https://www.php.net/manual/en/function.is_file.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -124,7 +124,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.stat.php * see https://www.php.net/manual/en/function.stat.php
* only the following keys are required in the result: size and mtime * only the following keys are required in the result: size and mtime
* *
* @param string $path * @param string $path
@ -135,7 +135,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.filetype.php * see https://www.php.net/manual/en/function.filetype.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -145,7 +145,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.filesize.php * see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0 * The result for filesize when called on a folder is required to be 0
* *
* @param string $path * @param string $path
@ -217,7 +217,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.file_exists.php * see https://www.php.net/manual/en/function.file_exists.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -227,7 +227,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.filemtime.php * see https://www.php.net/manual/en/function.filemtime.php
* *
* @param string $path * @param string $path
* @return int * @return int
@ -237,7 +237,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.file_get_contents.php * see https://www.php.net/manual/en/function.file_get_contents.php
* *
* @param string $path * @param string $path
* @return string * @return string
@ -247,7 +247,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -258,7 +258,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.unlink.php * see https://www.php.net/manual/en/function.unlink.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -268,7 +268,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -279,7 +279,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -290,7 +290,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode
@ -312,7 +312,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.hash.php * see https://www.php.net/manual/en/function.hash.php
* *
* @param string $type * @param string $type
* @param string $path * @param string $path
@ -324,7 +324,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.free_space.php * see https://www.php.net/manual/en/function.free_space.php
* *
* @param string $path * @param string $path
* @return int * @return int
@ -344,7 +344,7 @@ class Wrapper implements \OC\Files\Storage\Storage, ILockingStorage, IWriteStrea
} }
/** /**
* see http://php.net/manual/en/function.touch.php * see https://www.php.net/manual/en/function.touch.php
* If the backend does not support the operation, false should be returned * If the backend does not support the operation, false should be returned
* *
* @param string $path * @param string $path

View File

@ -133,7 +133,7 @@ class HEIC extends ProviderV2 {
// A bigger image calls for some better resizing algorithm // A bigger image calls for some better resizing algorithm
// According to http://www.imagemagick.org/Usage/filter/#lanczos // According to http://www.imagemagick.org/Usage/filter/#lanczos
// the catrom filter is almost identical to Lanczos2, but according // the catrom filter is almost identical to Lanczos2, but according
// to http://php.net/manual/en/imagick.resizeimage.php it is // to https://www.php.net/manual/en/imagick.resizeimage.php it is
// significantly faster // significantly faster
$bp->resizeImage($maxX, $maxY, \Imagick::FILTER_CATROM, 1, true); $bp->resizeImage($maxX, $maxY, \Imagick::FILTER_CATROM, 1, true);
} }

View File

@ -51,7 +51,7 @@ class SearchResultSorter {
/** /**
* User and Group names matching the search term at the beginning shall appear * User and Group names matching the search term at the beginning shall appear
* on top of the share dialog. Following entries in alphabetical order. * on top of the share dialog. Following entries in alphabetical order.
* Callback function for usort. http://php.net/usort * Callback function for usort. https://www.php.net/usort
*/ */
public function sort($a, $b) { public function sort($a, $b) {
if (!isset($a[$this->key]) || !isset($b[$this->key])) { if (!isset($a[$this->key]) || !isset($b[$this->key])) {

View File

@ -94,7 +94,7 @@ class OC_Helper {
* *
* Makes 2kB to 2048. * Makes 2kB to 2048.
* *
* Inspired by: http://www.php.net/manual/en/function.filesize.php#92418 * Inspired by: https://www.php.net/manual/en/function.filesize.php#92418
*/ */
public static function computerFileSize($str) { public static function computerFileSize($str) {
$str = strtolower($str); $str = strtolower($str);
@ -340,7 +340,7 @@ class OC_Helper {
* @return array * @return array
* *
* Returns an array with all keys from input lowercased or uppercased. Numbered indices are left as is. * Returns an array with all keys from input lowercased or uppercased. Numbered indices are left as is.
* based on http://www.php.net/manual/en/function.array-change-key-case.php#107715 * based on https://www.php.net/manual/en/function.array-change-key-case.php#107715
* *
*/ */
public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') {
@ -361,7 +361,7 @@ class OC_Helper {
* *
* performs a search in a nested array * performs a search in a nested array
* *
* taken from http://www.php.net/manual/en/function.array-search.php#97645 * taken from https://www.php.net/manual/en/function.array-search.php#97645
*/ */
public static function recursiveArraySearch($haystack, $needle, $index = null) { public static function recursiveArraySearch($haystack, $needle, $index = null) {
$aIt = new RecursiveArrayIterator($haystack); $aIt = new RecursiveArrayIterator($haystack);

View File

@ -1288,7 +1288,7 @@ if (!function_exists('exif_imagetype')) {
/** /**
* Workaround if exif_imagetype does not exist * Workaround if exif_imagetype does not exist
* *
* @link http://www.php.net/manual/en/function.exif-imagetype.php#80383 * @link https://www.php.net/manual/en/function.exif-imagetype.php#80383
* @param string $fileName * @param string $fileName
* @return string|boolean * @return string|boolean
*/ */

View File

@ -785,7 +785,7 @@ interface IQueryBuilder {
* placeholder for you. An automatic placeholder will be of the name * placeholder for you. An automatic placeholder will be of the name
* ':dcValue1', ':dcValue2' etc. * ':dcValue1', ':dcValue2' etc.
* *
* For more information see {@link http://php.net/pdostatement-bindparam} * For more information see {@link https://www.php.net/pdostatement-bindparam}
* *
* Example: * Example:
* <code> * <code>

View File

@ -70,7 +70,7 @@ interface Storage extends IStorage {
public function getId(); public function getId();
/** /**
* see http://php.net/manual/en/function.mkdir.php * see https://www.php.net/manual/en/function.mkdir.php
* implementations need to implement a recursive mkdir * implementations need to implement a recursive mkdir
* *
* @param string $path * @param string $path
@ -80,7 +80,7 @@ interface Storage extends IStorage {
public function mkdir($path); public function mkdir($path);
/** /**
* see http://php.net/manual/en/function.rmdir.php * see https://www.php.net/manual/en/function.rmdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -89,7 +89,7 @@ interface Storage extends IStorage {
public function rmdir($path); public function rmdir($path);
/** /**
* see http://php.net/manual/en/function.opendir.php * see https://www.php.net/manual/en/function.opendir.php
* *
* @param string $path * @param string $path
* @return resource|false * @return resource|false
@ -98,7 +98,7 @@ interface Storage extends IStorage {
public function opendir($path); public function opendir($path);
/** /**
* see http://php.net/manual/en/function.is-dir.php * see https://www.php.net/manual/en/function.is-dir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -107,7 +107,7 @@ interface Storage extends IStorage {
public function is_dir($path); public function is_dir($path);
/** /**
* see http://php.net/manual/en/function.is-file.php * see https://www.php.net/manual/en/function.is-file.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -116,7 +116,7 @@ interface Storage extends IStorage {
public function is_file($path); public function is_file($path);
/** /**
* see http://php.net/manual/en/function.stat.php * see https://www.php.net/manual/en/function.stat.php
* only the following keys are required in the result: size and mtime * only the following keys are required in the result: size and mtime
* *
* @param string $path * @param string $path
@ -126,7 +126,7 @@ interface Storage extends IStorage {
public function stat($path); public function stat($path);
/** /**
* see http://php.net/manual/en/function.filetype.php * see https://www.php.net/manual/en/function.filetype.php
* *
* @param string $path * @param string $path
* @return string|false * @return string|false
@ -135,7 +135,7 @@ interface Storage extends IStorage {
public function filetype($path); public function filetype($path);
/** /**
* see http://php.net/manual/en/function.filesize.php * see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0 * The result for filesize when called on a folder is required to be 0
* *
* @param string $path * @param string $path
@ -200,7 +200,7 @@ interface Storage extends IStorage {
public function getPermissions($path); public function getPermissions($path);
/** /**
* see http://php.net/manual/en/function.file_exists.php * see https://www.php.net/manual/en/function.file_exists.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -209,7 +209,7 @@ interface Storage extends IStorage {
public function file_exists($path); public function file_exists($path);
/** /**
* see http://php.net/manual/en/function.filemtime.php * see https://www.php.net/manual/en/function.filemtime.php
* *
* @param string $path * @param string $path
* @return int|false * @return int|false
@ -218,7 +218,7 @@ interface Storage extends IStorage {
public function filemtime($path); public function filemtime($path);
/** /**
* see http://php.net/manual/en/function.file_get_contents.php * see https://www.php.net/manual/en/function.file_get_contents.php
* *
* @param string $path * @param string $path
* @return string|false * @return string|false
@ -227,7 +227,7 @@ interface Storage extends IStorage {
public function file_get_contents($path); public function file_get_contents($path);
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -237,7 +237,7 @@ interface Storage extends IStorage {
public function file_put_contents($path, $data); public function file_put_contents($path, $data);
/** /**
* see http://php.net/manual/en/function.unlink.php * see https://www.php.net/manual/en/function.unlink.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -246,7 +246,7 @@ interface Storage extends IStorage {
public function unlink($path); public function unlink($path);
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -256,7 +256,7 @@ interface Storage extends IStorage {
public function rename($path1, $path2); public function rename($path1, $path2);
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -266,7 +266,7 @@ interface Storage extends IStorage {
public function copy($path1, $path2); public function copy($path1, $path2);
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode
@ -286,7 +286,7 @@ interface Storage extends IStorage {
public function getMimeType($path); public function getMimeType($path);
/** /**
* see http://php.net/manual/en/function.hash-file.php * see https://www.php.net/manual/en/function.hash-file.php
* *
* @param string $type * @param string $type
* @param string $path * @param string $path
@ -297,7 +297,7 @@ interface Storage extends IStorage {
public function hash($type, $path, $raw = false); public function hash($type, $path, $raw = false);
/** /**
* see http://php.net/manual/en/function.free_space.php * see https://www.php.net/manual/en/function.free_space.php
* *
* @param string $path * @param string $path
* @return int|false * @return int|false
@ -315,7 +315,7 @@ interface Storage extends IStorage {
public function search($query); public function search($query);
/** /**
* see http://php.net/manual/en/function.touch.php * see https://www.php.net/manual/en/function.touch.php
* If the backend does not support the operation, false should be returned * If the backend does not support the operation, false should be returned
* *
* @param string $path * @param string $path

View File

@ -66,7 +66,7 @@ interface IStorage {
public function getId(); public function getId();
/** /**
* see http://php.net/manual/en/function.mkdir.php * see https://www.php.net/manual/en/function.mkdir.php
* implementations need to implement a recursive mkdir * implementations need to implement a recursive mkdir
* *
* @param string $path * @param string $path
@ -76,7 +76,7 @@ interface IStorage {
public function mkdir($path); public function mkdir($path);
/** /**
* see http://php.net/manual/en/function.rmdir.php * see https://www.php.net/manual/en/function.rmdir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -85,7 +85,7 @@ interface IStorage {
public function rmdir($path); public function rmdir($path);
/** /**
* see http://php.net/manual/en/function.opendir.php * see https://www.php.net/manual/en/function.opendir.php
* *
* @param string $path * @param string $path
* @return resource|false * @return resource|false
@ -94,7 +94,7 @@ interface IStorage {
public function opendir($path); public function opendir($path);
/** /**
* see http://php.net/manual/en/function.is-dir.php * see https://www.php.net/manual/en/function.is-dir.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -103,7 +103,7 @@ interface IStorage {
public function is_dir($path); public function is_dir($path);
/** /**
* see http://php.net/manual/en/function.is-file.php * see https://www.php.net/manual/en/function.is-file.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -112,7 +112,7 @@ interface IStorage {
public function is_file($path); public function is_file($path);
/** /**
* see http://php.net/manual/en/function.stat.php * see https://www.php.net/manual/en/function.stat.php
* only the following keys are required in the result: size and mtime * only the following keys are required in the result: size and mtime
* *
* @param string $path * @param string $path
@ -122,7 +122,7 @@ interface IStorage {
public function stat($path); public function stat($path);
/** /**
* see http://php.net/manual/en/function.filetype.php * see https://www.php.net/manual/en/function.filetype.php
* *
* @param string $path * @param string $path
* @return string|false * @return string|false
@ -131,7 +131,7 @@ interface IStorage {
public function filetype($path); public function filetype($path);
/** /**
* see http://php.net/manual/en/function.filesize.php * see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0 * The result for filesize when called on a folder is required to be 0
* *
* @param string $path * @param string $path
@ -196,7 +196,7 @@ interface IStorage {
public function getPermissions($path); public function getPermissions($path);
/** /**
* see http://php.net/manual/en/function.file_exists.php * see https://www.php.net/manual/en/function.file_exists.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -205,7 +205,7 @@ interface IStorage {
public function file_exists($path); public function file_exists($path);
/** /**
* see http://php.net/manual/en/function.filemtime.php * see https://www.php.net/manual/en/function.filemtime.php
* *
* @param string $path * @param string $path
* @return int|false * @return int|false
@ -214,7 +214,7 @@ interface IStorage {
public function filemtime($path); public function filemtime($path);
/** /**
* see http://php.net/manual/en/function.file_get_contents.php * see https://www.php.net/manual/en/function.file_get_contents.php
* *
* @param string $path * @param string $path
* @return string|false * @return string|false
@ -223,7 +223,7 @@ interface IStorage {
public function file_get_contents($path); public function file_get_contents($path);
/** /**
* see http://php.net/manual/en/function.file_put_contents.php * see https://www.php.net/manual/en/function.file_put_contents.php
* *
* @param string $path * @param string $path
* @param mixed $data * @param mixed $data
@ -233,7 +233,7 @@ interface IStorage {
public function file_put_contents($path, $data); public function file_put_contents($path, $data);
/** /**
* see http://php.net/manual/en/function.unlink.php * see https://www.php.net/manual/en/function.unlink.php
* *
* @param string $path * @param string $path
* @return bool * @return bool
@ -242,7 +242,7 @@ interface IStorage {
public function unlink($path); public function unlink($path);
/** /**
* see http://php.net/manual/en/function.rename.php * see https://www.php.net/manual/en/function.rename.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -252,7 +252,7 @@ interface IStorage {
public function rename($path1, $path2); public function rename($path1, $path2);
/** /**
* see http://php.net/manual/en/function.copy.php * see https://www.php.net/manual/en/function.copy.php
* *
* @param string $path1 * @param string $path1
* @param string $path2 * @param string $path2
@ -262,7 +262,7 @@ interface IStorage {
public function copy($path1, $path2); public function copy($path1, $path2);
/** /**
* see http://php.net/manual/en/function.fopen.php * see https://www.php.net/manual/en/function.fopen.php
* *
* @param string $path * @param string $path
* @param string $mode * @param string $mode
@ -282,7 +282,7 @@ interface IStorage {
public function getMimeType($path); public function getMimeType($path);
/** /**
* see http://php.net/manual/en/function.hash-file.php * see https://www.php.net/manual/en/function.hash-file.php
* *
* @param string $type * @param string $type
* @param string $path * @param string $path
@ -293,7 +293,7 @@ interface IStorage {
public function hash($type, $path, $raw = false); public function hash($type, $path, $raw = false);
/** /**
* see http://php.net/manual/en/function.free_space.php * see https://www.php.net/manual/en/function.free_space.php
* *
* @param string $path * @param string $path
* @return int|false * @return int|false
@ -302,7 +302,7 @@ interface IStorage {
public function free_space($path); public function free_space($path);
/** /**
* see http://php.net/manual/en/function.touch.php * see https://www.php.net/manual/en/function.touch.php
* If the backend does not support the operation, false should be returned * If the backend does not support the operation, false should be returned
* *
* @param string $path * @param string $path

View File

@ -316,7 +316,7 @@ class Util {
* @param string $str file size in a fancy format * @param string $str file size in a fancy format
* @return float a file size in bytes * @return float a file size in bytes
* *
* Inspired by: http://www.php.net/manual/en/function.filesize.php#92418 * Inspired by: https://www.php.net/manual/en/function.filesize.php#92418
* @since 4.0.0 * @since 4.0.0
*/ */
public static function computerFileSize($str) { public static function computerFileSize($str) {