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

Unify links to php.net
pull/24819/head
Roeland Jago Douma 4 years ago committed by GitHub
commit adc4f1a811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/files/lib/Command/Scan.php
  2. 2
      apps/files/lib/Command/ScanAppData.php
  3. 2
      apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php
  4. 2
      apps/files_sharing/lib/SharedStorage.php
  5. 2
      apps/settings/lib/Controller/CheckSetupController.php
  6. 2
      apps/settings/templates/settings/admin/server.php
  7. 2
      apps/user_ldap/lib/Access.php
  8. 2
      apps/user_ldap/lib/ILDAPWrapper.php
  9. 2
      apps/user_ldap/lib/LDAP.php
  10. 32
      build/stubs/gd.php
  11. 2
      build/stubs/imagick.php
  12. 626
      build/stubs/intl.php
  13. 2
      build/stubs/memcached.php
  14. 10
      config/config.sample.php
  15. 4
      console.php
  16. 2
      cron.php
  17. 2
      lib/private/AppFramework/Http/Request.php
  18. 2
      lib/private/DB/QueryBuilder/QueryBuilder.php
  19. 38
      lib/private/Files/Storage/Wrapper/Encoding.php
  20. 20
      lib/private/Files/Storage/Wrapper/Encryption.php
  21. 38
      lib/private/Files/Storage/Wrapper/Jail.php
  22. 6
      lib/private/Files/Storage/Wrapper/Quota.php
  23. 38
      lib/private/Files/Storage/Wrapper/Wrapper.php
  24. 2
      lib/private/Preview/HEIC.php
  25. 2
      lib/private/Share/SearchResultSorter.php
  26. 6
      lib/private/legacy/OC_Helper.php
  27. 2
      lib/private/legacy/OC_Image.php
  28. 2
      lib/public/DB/QueryBuilder/IQueryBuilder.php
  29. 38
      lib/public/Files/Storage.php
  30. 38
      lib/public/Files/Storage/IStorage.php
  31. 2
      lib/public/Util.php

