Commit 32cc90b3 authored by larowlan's avatar larowlan

Issue #2933424 by David_Rothstein, harsha012, jhodgdon, vaplas:...

Issue #2933424 by David_Rothstein, harsha012, jhodgdon, vaplas: English-specific links to php.net shouldn't be used in non-translatable strings
parent b66af73c
......@@ -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.
......
......@@ -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();
}
......
......@@ -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
......
......@@ -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, [
......
......@@ -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
......
......@@ -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;
......
......@@ -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();
}
......
......@@ -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',
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment