Skip to content

Commit

Permalink
Merge pull request #22916 from J0WI/unifiy-links-to-php.net
Browse files Browse the repository at this point in the history
Unify links to php.net
  • Loading branch information
rullzer committed Dec 22, 2020
2 parents 72fda10 + 68ce17e commit adc4f1a
Show file tree
Hide file tree
Showing 31 changed files with 466 additions and 466 deletions.
2 changes: 1 addition & 1 deletion apps/files/lib/Command/Scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected function initTools() {
/**
* 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
Expand Down
2 changes: 1 addition & 1 deletion apps/files/lib/Command/ScanAppData.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ protected function initTools() {
/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function stat($path) {
* 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) {
Expand Down
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/SharedStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function fopen($path, $mode) {
}

/**
* 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
Expand Down
2 changes: 1 addition & 1 deletion apps/settings/lib/Controller/CheckSetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ protected function isPhpOutdated(): bool {

/**
* 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
*/
Expand Down
2 changes: 1 addition & 1 deletion apps/settings/templates/settings/admin/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ public function getUUID($dn, $isUser = true, $ldapRecord = null) {
*
* @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);
Expand Down
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/ILDAPWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function error($link);
* @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);

Expand Down
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function error($link) {
* @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);
Expand Down
32 changes: 16 additions & 16 deletions build/stubs/gd.php
Original file line number Diff line number Diff line change
Expand Up @@ -2805,9 +2805,9 @@ function imagegrabwindow($handle, $client_area = null) {}

/**
* 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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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]
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion build/stubs/imagick.php
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ public function setImageFilename ($filename) {}
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 () {}
Expand Down
Loading

0 comments on commit adc4f1a

Please sign in to comment.