@ -236,7 +236,7 @@ class Scan extends Base {
/**
* 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 string $message

@ -183,7 +183,7 @@ class ScanAppData extends Base {
/**
* 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 string $message

@ -119,7 +119,7 @@ class NativeShare extends AbstractShare {
* Multibyte unicode safe version of basename()
*
* @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
*/
protected static function mb_basename($path) {

@ -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 $path2

@ -285,7 +285,7 @@ class CheckSetupController extends Controller {
/**
* 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
*/

@ -103,7 +103,7 @@
} else {
print_unescaped(str_replace(
['{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.')
));
} ?></em>

@ -1781,7 +1781,7 @@ class Access extends LDAPUtility {
*
* @param string $oguid the ObjectGUID in it's binary form as retrieved from AD
* @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) {
$hex_guid = bin2hex($oguid);

@ -100,7 +100,7 @@ interface ILDAPWrapper {
* @param string $dn
* @param int @withAttrib
* @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);

@ -148,7 +148,7 @@ class LDAP implements ILDAPWrapper {
* @param string $dn
* @param int @withAttrib
* @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) {
return $this->invokeLDAPMethod('explode_dn', $dn, $withAttrib);

@ -2805,9 +2805,9 @@ define('IMG_TGA', 128);
/**
* 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,
* 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 $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.
@ -2816,7 +2816,7 @@ function imageaffine($image, $affine, $clip = null) {}
/**
* 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 $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.
@ -2826,7 +2826,7 @@ function imageaffinematrixconcat(array $m1, array $m2) {}
/**
* 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 mixed $options [optional]
* @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
* @link https://secure.php.net/manual/en/function.imagecrop.php
* @link https://www.php.net/manual/en/function.imagecrop.php
* @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>
* @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.
@ -2849,9 +2849,9 @@ function imagecrop ($image, $rect) {}
/**
* 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>
* 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>
* @param int $mode [optional] <p>
* 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
* @link https://secure.php.net/manual/en/function.imageflip.php
* @link https://www.php.net/manual/en/function.imageflip.php
* @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>
* @param int $mode <p>
* 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
* @link https://secure.php.net/manual/en/function.imagepalettetotruecolor.php
* @link https://www.php.net/manual/en/function.imagepalettetotruecolor.php
* @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>
* @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
@ -2923,9 +2923,9 @@ function imagepalettetotruecolor ($image) {}
/**
* @since 5.5
* 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>
* 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>
* @param int $new_width
* @param int $new_height [optional]
@ -2937,9 +2937,9 @@ function imagescale ($image, $new_width, $new_height = -1, $mode = IMG_BILINEAR_
/**
* 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>
* 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>
* @param int $method <p>
* The interpolation method, which can be one of the following:

@ -1944,7 +1944,7 @@ class Imagick implements Iterator, Countable {
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.
*/
public function getImageMimeType () {}

File diff suppressed because it is too large Load Diff

@ -1436,7 +1436,7 @@ class Memcached {
/**
* (PECL memcached &gt;= 2.0.0)<br/>
* 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>
* The username to use for authentication.
* </p>

@ -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
* (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',
/**
* 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``
*/
@ -1246,8 +1246,8 @@ $CONFIG = [
*/
'memcached_servers' => [
// hostname, port and optional weight. Also see:
// http://www.php.net/manual/en/memcached.addservers.php
// http://www.php.net/manual/en/memcached.addserver.php
// https://www.php.net/manual/en/memcached.addservers.php
// https://www.php.net/manual/en/memcached.addserver.php
['localhost', 11211],
//array('other.host.local', 11211),
],

@ -60,7 +60,7 @@ try {
set_exception_handler('exceptionHandler');
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);
}
$user = posix_getuid();
@ -85,7 +85,7 @@ try {
}
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(

@ -90,7 +90,7 @@ try {
// the cron job must be executed with the right user
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);
}

@ -134,7 +134,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
* @param IConfig $config
* @param CsrfTokenManager|null $csrfTokenManager
* @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,
ISecureRandom $secureRandom,

@ -1091,7 +1091,7 @@ class QueryBuilder implements IQueryBuilder {
* placeholder for you. An automatic placeholder will be of the name
* ':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:
* <code>

@ -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
* @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
* @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
* @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
* @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
* @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
*
* @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
* @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
*
* @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
* @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
* @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
* @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 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
* @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 $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 $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 $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 $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
* @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
*
* @param string $path

@ -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
*
* @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
* @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 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
* @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 $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
* @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 $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 $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
*
* @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 $path

@ -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
* @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
* @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
* @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
* @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
* @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
*
* @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
* @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
*
* @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
* @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
* @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
* @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 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
* @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 $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 $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 $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 $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
* @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
*
* @param string $path

@ -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 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 $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 $mode

@ -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
* @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
* @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
* @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
* @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
* @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
*
* @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
* @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
*
* @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
* @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
* @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
* @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 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
* @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 $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 $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 $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 $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
* @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
*
* @param string $path

@ -133,7 +133,7 @@ class HEIC extends ProviderV2 {
// A bigger image calls for some better resizing algorithm
// According to http://www.imagemagick.org/Usage/filter/#lanczos
// 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
$bp->resizeImage($maxX, $maxY, \Imagick::FILTER_CATROM, 1, true);
}

@ -51,7 +51,7 @@ class SearchResultSorter {
/**
* User and Group names matching the search term at the beginning shall appear
* 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) {
if (!isset($a[$this->key]) || !isset($b[$this->key])) {

@ -94,7 +94,7 @@ class OC_Helper {
*
* 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) {
$str = strtolower($str);
@ -340,7 +340,7 @@ class OC_Helper {
* @return array
*
* 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') {
@ -361,7 +361,7 @@ class OC_Helper {
*
* 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) {
$aIt = new RecursiveArrayIterator($haystack);

@ -1288,7 +1288,7 @@ if (!function_exists('exif_imagetype')) {
/**
* 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
* @return string|boolean
*/

@ -785,7 +785,7 @@ interface IQueryBuilder {
* placeholder for you. An automatic placeholder will be of the name
* ':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:
* <code>

@ -70,7 +70,7 @@ interface Storage extends IStorage {
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
*
* @param string $path
@ -80,7 +80,7 @@ interface Storage extends IStorage {
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
* @return bool
@ -89,7 +89,7 @@ interface Storage extends IStorage {
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
* @return resource|false
@ -98,7 +98,7 @@ interface Storage extends IStorage {
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
* @return bool
@ -107,7 +107,7 @@ interface Storage extends IStorage {
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
* @return bool
@ -116,7 +116,7 @@ interface Storage extends IStorage {
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
*
* @param string $path
@ -126,7 +126,7 @@ interface Storage extends IStorage {
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
* @return string|false
@ -135,7 +135,7 @@ interface Storage extends IStorage {
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
*
* @param string $path
@ -200,7 +200,7 @@ interface Storage extends IStorage {
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
* @return bool
@ -209,7 +209,7 @@ interface Storage extends IStorage {
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
* @return int|false
@ -218,7 +218,7 @@ interface Storage extends IStorage {
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
* @return string|false
@ -227,7 +227,7 @@ interface Storage extends IStorage {
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 mixed $data
@ -237,7 +237,7 @@ interface Storage extends IStorage {
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
* @return bool
@ -246,7 +246,7 @@ interface Storage extends IStorage {
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 $path2
@ -256,7 +256,7 @@ interface Storage extends IStorage {
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 $path2
@ -266,7 +266,7 @@ interface Storage extends IStorage {
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 $mode
@ -286,7 +286,7 @@ interface Storage extends IStorage {
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 $path
@ -297,7 +297,7 @@ interface Storage extends IStorage {
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
* @return int|false
@ -315,7 +315,7 @@ interface Storage extends IStorage {
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
*
* @param string $path

@ -66,7 +66,7 @@ interface IStorage {
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
*
* @param string $path
@ -76,7 +76,7 @@ interface IStorage {
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
* @return bool
@ -85,7 +85,7 @@ interface IStorage {
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
* @return resource|false
@ -94,7 +94,7 @@ interface IStorage {
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
* @return bool
@ -103,7 +103,7 @@ interface IStorage {
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
* @return bool
@ -112,7 +112,7 @@ interface IStorage {
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
*
* @param string $path
@ -122,7 +122,7 @@ interface IStorage {
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
* @return string|false
@ -131,7 +131,7 @@ interface IStorage {
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
*
* @param string $path
@ -196,7 +196,7 @@ interface IStorage {
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
* @return bool
@ -205,7 +205,7 @@ interface IStorage {
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
* @return int|false
@ -214,7 +214,7 @@ interface IStorage {
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
* @return string|false
@ -223,7 +223,7 @@ interface IStorage {
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 mixed $data
@ -233,7 +233,7 @@ interface IStorage {
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
* @return bool
@ -242,7 +242,7 @@ interface IStorage {
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 $path2
@ -252,7 +252,7 @@ interface IStorage {
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 $path2
@ -262,7 +262,7 @@ interface IStorage {
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 $mode
@ -282,7 +282,7 @@ interface IStorage {
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 $path
@ -293,7 +293,7 @@ interface IStorage {
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
* @return int|false
@ -302,7 +302,7 @@ interface IStorage {
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
*
* @param string $path

@ -316,7 +316,7 @@ class Util {
* @param string $str file size in a fancy format
* @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
*/
public static function computerFileSize($str) {

Loading…
Cancel
Save