diff --git a/core/core.api.php b/core/core.api.php index 0be1870b177e45b050d51910cca0ed3b98cd5f91..3b0765104ba5c45f5858e5238a0427826e7040c5 100644 --- a/core/core.api.php +++ b/core/core.api.php @@ -1584,7 +1584,7 @@ * Introduction to namespaces * * PHP classes, interfaces, and traits in Drupal are - * @link http://php.net/manual/en/language.namespaces.rationale.php namespaced. @endlink + * @link http://php.net/manual/language.namespaces.rationale.php namespaced. @endlink * See the * @link oo_conventions Objected-oriented programming conventions @endlink * for more information. diff --git a/core/install.php b/core/install.php index 6bdd6f8c3156e3327b49b96354dd5f363a2c27f3..c88ffeedaacd938eafffc1b47c0d7d6bae163c9e 100644 --- a/core/install.php +++ b/core/install.php @@ -35,7 +35,7 @@ // If OPCache is in use, ensure opcache.save_comments is enabled. if (OpCodeCache::isEnabled() && !ini_get('opcache.save_comments')) { - print 'Systems with OPcache installed must have <a href="http://php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments">opcache.save_comments</a> enabled.'; + print 'Systems with OPcache installed must have <a href="http://php.net/manual/opcache.configuration.php#ini.opcache.save-comments">opcache.save_comments</a> enabled.'; exit(); } diff --git a/core/lib/Drupal/Component/Datetime/DateTimePlus.php b/core/lib/Drupal/Component/Datetime/DateTimePlus.php index d0e4faf1268130c3966a0fee836acc2a287ee6d4..11611686728ba198e1c82cd16e4ff6891ea37bd6 100644 --- a/core/lib/Drupal/Component/Datetime/DateTimePlus.php +++ b/core/lib/Drupal/Component/Datetime/DateTimePlus.php @@ -280,7 +280,7 @@ public static function createFromFormat($format, $time, $timezone = NULL, $setti * parameter and the current timezone are ignored when the $time parameter * either is a UNIX timestamp (e.g. @946684800) or specifies a timezone * (e.g. 2010-01-28T15:00:00+02:00). - * @see http://php.net/manual/en/datetime.construct.php + * @see http://php.net/manual/datetime.construct.php * @param array $settings * (optional) Keyed array of settings. Defaults to empty array. * - langcode: (optional) String two letter language code used to control diff --git a/core/lib/Drupal/Component/Serialization/YamlPecl.php b/core/lib/Drupal/Component/Serialization/YamlPecl.php index a01f980fd78fc212d856ed769bc986e5dd45adef..8200f49ff03e71b1da1742666188308dfb0da262 100644 --- a/core/lib/Drupal/Component/Serialization/YamlPecl.php +++ b/core/lib/Drupal/Component/Serialization/YamlPecl.php @@ -47,7 +47,7 @@ public static function decode($raw) { // and then restore it after decoding has occurred. This allows us to turn // parsing errors into a throwable exception. // @see Drupal\Component\Serialization\Exception\InvalidDataTypeException - // @see http://php.net/manual/en/class.errorexception.php + // @see http://php.net/manual/class.errorexception.php set_error_handler([__CLASS__, 'errorHandler']); $ndocs = 0; $data = yaml_parse($raw, 0, $ndocs, [ diff --git a/core/lib/Drupal/Core/Datetime/DrupalDateTime.php b/core/lib/Drupal/Core/Datetime/DrupalDateTime.php index bb7b821bc30d05c3be2a6c99061781f44182a1d8..f921b45b464ff58b8c1d0bec3094e2b43730814a 100644 --- a/core/lib/Drupal/Core/Datetime/DrupalDateTime.php +++ b/core/lib/Drupal/Core/Datetime/DrupalDateTime.php @@ -38,7 +38,7 @@ class DrupalDateTime extends DateTimePlus { * timezone are ignored when the $time parameter either is a UNIX timestamp * (e.g. @946684800) or specifies a timezone * (e.g. 2010-01-28T15:00:00+02:00). - * @see http://php.net/manual/en/datetime.construct.php + * @see http://php.net/manual/datetime.construct.php * @param array $settings * - validate_format: (optional) Boolean choice to validate the * created date using the input format. The format used in diff --git a/core/lib/Drupal/Core/Test/TestStatus.php b/core/lib/Drupal/Core/Test/TestStatus.php index b70dcdd1d8ad33fbc45ddd572898a15d4adaaef9..79459e4eb06f0b716e0c4746d5c8de384f7c333c 100644 --- a/core/lib/Drupal/Core/Test/TestStatus.php +++ b/core/lib/Drupal/Core/Test/TestStatus.php @@ -35,7 +35,7 @@ class TestStatus { * the returned value could be as high as 127. Since that's the case, this * constant should be used for range comparisons, and not just for equality. * - * @see http://php.net/manual/en/pcntl.constants.php + * @see http://php.net/manual/pcntl.constants.php */ const SYSTEM = 3; diff --git a/core/modules/datetime/src/DateTimeComputed.php b/core/modules/datetime/src/DateTimeComputed.php index 73fb11786270e517b9ae90f06d616b4aaff05475..16f664be5283df95400a25b1abb87c7932b19f0f 100644 --- a/core/modules/datetime/src/DateTimeComputed.php +++ b/core/modules/datetime/src/DateTimeComputed.php @@ -58,7 +58,7 @@ public function getValue() { // that the local date portion is the same, across nearly all time // zones. // @see \Drupal\Component\Datetime\DateTimePlus::setDefaultDateTime() - // @see http://php.net/manual/en/datetime.createfromformat.php + // @see http://php.net/manual/datetime.createfromformat.php if ($datetime_type === DateTimeItem::DATETIME_TYPE_DATE) { $this->date->setDefaultDateTime(); } diff --git a/core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php b/core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php index 78f6030e57106772632a5fc7f5eef0ffefa4bdcc..1ad0d8e66be785995364322d8559abbc42b99ac8 100644 --- a/core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php +++ b/core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php @@ -20,7 +20,7 @@ trait TimeStampItemNormalizerTrait { * * @var string[] * - * @see http://php.net/manual/en/datetime.createfromformat.php + * @see http://php.net/manual/datetime.createfromformat.php */ protected $allowedFormats = [ 'UNIX timestamp' => 'U', diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh old mode 100755 new mode 100644 index 407d87a34f6c665952d74a91ad21f3273e391fa6..ae33bb5410f7363f9587b9b37dda0d26e973a1a0 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -1424,7 +1424,7 @@ function simpletest_script_color_code($status) { * string in $array would be identical to $string by changing 1/4 or fewer of * its characters. * - * @see http://php.net/manual/en/function.levenshtein.php + * @see http://php.net/manual/function.levenshtein.php */ function simpletest_script_print_alternatives($string, $array, $degree = 4) { $alternatives = array();