on supported formats.
If this is not set, it will take the value of `Yii::$app->formatter->dateFormat`.
See the [[yii\validators\DateValidator::$format|API documentation]] for more details.
@@ -424,8 +424,8 @@ back to the attribute being validated.
> Tip: If you want to trim input values, you may directly use the [trim](#trim) validator.
> Tip: There are many PHP functions that have the signature expected for the `filter` callback.
-> For example to apply type casting (using e.g. [intval](https://secure.php.net/manual/en/function.intval.php),
-> [boolval](https://secure.php.net/manual/en/function.boolval.php), ...) to ensure a specific type for an attribute,
+> For example to apply type casting (using e.g. [intval](https://www.php.net/manual/en/function.intval.php),
+> [boolval](https://www.php.net/manual/en/function.boolval.php), ...) to ensure a specific type for an attribute,
> you can simply specify the function names of the filter without the need to wrap them in a closure:
>
> ```php
diff --git a/docs/guide/tutorial-i18n.md b/docs/guide/tutorial-i18n.md
index 75cbb7e..2123f57 100644
--- a/docs/guide/tutorial-i18n.md
+++ b/docs/guide/tutorial-i18n.md
@@ -231,7 +231,7 @@ $price = 100;
echo \Yii::t('app', 'Price: {0,number,currency}', $price);
```
-> Note: Parameter formatting requires the installation of the [intl PHP extension](https://secure.php.net/manual/en/intro.intl.php).
+> Note: Parameter formatting requires the installation of the [intl PHP extension](https://www.php.net/manual/en/intro.intl.php).
You can use either the short form or the full form to specify a placeholder with formatting:
@@ -738,12 +738,12 @@ See the [Data Formatting](output-formatting.md) section for details.
## Setting Up PHP Environment
-Yii uses the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) to provide most of its I18N features,
+Yii uses the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) to provide most of its I18N features,
such as the date and number formatting of the [[yii\i18n\Formatter]] class and the message formatting using [[yii\i18n\MessageFormatter]].
Both classes provide a fallback mechanism when the `intl` extension is not installed. However, the fallback implementation
only works well for English target language. So it is highly recommended that you install `intl` when I18N is needed.
-The [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is based on the [ICU library](http://site.icu-project.org/) which
+The [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is based on the [ICU library](http://site.icu-project.org/) which
provides the knowledge and formatting rules for all different locales. Different versions of ICU may produce different
formatting result of date and number values. To ensure your website produces the same results across all environments,
it is recommended that you install the same version of the `intl` extension (and thus the same version of ICU)
diff --git a/docs/guide/tutorial-performance-tuning.md b/docs/guide/tutorial-performance-tuning.md
index d9edb3d..9578948 100644
--- a/docs/guide/tutorial-performance-tuning.md
+++ b/docs/guide/tutorial-performance-tuning.md
@@ -11,7 +11,7 @@ factors and explain how you can improve your application performance by adjustin
A well configured PHP environment is very important. In order to get maximum performance,
- Use the latest stable PHP version. Major releases of PHP may bring significant performance improvements.
-- Enable bytecode caching with [Opcache](https://secure.php.net/opcache) (PHP 5.5 or later) or [APC](https://secure.php.net/apc)
+- Enable bytecode caching with [Opcache](https://www.php.net/opcache) (PHP 5.5 or later) or [APC](https://www.php.net/apc)
(PHP 5.4). Bytecode caching avoids the time spent in parsing and including PHP scripts for every
incoming request.
- [Tune `realpath()` cache](https://github.com/samdark/realpath_cache_tuner).
@@ -217,7 +217,7 @@ The following profiling tools may be useful:
- [Yii debug toolbar and debugger](https://github.com/yiisoft/yii2-debug/blob/master/docs/guide/README.md)
- [Blackfire](https://blackfire.io/)
-- [XHProf](https://secure.php.net/manual/en/book.xhprof.php)
+- [XHProf](https://www.php.net/manual/en/book.xhprof.php)
- [XDebug profiler](http://xdebug.org/docs/profiler)
## Prepare application for scaling
diff --git a/framework/BaseYii.php b/framework/BaseYii.php
index 3230dc3..002b0f6 100644
--- a/framework/BaseYii.php
+++ b/framework/BaseYii.php
@@ -522,7 +522,7 @@ class BaseYii
* echo \Yii::t('app', 'Hello, {username}!', ['username' => $username]);
* ```
*
- * Further formatting of message parameters is supported using the [PHP intl extensions](https://secure.php.net/manual/en/intro.intl.php)
+ * Further formatting of message parameters is supported using the [PHP intl extensions](https://www.php.net/manual/en/intro.intl.php)
* message formatter. See [[\yii\i18n\I18N::translate()]] for more details.
*
* @param string $category the message category.
diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md
index 1a6a94b..8a9a20a 100644
--- a/framework/UPGRADE.md
+++ b/framework/UPGRADE.md
@@ -850,7 +850,7 @@ Upgrade from Yii 2.0 Beta
You can add it with `ALTER TABLE log ADD COLUMN prefix TEXT AFTER log_time;`.
* The `fileinfo` PHP extension is now required by Yii. If you use `yii\helpers\FileHelper::getMimeType()`, make sure
- you have enabled this extension. This extension is [builtin](https://secure.php.net/manual/en/fileinfo.installation.php) in php above `5.3`.
+ you have enabled this extension. This extension is [builtin](https://www.php.net/manual/en/fileinfo.installation.php) in php above `5.3`.
* Please update your main layout file by adding this line in the `` section: `= Html::csrfMetaTags() ?>`.
This change is needed because `yii\web\View` no longer automatically generates CSRF meta tags due to issue #3358.
diff --git a/framework/base/Application.php b/framework/base/Application.php
index 94f4be1..61268f5 100644
--- a/framework/base/Application.php
+++ b/framework/base/Application.php
@@ -477,7 +477,7 @@ abstract class Application extends Module
* If time zone is not configured in php.ini or application config,
* it will be set to UTC by default.
* @return string the time zone used by this application.
- * @see https://secure.php.net/manual/en/function.date-default-timezone-get.php
+ * @see https://www.php.net/manual/en/function.date-default-timezone-get.php
*/
public function getTimeZone()
{
@@ -487,9 +487,9 @@ abstract class Application extends Module
/**
* Sets the time zone used by this application.
* This is a simple wrapper of PHP function date_default_timezone_set().
- * Refer to the [php manual](https://secure.php.net/manual/en/timezones.php) for available timezones.
+ * Refer to the [php manual](https://www.php.net/manual/en/timezones.php) for available timezones.
* @param string $value the time zone used by this application.
- * @see https://secure.php.net/manual/en/function.date-default-timezone-set.php
+ * @see https://www.php.net/manual/en/function.date-default-timezone-set.php
*/
public function setTimeZone($value)
{
diff --git a/framework/base/BaseObject.php b/framework/base/BaseObject.php
index acb50ad..e5d4e10 100644
--- a/framework/base/BaseObject.php
+++ b/framework/base/BaseObject.php
@@ -173,7 +173,7 @@ class BaseObject implements Configurable
* Note that if the property is not defined, false will be returned.
* @param string $name the property name or the event name
* @return bool whether the named property is set (not null).
- * @see https://secure.php.net/manual/en/function.isset.php
+ * @see https://www.php.net/manual/en/function.isset.php
*/
public function __isset($name)
{
@@ -195,7 +195,7 @@ class BaseObject implements Configurable
* If the property is read-only, it will throw an exception.
* @param string $name the property name
* @throws InvalidCallException if the property is read only.
- * @see https://secure.php.net/manual/en/function.unset.php
+ * @see https://www.php.net/manual/en/function.unset.php
*/
public function __unset($name)
{
diff --git a/framework/base/Component.php b/framework/base/Component.php
index 47e872b..32f714c 100644
--- a/framework/base/Component.php
+++ b/framework/base/Component.php
@@ -223,7 +223,7 @@ class Component extends BaseObject
* will be implicitly called when executing `isset($component->property)`.
* @param string $name the property name or the event name
* @return bool whether the named property is set
- * @see https://secure.php.net/manual/en/function.isset.php
+ * @see https://www.php.net/manual/en/function.isset.php
*/
public function __isset($name)
{
@@ -255,7 +255,7 @@ class Component extends BaseObject
* will be implicitly called when executing `unset($component->property)`.
* @param string $name the property name
* @throws InvalidCallException if the property is read only.
- * @see https://secure.php.net/manual/en/function.unset.php
+ * @see https://www.php.net/manual/en/function.unset.php
*/
public function __unset($name)
{
diff --git a/framework/base/ErrorException.php b/framework/base/ErrorException.php
index 03b662f..657b8e3 100644
--- a/framework/base/ErrorException.php
+++ b/framework/base/ErrorException.php
@@ -32,7 +32,7 @@ class ErrorException extends \ErrorException
/**
* Constructs the exception.
- * @link https://secure.php.net/manual/en/errorexception.construct.php
+ * @link https://www.php.net/manual/en/errorexception.construct.php
* @param string $message [optional]
* @param int $code [optional]
* @param int $severity [optional]
diff --git a/framework/base/Security.php b/framework/base/Security.php
index 49972d1..6276bf5 100644
--- a/framework/base/Security.php
+++ b/framework/base/Security.php
@@ -55,12 +55,12 @@ class Security extends Component
];
/**
* @var string Hash algorithm for key derivation. Recommend sha256, sha384 or sha512.
- * @see [hash_algos()](https://secure.php.net/manual/en/function.hash-algos.php)
+ * @see [hash_algos()](https://www.php.net/manual/en/function.hash-algos.php)
*/
public $kdfHash = 'sha256';
/**
* @var string Hash algorithm for message authentication. Recommend sha256, sha384 or sha512.
- * @see [hash_algos()](https://secure.php.net/manual/en/function.hash-algos.php)
+ * @see [hash_algos()](https://www.php.net/manual/en/function.hash-algos.php)
*/
public $macHash = 'sha256';
/**
@@ -537,7 +537,7 @@ class Security extends Component
* compute the hash doubles for every increment by one of $cost.
* @return string The password hash string. When [[passwordHashStrategy]] is set to 'crypt',
* the output is always 60 ASCII characters, when set to 'password_hash' the output length
- * might increase in future versions of PHP (https://secure.php.net/manual/en/function.password-hash.php)
+ * might increase in future versions of PHP (https://www.php.net/manual/en/function.password-hash.php)
* @throws Exception on bad password parameter or cost parameter.
* @see validatePassword()
*/
@@ -599,7 +599,7 @@ class Security extends Component
/**
* Generates a salt that can be used to generate a password hash.
*
- * The PHP [crypt()](https://secure.php.net/manual/en/function.crypt.php) built-in function
+ * The PHP [crypt()](https://www.php.net/manual/en/function.crypt.php) built-in function
* requires, for the Blowfish hash algorithm, a salt string in a specific format:
* "$2a$", "$2x$" or "$2y$", a two digit cost parameter, "$", and 22 characters
* from the alphabet "./0-9A-Za-z".
diff --git a/framework/behaviors/TimestampBehavior.php b/framework/behaviors/TimestampBehavior.php
index 4b4f54c..7f79fe3 100644
--- a/framework/behaviors/TimestampBehavior.php
+++ b/framework/behaviors/TimestampBehavior.php
@@ -84,7 +84,7 @@ class TimestampBehavior extends AttributeBehavior
/**
* {@inheritdoc}
*
- * In case, when the value is `null`, the result of the PHP function [time()](https://secure.php.net/manual/en/function.time.php)
+ * In case, when the value is `null`, the result of the PHP function [time()](https://www.php.net/manual/en/function.time.php)
* will be used as value.
*/
public $value;
@@ -108,7 +108,7 @@ class TimestampBehavior extends AttributeBehavior
/**
* {@inheritdoc}
*
- * In case, when the [[value]] is `null`, the result of the PHP function [time()](https://secure.php.net/manual/en/function.time.php)
+ * In case, when the [[value]] is `null`, the result of the PHP function [time()](https://www.php.net/manual/en/function.time.php)
* will be used as value.
*/
protected function getValue($event)
diff --git a/framework/caching/ApcCache.php b/framework/caching/ApcCache.php
index 50e893c..32b74eb 100644
--- a/framework/caching/ApcCache.php
+++ b/framework/caching/ApcCache.php
@@ -12,8 +12,8 @@ use yii\base\InvalidConfigException;
/**
* ApcCache provides APC caching in terms of an application component.
*
- * To use this application component, the [APC PHP extension](https://secure.php.net/apc) must be loaded.
- * Alternatively [APCu PHP extension](https://secure.php.net/apcu) could be used via setting `useApcu` to `true`.
+ * To use this application component, the [APC PHP extension](https://www.php.net/apc) must be loaded.
+ * Alternatively [APCu PHP extension](https://www.php.net/apcu) could be used via setting `useApcu` to `true`.
* In order to enable APC or APCu for CLI you should add "apc.enable_cli = 1" to your php.ini.
*
* See [[Cache]] for common cache operations that ApcCache supports.
diff --git a/framework/caching/ExpressionDependency.php b/framework/caching/ExpressionDependency.php
index 503e6dc..09d6756 100644
--- a/framework/caching/ExpressionDependency.php
+++ b/framework/caching/ExpressionDependency.php
@@ -15,7 +15,7 @@ namespace yii\caching;
* the same as the one evaluated when storing the data to cache.
*
* A PHP expression can be any PHP code that has a value. To learn more about what an expression is,
- * please refer to the [php manual](https://secure.php.net/manual/en/language.expressions.php).
+ * please refer to the [php manual](https://www.php.net/manual/en/language.expressions.php).
*
* For more details and usage information on Cache, see the [guide article on caching](guide:caching-overview).
*
@@ -27,7 +27,7 @@ class ExpressionDependency extends Dependency
/**
* @var string the string representation of a PHP expression whose result is used to determine the dependency.
* A PHP expression can be any PHP code that evaluates to a value. To learn more about what an expression is,
- * please refer to the [php manual](https://secure.php.net/manual/en/language.expressions.php).
+ * please refer to the [php manual](https://www.php.net/manual/en/language.expressions.php).
*/
public $expression = 'true';
/**
diff --git a/framework/caching/MemCache.php b/framework/caching/MemCache.php
index 8fe5378..9c1e179 100644
--- a/framework/caching/MemCache.php
+++ b/framework/caching/MemCache.php
@@ -77,22 +77,22 @@ class MemCache extends Cache
* By default the Memcached instances are destroyed at the end of the request. To create an instance that
* persists between requests, you may specify a unique ID for the instance. All instances created with the
* same ID will share the same connection.
- * @see https://secure.php.net/manual/en/memcached.construct.php
+ * @see https://www.php.net/manual/en/memcached.construct.php
*/
public $persistentId;
/**
* @var array options for Memcached. This property is used only when [[useMemcached]] is true.
- * @see https://secure.php.net/manual/en/memcached.setoptions.php
+ * @see https://www.php.net/manual/en/memcached.setoptions.php
*/
public $options;
/**
* @var string memcached sasl username. This property is used only when [[useMemcached]] is true.
- * @see https://secure.php.net/manual/en/memcached.setsaslauthdata.php
+ * @see https://www.php.net/manual/en/memcached.setsaslauthdata.php
*/
public $username;
/**
* @var string memcached sasl password. This property is used only when [[useMemcached]] is true.
- * @see https://secure.php.net/manual/en/memcached.setsaslauthdata.php
+ * @see https://www.php.net/manual/en/memcached.setsaslauthdata.php
*/
public $password;
@@ -249,8 +249,8 @@ class MemCache extends Cache
/**
* @param array $config list of memcache or memcached server configurations. Each element must be an array
* with the following keys: host, port, persistent, weight, timeout, retryInterval, status.
- * @see https://secure.php.net/manual/en/memcache.addserver.php
- * @see https://secure.php.net/manual/en/memcached.addserver.php
+ * @see https://www.php.net/manual/en/memcache.addserver.php
+ * @see https://www.php.net/manual/en/memcached.addserver.php
*/
public function setServers($config)
{
@@ -286,7 +286,7 @@ class MemCache extends Cache
*
* @param string $key the key identifying the value to be cached
* @param mixed $value the value to be cached.
- * @see [Memcache::set()](https://secure.php.net/manual/en/memcache.set.php)
+ * @see [Memcache::set()](https://www.php.net/manual/en/memcache.set.php)
* @param int $duration the number of seconds in which the cached value will expire. 0 means never expire.
* @return bool true if the value is successfully stored into cache, false otherwise
*/
@@ -308,7 +308,7 @@ class MemCache extends Cache
$expire = $this->normalizeDuration($duration);
// Memcached::setMulti() returns boolean
- // @see https://secure.php.net/manual/en/memcached.setmulti.php
+ // @see https://www.php.net/manual/en/memcached.setmulti.php
return $this->_cache->setMulti($data, $expire) ? [] : array_keys($data);
}
@@ -321,7 +321,7 @@ class MemCache extends Cache
*
* @param string $key the key identifying the value to be cached
* @param mixed $value the value to be cached
- * @see [Memcache::set()](https://secure.php.net/manual/en/memcache.set.php)
+ * @see [Memcache::set()](https://www.php.net/manual/en/memcache.set.php)
* @param int $duration the number of seconds in which the cached value will expire. 0 means never expire.
* @return bool true if the value is successfully stored into cache, false otherwise
*/
@@ -356,8 +356,8 @@ class MemCache extends Cache
* Normalizes duration value
*
* @see https://github.com/yiisoft/yii2/issues/17710
- * @see https://secure.php.net/manual/en/memcache.set.php
- * @see https://secure.php.net/manual/en/memcached.expiration.php
+ * @see https://www.php.net/manual/en/memcache.set.php
+ * @see https://www.php.net/manual/en/memcached.expiration.php
*
* @since 2.0.31
* @param int $duration
diff --git a/framework/caching/MemCacheServer.php b/framework/caching/MemCacheServer.php
index c627481..96d10c4 100644
--- a/framework/caching/MemCacheServer.php
+++ b/framework/caching/MemCacheServer.php
@@ -10,7 +10,7 @@ namespace yii\caching;
/**
* MemCacheServer represents the configuration data for a single memcache or memcached server.
*
- * See [PHP manual](https://secure.php.net/manual/en/memcache.addserver.php) for detailed explanation
+ * See [PHP manual](https://www.php.net/manual/en/memcache.addserver.php) for detailed explanation
* of each configuration property.
*
* For more details and usage information on Cache, see the [guide article on caching](guide:caching-overview).
diff --git a/framework/console/Application.php b/framework/console/Application.php
index b8c07cd..4ee2535 100644
--- a/framework/console/Application.php
+++ b/framework/console/Application.php
@@ -11,7 +11,7 @@ use Yii;
use yii\base\InvalidRouteException;
// define STDIN, STDOUT and STDERR if the PHP SAPI did not define them (e.g. creating console application in web env)
-// https://secure.php.net/manual/en/features.commandline.io-streams.php
+// https://www.php.net/manual/en/features.commandline.io-streams.php
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
defined('STDOUT') or define('STDOUT', fopen('php://stdout', 'w'));
defined('STDERR') or define('STDERR', fopen('php://stderr', 'w'));
diff --git a/framework/console/UnknownCommandException.php b/framework/console/UnknownCommandException.php
index 3dc4aed..29d0079 100644
--- a/framework/console/UnknownCommandException.php
+++ b/framework/console/UnknownCommandException.php
@@ -61,7 +61,7 @@ class UnknownCommandException extends Exception
* available commands. The Levenshtein distance is defined as the minimal number of
* characters you have to replace, insert or delete to transform str1 into str2.
*
- * @see https://secure.php.net/manual/en/function.levenshtein.php
+ * @see https://www.php.net/manual/en/function.levenshtein.php
* @return array a list of suggested alternatives sorted by similarity.
*/
public function getSuggestedAlternatives()
@@ -104,7 +104,7 @@ class UnknownCommandException extends Exception
* available commands. The Levenshtein distance is defined as the minimal number of
* characters you have to replace, insert or delete to transform str1 into str2.
*
- * @see https://secure.php.net/manual/en/function.levenshtein.php
+ * @see https://www.php.net/manual/en/function.levenshtein.php
* @param array $actions available command names.
* @param string $command the command to compare to.
* @return array a list of suggested alternatives sorted by similarity.
diff --git a/framework/console/controllers/ServeController.php b/framework/console/controllers/ServeController.php
index 67afee6..7df3b67 100644
--- a/framework/console/controllers/ServeController.php
+++ b/framework/console/controllers/ServeController.php
@@ -37,7 +37,7 @@ class ServeController extends Controller
public $docroot = '@app/web';
/**
* @var string path or [path alias](guide:concept-aliases) to router script.
- * See https://secure.php.net/manual/en/features.commandline.webserver.php
+ * See https://www.php.net/manual/en/features.commandline.webserver.php
*/
public $router;
diff --git a/framework/db/ArrayExpression.php b/framework/db/ArrayExpression.php
index 7a36793..b5bfd71 100644
--- a/framework/db/ArrayExpression.php
+++ b/framework/db/ArrayExpression.php
@@ -97,7 +97,7 @@ class ArrayExpression implements ExpressionInterface, \ArrayAccess, \Countable,
/**
* Whether a offset exists
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php
* @param mixed $offset
* An offset to check for.
*
@@ -115,7 +115,7 @@ class ArrayExpression implements ExpressionInterface, \ArrayAccess, \Countable,
/**
* Offset to retrieve
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetget.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetget.php
* @param mixed $offset
* The offset to retrieve.
*
@@ -130,7 +130,7 @@ class ArrayExpression implements ExpressionInterface, \ArrayAccess, \Countable,
/**
* Offset to set
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetset.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetset.php
* @param mixed $offset
* The offset to assign the value to.
*
@@ -148,7 +148,7 @@ class ArrayExpression implements ExpressionInterface, \ArrayAccess, \Countable,
/**
* Offset to unset
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php
* @param mixed $offset
* The offset to unset.
*
@@ -163,7 +163,7 @@ class ArrayExpression implements ExpressionInterface, \ArrayAccess, \Countable,
/**
* Count elements of an object
*
- * @link https://secure.php.net/manual/en/countable.count.php
+ * @link https://www.php.net/manual/en/countable.count.php
* @return int The custom count as an integer.
*
*
@@ -178,7 +178,7 @@ class ArrayExpression implements ExpressionInterface, \ArrayAccess, \Countable,
/**
* Retrieve an external iterator
*
- * @link https://secure.php.net/manual/en/iteratoraggregate.getiterator.php
+ * @link https://www.php.net/manual/en/iteratoraggregate.getiterator.php
* @return Traversable An instance of an object implementing Iterator or
* Traversable
* @since 2.0.14.1
diff --git a/framework/db/Command.php b/framework/db/Command.php
index 881a898..53be147 100644
--- a/framework/db/Command.php
+++ b/framework/db/Command.php
@@ -66,7 +66,7 @@ class Command extends Component
public $pdoStatement;
/**
* @var int the default fetch mode for this command.
- * @see https://secure.php.net/manual/en/pdostatement.setfetchmode.php
+ * @see https://www.php.net/manual/en/pdostatement.setfetchmode.php
*/
public $fetchMode = \PDO::FETCH_ASSOC;
/**
@@ -296,7 +296,7 @@ class Command extends Component
* @param int $length length of the data type
* @param mixed $driverOptions the driver-specific options
* @return $this the current command being executed
- * @see https://secure.php.net/manual/en/function.PDOStatement-bindParam.php
+ * @see https://www.php.net/manual/en/function.PDOStatement-bindParam.php
*/
public function bindParam($name, &$value, $dataType = null, $length = null, $driverOptions = null)
{
@@ -338,7 +338,7 @@ class Command extends Component
* @param mixed $value The value to bind to the parameter
* @param int $dataType SQL data type of the parameter. If null, the type is determined by the PHP type of the value.
* @return $this the current command being executed
- * @see https://secure.php.net/manual/en/function.PDOStatement-bindValue.php
+ * @see https://www.php.net/manual/en/function.PDOStatement-bindValue.php
*/
public function bindValue($name, $value, $dataType = null)
{
@@ -399,7 +399,7 @@ class Command extends Component
/**
* Executes the SQL statement and returns ALL rows at once.
- * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://secure.php.net/manual/en/function.PDOStatement-setFetchMode.php)
+ * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
* for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used.
* @return array all rows of the query result. Each array element is an array representing a row of data.
* An empty array is returned if the query results in nothing.
@@ -413,7 +413,7 @@ class Command extends Component
/**
* Executes the SQL statement and returns the first row of the result.
* This method is best used when only the first row of result is needed for a query.
- * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://secure.php.net/manual/en/pdostatement.setfetchmode.php)
+ * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/pdostatement.setfetchmode.php)
* for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used.
* @return array|false the first row (in terms of an array) of the query result. False is returned if the query
* results in nothing.
@@ -1136,7 +1136,7 @@ class Command extends Component
/**
* Performs the actual DB query of a SQL statement.
* @param string $method method of PDOStatement to be called
- * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://secure.php.net/manual/en/function.PDOStatement-setFetchMode.php)
+ * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
* for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used.
* @return mixed the method execution result
* @throws Exception if the query causes any problem
@@ -1195,7 +1195,7 @@ class Command extends Component
* Returns the cache key for the query.
*
* @param string $method method of PDOStatement to be called
- * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://secure.php.net/manual/en/function.PDOStatement-setFetchMode.php)
+ * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
* for valid fetch modes.
* @return array the cache key
* @since 2.0.16
diff --git a/framework/db/Connection.php b/framework/db/Connection.php
index c31a868..cc972f4 100644
--- a/framework/db/Connection.php
+++ b/framework/db/Connection.php
@@ -15,11 +15,11 @@ use yii\base\NotSupportedException;
use yii\caching\CacheInterface;
/**
- * Connection represents a connection to a database via [PDO](https://secure.php.net/manual/en/book.pdo.php).
+ * Connection represents a connection to a database via [PDO](https://www.php.net/manual/en/book.pdo.php).
*
* Connection works together with [[Command]], [[DataReader]] and [[Transaction]]
* to provide data access to various DBMS in a common set of APIs. They are a thin wrapper
- * of the [PDO PHP extension](https://secure.php.net/manual/en/book.pdo.php).
+ * of the [PDO PHP extension](https://www.php.net/manual/en/book.pdo.php).
*
* Connection supports database replication and read-write splitting. In particular, a Connection component
* can be configured with multiple [[masters]] and [[slaves]]. It will do load balancing and failover by choosing
@@ -154,10 +154,10 @@ class Connection extends Component
/**
* @var string the Data Source Name, or DSN, contains the information required to connect to the database.
- * Please refer to the [PHP manual](https://secure.php.net/manual/en/pdo.construct.php) on
+ * Please refer to the [PHP manual](https://www.php.net/manual/en/pdo.construct.php) on
* the format of the DSN string.
*
- * For [SQLite](https://secure.php.net/manual/en/ref.pdo-sqlite.connection.php) you may use a [path alias](guide:concept-aliases)
+ * For [SQLite](https://www.php.net/manual/en/ref.pdo-sqlite.connection.php) you may use a [path alias](guide:concept-aliases)
* for specifying the database path, e.g. `sqlite:@app/data/db.sql`.
*
* @see charset
@@ -174,7 +174,7 @@ class Connection extends Component
/**
* @var array PDO attributes (name => value) that should be set when calling [[open()]]
* to establish a DB connection. Please refer to the
- * [PHP manual](https://secure.php.net/manual/en/pdo.setattribute.php) for
+ * [PHP manual](https://www.php.net/manual/en/pdo.setattribute.php) for
* details about available attributes.
*/
public $attributes;
@@ -923,7 +923,7 @@ class Connection extends Component
* Returns the ID of the last inserted row or sequence value.
* @param string $sequenceName name of the sequence object (required by some DBMS)
* @return string the row ID of the last row inserted, or the last value retrieved from the sequence object
- * @see https://secure.php.net/manual/en/pdo.lastinsertid.php
+ * @see https://www.php.net/manual/en/pdo.lastinsertid.php
*/
public function getLastInsertID($sequenceName = '')
{
@@ -935,7 +935,7 @@ class Connection extends Component
* Note that if the parameter is not a string, it will be returned without change.
* @param string $value string to be quoted
* @return string the properly quoted string
- * @see https://secure.php.net/manual/en/pdo.quote.php
+ * @see https://www.php.net/manual/en/pdo.quote.php
*/
public function quoteValue($value)
{
diff --git a/framework/db/DataReader.php b/framework/db/DataReader.php
index 50a2d7d..a8c8756 100644
--- a/framework/db/DataReader.php
+++ b/framework/db/DataReader.php
@@ -37,7 +37,7 @@ use yii\base\InvalidCallException;
* Doing it the second time will throw an exception.
*
* It is possible to use a specific mode of data fetching by setting
- * [[fetchMode]]. See the [PHP manual](https://secure.php.net/manual/en/function.PDOStatement-setFetchMode.php)
+ * [[fetchMode]]. See the [PHP manual](https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
* for more details about possible fetch mode.
*
* @property-read int $columnCount The number of columns in the result set. This property is read-only.
@@ -80,7 +80,7 @@ class DataReader extends \yii\base\BaseObject implements \Iterator, \Countable
* should match the case of the column, as returned by the driver.
* @param mixed $value Name of the PHP variable to which the column will be bound.
* @param int $dataType Data type of the parameter
- * @see https://secure.php.net/manual/en/function.PDOStatement-bindColumn.php
+ * @see https://www.php.net/manual/en/function.PDOStatement-bindColumn.php
*/
public function bindColumn($column, &$value, $dataType = null)
{
@@ -95,7 +95,7 @@ class DataReader extends \yii\base\BaseObject implements \Iterator, \Countable
* Set the default fetch mode for this statement.
*
* @param int $mode fetch mode
- * @see https://secure.php.net/manual/en/function.PDOStatement-setFetchMode.php
+ * @see https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php
*/
public function setFetchMode($mode)
{
diff --git a/framework/db/Exception.php b/framework/db/Exception.php
index ae16407..1fb68df 100644
--- a/framework/db/Exception.php
+++ b/framework/db/Exception.php
@@ -17,7 +17,7 @@ class Exception extends \yii\base\Exception
{
/**
* @var array the error info provided by a PDO exception. This is the same as returned
- * by [PDO::errorInfo](https://secure.php.net/manual/en/pdo.errorinfo.php).
+ * by [PDO::errorInfo](https://www.php.net/manual/en/pdo.errorinfo.php).
*/
public $errorInfo = [];
diff --git a/framework/db/JsonExpression.php b/framework/db/JsonExpression.php
index 0446ae8..36b4603 100644
--- a/framework/db/JsonExpression.php
+++ b/framework/db/JsonExpression.php
@@ -80,7 +80,7 @@ class JsonExpression implements ExpressionInterface, \JsonSerializable
/**
* Specify data which should be serialized to JSON
*
- * @link https://secure.php.net/manual/en/jsonserializable.jsonserialize.php
+ * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php
* @return mixed data which can be serialized by json_encode,
* which is a value of any type other than a resource.
* @since 2.0.14.2
diff --git a/framework/db/PdoValue.php b/framework/db/PdoValue.php
index 806eaa3..3a0ce6f 100644
--- a/framework/db/PdoValue.php
+++ b/framework/db/PdoValue.php
@@ -16,9 +16,9 @@ namespace yii\db;
* [':name' => 'John', ':profile' => new PdoValue($profile, \PDO::PARAM_LOB)]`.
* ```
*
- * To see possible types, check [PDO::PARAM_* constants](https://secure.php.net/manual/en/pdo.constants.php).
+ * To see possible types, check [PDO::PARAM_* constants](https://www.php.net/manual/en/pdo.constants.php).
*
- * @see https://secure.php.net/manual/en/pdostatement.bindparam.php
+ * @see https://www.php.net/manual/en/pdostatement.bindparam.php
* @author Dmytro Naumenko
* @since 2.0.14
*/
@@ -30,7 +30,7 @@ final class PdoValue implements ExpressionInterface
private $value;
/**
* @var int One of PDO_PARAM_* constants
- * @see https://secure.php.net/manual/en/pdo.constants.php
+ * @see https://www.php.net/manual/en/pdo.constants.php
*/
private $type;
diff --git a/framework/db/QueryTrait.php b/framework/db/QueryTrait.php
index 46527dc..9f6b064 100644
--- a/framework/db/QueryTrait.php
+++ b/framework/db/QueryTrait.php
@@ -39,8 +39,8 @@ trait QueryTrait
/**
* @var array|null how to sort the query results. This is used to construct the ORDER BY clause in a SQL statement.
* The array keys are the columns to be sorted by, and the array values are the corresponding sort directions which
- * can be either [SORT_ASC](https://secure.php.net/manual/en/array.constants.php#constant.sort-asc)
- * or [SORT_DESC](https://secure.php.net/manual/en/array.constants.php#constant.sort-desc).
+ * can be either [SORT_ASC](https://www.php.net/manual/en/array.constants.php#constant.sort-asc)
+ * or [SORT_DESC](https://www.php.net/manual/en/array.constants.php#constant.sort-desc).
* The array may also contain [[ExpressionInterface]] objects. If that is the case, the expressions
* will be converted into strings without any change.
*/
diff --git a/framework/db/Schema.php b/framework/db/Schema.php
index 6b43df3..71a6ea5 100644
--- a/framework/db/Schema.php
+++ b/framework/db/Schema.php
@@ -256,7 +256,7 @@ abstract class Schema extends BaseObject
* Determines the PDO type for the given PHP data value.
* @param mixed $data the data whose PDO type is to be determined
* @return int the PDO type
- * @see https://secure.php.net/manual/en/pdo.constants.php
+ * @see https://www.php.net/manual/en/pdo.constants.php
*/
public function getPdoType($data)
{
@@ -361,7 +361,7 @@ abstract class Schema extends BaseObject
* @param string $sequenceName name of the sequence object (required by some DBMS)
* @return string the row ID of the last row inserted, or the last value retrieved from the sequence object
* @throws InvalidCallException if the DB connection is not active
- * @see https://secure.php.net/manual/en/function.PDO-lastInsertId.php
+ * @see https://www.php.net/manual/en/function.PDO-lastInsertId.php
*/
public function getLastInsertID($sequenceName = '')
{
@@ -452,7 +452,7 @@ abstract class Schema extends BaseObject
* Note that if the parameter is not a string, it will be returned without change.
* @param string $str string to be quoted
* @return string the properly quoted string
- * @see https://secure.php.net/manual/en/function.PDO-quote.php
+ * @see https://www.php.net/manual/en/function.PDO-quote.php
*/
public function quoteValue($str)
{
diff --git a/framework/db/Transaction.php b/framework/db/Transaction.php
index 7a119d1..87e72dd 100644
--- a/framework/db/Transaction.php
+++ b/framework/db/Transaction.php
@@ -36,7 +36,7 @@ use yii\base\NotSupportedException;
* ```
*
* > Note: in the above code we have two catch-blocks for compatibility
- * > with PHP 5.x and PHP 7.x. `\Exception` implements the [`\Throwable` interface](https://secure.php.net/manual/en/class.throwable.php)
+ * > with PHP 5.x and PHP 7.x. `\Exception` implements the [`\Throwable` interface](https://www.php.net/manual/en/class.throwable.php)
* > since PHP 7.0, so you can skip the part with `\Exception` if your app uses only PHP 7.0 and higher.
*
* @property-read bool $isActive Whether this transaction is active. Only an active transaction can
diff --git a/framework/db/cubrid/Schema.php b/framework/db/cubrid/Schema.php
index a487235..73a06c4 100644
--- a/framework/db/cubrid/Schema.php
+++ b/framework/db/cubrid/Schema.php
@@ -326,7 +326,7 @@ class Schema extends \yii\db\Schema implements ConstraintFinderInterface
* Determines the PDO type for the given PHP data value.
* @param mixed $data the data whose PDO type is to be determined
* @return int the PDO type
- * @see https://secure.php.net/manual/en/pdo.constants.php
+ * @see https://www.php.net/manual/en/pdo.constants.php
*/
public function getPdoType($data)
{
diff --git a/framework/db/oci/Schema.php b/framework/db/oci/Schema.php
index 343393f..cba0b20 100644
--- a/framework/db/oci/Schema.php
+++ b/framework/db/oci/Schema.php
@@ -372,7 +372,7 @@ SQL;
/**
* @Overrides method in class 'Schema'
- * @see https://secure.php.net/manual/en/function.PDO-lastInsertId.php -> Oracle does not support this
+ * @see https://www.php.net/manual/en/function.PDO-lastInsertId.php -> Oracle does not support this
*
* Returns the ID of the last inserted row or sequence value.
* @param string $sequenceName name of the sequence object (required by some DBMS)
diff --git a/framework/filters/HttpCache.php b/framework/filters/HttpCache.php
index 4964e59..2a6f6e3 100644
--- a/framework/filters/HttpCache.php
+++ b/framework/filters/HttpCache.php
@@ -91,10 +91,10 @@ class HttpCache extends ActionFilter
*/
public $cacheControlHeader = 'public, max-age=3600';
/**
- * @var string the name of the cache limiter to be set when [session_cache_limiter()](https://secure.php.net/manual/en/function.session-cache-limiter.php)
+ * @var string the name of the cache limiter to be set when [session_cache_limiter()](https://www.php.net/manual/en/function.session-cache-limiter.php)
* is called. The default value is an empty string, meaning turning off automatic sending of cache headers entirely.
* You may set this property to be `public`, `private`, `private_no_expire`, and `nocache`.
- * Please refer to [session_cache_limiter()](https://secure.php.net/manual/en/function.session-cache-limiter.php)
+ * Please refer to [session_cache_limiter()](https://www.php.net/manual/en/function.session-cache-limiter.php)
* for detailed explanation of these values.
*
* If this property is `null`, then `session_cache_limiter()` will not be called. As a result,
diff --git a/framework/helpers/BaseArrayHelper.php b/framework/helpers/BaseArrayHelper.php
index d87ee9d..dcd2865 100644
--- a/framework/helpers/BaseArrayHelper.php
+++ b/framework/helpers/BaseArrayHelper.php
@@ -617,7 +617,7 @@ class BaseArrayHelper
{
if ($caseSensitive) {
// Function `isset` checks key faster but skips `null`, `array_key_exists` handles this case
- // https://secure.php.net/manual/en/function.array-key-exists.php#107786
+ // https://www.php.net/manual/en/function.array-key-exists.php#107786
if (is_array($array) && (isset($array[$key]) || array_key_exists($key, $array))) {
return true;
}
@@ -649,7 +649,7 @@ class BaseArrayHelper
* When sorting by multiple keys with different sorting directions, use an array of sorting directions.
* @param int|array $sortFlag the PHP sort flag. Valid values include
* `SORT_REGULAR`, `SORT_NUMERIC`, `SORT_STRING`, `SORT_LOCALE_STRING`, `SORT_NATURAL` and `SORT_FLAG_CASE`.
- * Please refer to [PHP manual](https://secure.php.net/manual/en/function.sort.php)
+ * Please refer to [PHP manual](https://www.php.net/manual/en/function.sort.php)
* for more details. When sorting by multiple keys with different sort flags, use an array of sort flags.
* @throws InvalidArgumentException if the $direction or $sortFlag parameters do not have
* correct number of elements as that of $key.
@@ -700,7 +700,7 @@ class BaseArrayHelper
* @param string $charset the charset that the data is using. If not set,
* [[\yii\base\Application::charset]] will be used.
* @return array the encoded data
- * @see https://secure.php.net/manual/en/function.htmlspecialchars.php
+ * @see https://www.php.net/manual/en/function.htmlspecialchars.php
*/
public static function htmlEncode($data, $valuesOnly = true, $charset = null)
{
@@ -733,7 +733,7 @@ class BaseArrayHelper
* @param bool $valuesOnly whether to decode array values only. If false,
* both the array keys and array values will be decoded.
* @return array the decoded data
- * @see https://secure.php.net/manual/en/function.htmlspecialchars-decode.php
+ * @see https://www.php.net/manual/en/function.htmlspecialchars-decode.php
*/
public static function htmlDecode($data, $valuesOnly = true)
{
@@ -831,14 +831,14 @@ class BaseArrayHelper
/**
* Check whether an array or [[Traversable]] contains an element.
*
- * This method does the same as the PHP function [in_array()](https://secure.php.net/manual/en/function.in-array.php)
+ * This method does the same as the PHP function [in_array()](https://www.php.net/manual/en/function.in-array.php)
* but additionally works for objects that implement the [[Traversable]] interface.
* @param mixed $needle The value to look for.
* @param array|Traversable $haystack The set of values to search.
* @param bool $strict Whether to enable strict (`===`) comparison.
* @return bool `true` if `$needle` was found in `$haystack`, `false` otherwise.
* @throws InvalidArgumentException if `$haystack` is neither traversable nor an array.
- * @see https://secure.php.net/manual/en/function.in-array.php
+ * @see https://www.php.net/manual/en/function.in-array.php
* @since 2.0.7
*/
public static function isIn($needle, $haystack, $strict = false)
@@ -861,11 +861,11 @@ class BaseArrayHelper
/**
* Checks whether a variable is an array or [[Traversable]].
*
- * This method does the same as the PHP function [is_array()](https://secure.php.net/manual/en/function.is-array.php)
+ * This method does the same as the PHP function [is_array()](https://www.php.net/manual/en/function.is-array.php)
* but additionally works on objects that implement the [[Traversable]] interface.
* @param mixed $var The variable being evaluated.
* @return bool whether $var can be traversed via foreach
- * @see https://secure.php.net/manual/en/function.is-array.php
+ * @see https://www.php.net/manual/en/function.is-array.php
* @since 2.0.8
*/
public static function isTraversable($var)
diff --git a/framework/helpers/BaseFileHelper.php b/framework/helpers/BaseFileHelper.php
index 2e5a327..8dd2064 100644
--- a/framework/helpers/BaseFileHelper.php
+++ b/framework/helpers/BaseFileHelper.php
@@ -137,11 +137,11 @@ class BaseFileHelper
/**
* Determines the MIME type of the specified file.
* This method will first try to determine the MIME type based on
- * [finfo_open](https://secure.php.net/manual/en/function.finfo-open.php). If the `fileinfo` extension is not installed,
+ * [finfo_open](https://www.php.net/manual/en/function.finfo-open.php). If the `fileinfo` extension is not installed,
* it will fall back to [[getMimeTypeByExtension()]] when `$checkExtension` is true.
* @param string $file the file name.
* @param string|null $magicFile name of the optional magic database file (or alias), usually something like `/path/to/magic.mime`.
- * This will be passed as the second parameter to [finfo_open()](https://secure.php.net/manual/en/function.finfo-open.php)
+ * This will be passed as the second parameter to [finfo_open()](https://www.php.net/manual/en/function.finfo-open.php)
* when the `fileinfo` extension is installed. If the MIME type is being determined based via [[getMimeTypeByExtension()]]
* and this is null, it will use the file specified by [[mimeMagicFile]].
* @param bool $checkExtension whether to use the file extension to determine the MIME type in case
@@ -502,7 +502,7 @@ class BaseFileHelper
* @param array $options options for directory searching. Valid options are:
*
* - `filter`: callback, a PHP callback that is called for each directory or file.
- * The signature of the callback should be: `function (string $path): bool`, where `$path` refers
+ * The signature of the callback should be: `function (string $path): bool`, where `$path` refers
* the full path to be filtered. The callback can return one of the following values:
*
* * `true`: the directory will be returned
diff --git a/framework/helpers/BaseFormatConverter.php b/framework/helpers/BaseFormatConverter.php
index 340f7d4..84417bf 100644
--- a/framework/helpers/BaseFormatConverter.php
+++ b/framework/helpers/BaseFormatConverter.php
@@ -91,7 +91,7 @@ class BaseFormatConverter
*
* Pattern constructs that are not supported by the PHP format will be removed.
*
- * [php date() function format]: https://secure.php.net/manual/en/function.date.php
+ * [php date() function format]: https://www.php.net/manual/en/function.date.php
* [ICU format]: http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax
*
* @param string $pattern date format pattern in ICU format.
@@ -238,7 +238,7 @@ class BaseFormatConverter
*
* Pattern constructs that are not supported by the ICU format will be removed.
*
- * [php date() function format]: https://secure.php.net/manual/en/function.date.php
+ * [php date() function format]: https://www.php.net/manual/en/function.date.php
* [ICU format]: http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax
*
* Since 2.0.13 it handles escaped characters correctly.
@@ -248,7 +248,7 @@ class BaseFormatConverter
*/
public static function convertDatePhpToIcu($pattern)
{
- // https://secure.php.net/manual/en/function.date.php
+ // https://www.php.net/manual/en/function.date.php
$result = strtr($pattern, [
"'" => "''''", // single `'` should be encoded as `''`, which internally should be encoded as `''''`
// Day
@@ -497,7 +497,7 @@ class BaseFormatConverter
*
* Pattern constructs that are not supported by the jQuery UI format will be removed.
*
- * [php date() function format]: https://secure.php.net/manual/en/function.date.php
+ * [php date() function format]: https://www.php.net/manual/en/function.date.php
* [jQuery UI date format]: http://api.jqueryui.com/datepicker/#utility-formatDate
*
* @param string $pattern date format pattern in php date()-function format.
@@ -505,7 +505,7 @@ class BaseFormatConverter
*/
public static function convertDatePhpToJui($pattern)
{
- // https://secure.php.net/manual/en/function.date.php
+ // https://www.php.net/manual/en/function.date.php
return strtr($pattern, [
// Day
'd' => 'dd', // Day of the month, 2 digits with leading zeros 01 to 31
diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php
index 83caf53..5890709 100644
--- a/framework/helpers/BaseHtml.php
+++ b/framework/helpers/BaseHtml.php
@@ -104,7 +104,7 @@ class BaseHtml
* HTML entities in `$content` will not be further encoded.
* @return string the encoded content
* @see decode()
- * @see https://secure.php.net/manual/en/function.htmlspecialchars.php
+ * @see https://www.php.net/manual/en/function.htmlspecialchars.php
*/
public static function encode($content, $doubleEncode = true)
{
@@ -117,7 +117,7 @@ class BaseHtml
* @param string $content the content to be decoded
* @return string the decoded content
* @see encode()
- * @see https://secure.php.net/manual/en/function.htmlspecialchars-decode.php
+ * @see https://www.php.net/manual/en/function.htmlspecialchars-decode.php
*/
public static function decode($content)
{
diff --git a/framework/helpers/BaseInflector.php b/framework/helpers/BaseInflector.php
index 9ee02b3..4cad3f9 100644
--- a/framework/helpers/BaseInflector.php
+++ b/framework/helpers/BaseInflector.php
@@ -287,7 +287,7 @@ class BaseInflector
/**
* @var mixed Either a [[\Transliterator]], or a string from which a [[\Transliterator]] can be built
* for transliteration. Used by [[transliterate()]] when intl is available. Defaults to [[TRANSLITERATE_LOOSE]]
- * @see https://secure.php.net/manual/en/transliterator.transliterate.php
+ * @see https://www.php.net/manual/en/transliterator.transliterate.php
*/
public static $transliterator = self::TRANSLITERATE_LOOSE;
diff --git a/framework/helpers/BaseJson.php b/framework/helpers/BaseJson.php
index 9d8b2d9..fea90a1 100644
--- a/framework/helpers/BaseJson.php
+++ b/framework/helpers/BaseJson.php
@@ -66,7 +66,7 @@ class BaseJson
*
* @param mixed $value the data to be encoded.
* @param int $options the encoding options. For more details please refer to
- * . Default is `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE`.
+ * . Default is `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE`.
* @return string the encoding result.
* @throws InvalidArgumentException if there is any encoding error.
*/
diff --git a/framework/helpers/BaseStringHelper.php b/framework/helpers/BaseStringHelper.php
index 2953f84..9af9777 100644
--- a/framework/helpers/BaseStringHelper.php
+++ b/framework/helpers/BaseStringHelper.php
@@ -41,7 +41,7 @@ class BaseStringHelper
* @param int $length the desired portion length. If not specified or `null`, there will be
* no limit on length i.e. the output will be until the end of the string.
* @return string the extracted part of string, or FALSE on failure or an empty string.
- * @see https://secure.php.net/manual/en/function.substr.php
+ * @see https://www.php.net/manual/en/function.substr.php
*/
public static function byteSubstr($string, $start, $length = null)
{
@@ -63,7 +63,7 @@ class BaseStringHelper
* @param string $path A path string.
* @param string $suffix If the name component ends in suffix this will also be cut off.
* @return string the trailing name component of the given path.
- * @see https://secure.php.net/manual/en/function.basename.php
+ * @see https://www.php.net/manual/en/function.basename.php
*/
public static function basename($path, $suffix = '')
{
@@ -88,7 +88,7 @@ class BaseStringHelper
*
* @param string $path A path string.
* @return string the parent directory's path.
- * @see https://secure.php.net/manual/en/function.basename.php
+ * @see https://www.php.net/manual/en/function.basename.php
*/
public static function dirname($path)
{
@@ -440,7 +440,7 @@ class BaseStringHelper
* @param string $string the string to be proceeded
* @param string $encoding Optional, defaults to "UTF-8"
* @return string
- * @see https://secure.php.net/manual/en/function.ucfirst.php
+ * @see https://www.php.net/manual/en/function.ucfirst.php
* @since 2.0.16
*/
public static function mb_ucfirst($string, $encoding = 'UTF-8')
diff --git a/framework/helpers/Markdown.php b/framework/helpers/Markdown.php
index 8552d13..c86e5e4 100644
--- a/framework/helpers/Markdown.php
+++ b/framework/helpers/Markdown.php
@@ -23,7 +23,7 @@ namespace yii\helpers;
* For more details please refer to the [Markdown library documentation](https://github.com/cebe/markdown#readme).
*
* > Note: The Markdown library works with PHPDoc annotations so if you use it together with
- * > PHP `opcache` make sure [it does not strip comments](https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments).
+ * > PHP `opcache` make sure [it does not strip comments](https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments).
*
* @author Carsten Brandt
* @since 2.0
diff --git a/framework/i18n/Formatter.php b/framework/i18n/Formatter.php
index 27bad52..cf67ddf 100644
--- a/framework/i18n/Formatter.php
+++ b/framework/i18n/Formatter.php
@@ -35,7 +35,7 @@ use yii\helpers\Url;
* You can access that instance via `Yii::$app->formatter`.
*
* The Formatter class is designed to format values according to a [[locale]]. For this feature to work
- * the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) has to be installed.
+ * the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) has to be installed.
* Most of the methods however work also if the PHP intl extension is not installed by providing
* a fallback implementation. Without intl month and day names are in English only.
* Note that even if the intl extension is installed, formatting date and time values for years >=2038 or <=1901
@@ -44,7 +44,7 @@ use yii\helpers\Url;
*
* > Note: The Formatter class is meant to be used for formatting values for display to users in different
* > languages and time zones. If you need to format a date or time in machine readable format, use the
- * > PHP [date()](https://secure.php.net/manual/en/function.date.php) function instead.
+ * > PHP [date()](https://www.php.net/manual/en/function.date.php) function instead.
*
* @author Qiang Xue
* @author Enrica Ruedin
@@ -94,7 +94,7 @@ class Formatter extends Component
/**
* @var string the locale ID that is used to localize the date and number formatting.
* For number and date formatting this is only effective when the
- * [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed.
+ * [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed.
* If not set, [[\yii\base\Application::language]] will be used.
*/
public $locale;
@@ -108,9 +108,9 @@ class Formatter extends Component
/**
* @var string the time zone to use for formatting time and date values.
*
- * This can be any value that may be passed to [date_default_timezone_set()](https://secure.php.net/manual/en/function.date-default-timezone-set.php)
+ * This can be any value that may be passed to [date_default_timezone_set()](https://www.php.net/manual/en/function.date-default-timezone-set.php)
* e.g. `UTC`, `Europe/Berlin` or `America/Chicago`.
- * Refer to the [php manual](https://secure.php.net/manual/en/timezones.php) for available time zones.
+ * Refer to the [php manual](https://www.php.net/manual/en/timezones.php) for available time zones.
* If this property is not set, [[\yii\base\Application::timeZone]] will be used.
*
* Note that the default time zone for input data is assumed to be UTC by default if no time zone is included in the input date value.
@@ -121,7 +121,7 @@ class Formatter extends Component
* @var string the time zone that is assumed for input values if they do not include a time zone explicitly.
*
* The value must be a valid time zone identifier, e.g. `UTC`, `Europe/Berlin` or `America/Chicago`.
- * Please refer to the [php manual](https://secure.php.net/manual/en/timezones.php) for available time zones.
+ * Please refer to the [php manual](https://www.php.net/manual/en/timezones.php) for available time zones.
*
* It defaults to `UTC` so you only have to adjust this value if you store datetime values in another time zone in your database.
*
@@ -137,7 +137,7 @@ class Formatter extends Component
*
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
- * PHP [date()](https://secure.php.net/manual/en/function.date.php)-function.
+ * PHP [date()](https://www.php.net/manual/en/function.date.php)-function.
*
* For example:
*
@@ -153,7 +153,7 @@ class Formatter extends Component
*
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
- * PHP [date()](https://secure.php.net/manual/en/function.date.php)-function.
+ * PHP [date()](https://www.php.net/manual/en/function.date.php)-function.
*
* For example:
*
@@ -170,7 +170,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
*
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
- * PHP [date()](https://secure.php.net/manual/en/function.date.php)-function.
+ * PHP [date()](https://www.php.net/manual/en/function.date.php)-function.
*
* For example:
*
@@ -182,7 +182,7 @@ class Formatter extends Component
public $datetimeFormat = 'medium';
/**
* @var \IntlCalendar|int|null the calendar to be used for date formatting. The value of this property will be directly
- * passed to the [constructor of the `IntlDateFormatter` class](https://secure.php.net/manual/en/intldateformatter.create.php).
+ * passed to the [constructor of the `IntlDateFormatter` class](https://www.php.net/manual/en/intldateformatter.create.php).
*
* Defaults to `null`, which means the Gregorian calendar will be used. You may also explicitly pass the constant
* `\IntlDateFormatter::GREGORIAN` for Gregorian calendar.
@@ -201,42 +201,42 @@ class Formatter extends Component
* Available calendar names can be found in the [ICU manual](http://userguide.icu-project.org/datetime/calendar).
*
* Since PHP 5.5 you may also use an instance of the [[\IntlCalendar]] class.
- * Check the [PHP manual](https://secure.php.net/manual/en/intldateformatter.create.php) for more details.
+ * Check the [PHP manual](https://www.php.net/manual/en/intldateformatter.create.php) for more details.
*
- * If the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available, setting this property will have no effect.
+ * If the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available, setting this property will have no effect.
*
- * @see https://secure.php.net/manual/en/intldateformatter.create.php
- * @see https://secure.php.net/manual/en/class.intldateformatter.php#intl.intldateformatter-constants.calendartypes
- * @see https://secure.php.net/manual/en/class.intlcalendar.php
+ * @see https://www.php.net/manual/en/intldateformatter.create.php
+ * @see https://www.php.net/manual/en/class.intldateformatter.php#intl.intldateformatter-constants.calendartypes
+ * @see https://www.php.net/manual/en/class.intlcalendar.php
* @since 2.0.7
*/
public $calendar;
/**
* @var string|null the character displayed as the decimal point when formatting a number.
* If not set, the decimal separator corresponding to [[locale]] will be used.
- * If [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available, the default value is '.'.
+ * If [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available, the default value is '.'.
*/
public $decimalSeparator;
/**
* @var string the character displayed as the decimal point when formatting a currency.
* If not set, the currency decimal separator corresponding to [[locale]] will be used.
- * If [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available, setting this property will have no effect.
+ * If [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available, setting this property will have no effect.
* @since 2.0.35
*/
public $currencyDecimalSeparator;
/**
* @var string|null the character displayed as the thousands separator (also called grouping separator) character when formatting a number.
* If not set, the thousand separator corresponding to [[locale]] will be used.
- * If [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available, the default value is ','.
+ * If [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available, the default value is ','.
*/
public $thousandSeparator;
/**
* @var array a list of name value pairs that are passed to the
- * intl [NumberFormatter::setAttribute()](https://secure.php.net/manual/en/numberformatter.setattribute.php) method of all
+ * intl [NumberFormatter::setAttribute()](https://www.php.net/manual/en/numberformatter.setattribute.php) method of all
* the number formatter objects created by [[createNumberFormatter()]].
- * This property takes only effect if the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed.
+ * This property takes only effect if the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed.
*
- * Please refer to the [PHP manual](https://secure.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatattribute)
+ * Please refer to the [PHP manual](https://www.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatattribute)
* for the possible options.
*
* For example to adjust the maximum and minimum value of fraction digits you can configure this property like the following:
@@ -251,11 +251,11 @@ class Formatter extends Component
public $numberFormatterOptions = [];
/**
* @var array a list of name value pairs that are passed to the
- * intl [NumberFormatter::setTextAttribute()](https://secure.php.net/manual/en/numberformatter.settextattribute.php) method of all
+ * intl [NumberFormatter::setTextAttribute()](https://www.php.net/manual/en/numberformatter.settextattribute.php) method of all
* the number formatter objects created by [[createNumberFormatter()]].
- * This property takes only effect if the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed.
+ * This property takes only effect if the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed.
*
- * Please refer to the [PHP manual](https://secure.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformattextattribute)
+ * Please refer to the [PHP manual](https://www.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformattextattribute)
* for the possible options.
*
* For example to change the minus sign for negative numbers you can configure this property like the following:
@@ -269,11 +269,11 @@ class Formatter extends Component
public $numberFormatterTextOptions = [];
/**
* @var array a list of name value pairs that are passed to the
- * intl [NumberFormatter::setSymbol()](https://secure.php.net/manual/en/numberformatter.setsymbol.php) method of all
+ * intl [NumberFormatter::setSymbol()](https://www.php.net/manual/en/numberformatter.setsymbol.php) method of all
* the number formatter objects created by [[createNumberFormatter()]].
- * This property takes only effect if the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed.
+ * This property takes only effect if the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed.
*
- * Please refer to the [PHP manual](https://secure.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatsymbol)
+ * Please refer to the [PHP manual](https://www.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatsymbol)
* for the possible options.
*
* For example to choose a custom currency symbol, e.g. [U+20BD](http://unicode-table.com/en/20BD/) instead of `руб.` for Russian Ruble:
@@ -377,7 +377,7 @@ class Formatter extends Component
];
/**
- * @var bool whether the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is loaded.
+ * @var bool whether the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is loaded.
*/
private $_intlLoaded = false;
/**
@@ -626,9 +626,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp. A UNIX timestamp is always in UTC by its definition.
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object. You may set the time zone
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object. You may set the time zone
* for the DateTime object to specify the source time zone.
*
* The formatter will convert date values according to [[timeZone]] before formatting it.
@@ -642,7 +642,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime).
*
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
- * PHP [date()](https://secure.php.net/manual/en/function.date.php)-function.
+ * PHP [date()](https://www.php.net/manual/en/function.date.php)-function.
*
* @return string the formatted result.
* @throws InvalidArgumentException if the input value can not be evaluated as a date value.
@@ -664,9 +664,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp. A UNIX timestamp is always in UTC by its definition.
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object. You may set the time zone
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object. You may set the time zone
* for the DateTime object to specify the source time zone.
*
* The formatter will convert date values according to [[timeZone]] before formatting it.
@@ -679,7 +679,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime).
*
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
- * PHP [date()](https://secure.php.net/manual/en/function.date.php)-function.
+ * PHP [date()](https://www.php.net/manual/en/function.date.php)-function.
*
* @return string the formatted result.
* @throws InvalidArgumentException if the input value can not be evaluated as a date value.
@@ -701,9 +701,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp. A UNIX timestamp is always in UTC by its definition.
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object. You may set the time zone
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object. You may set the time zone
* for the DateTime object to specify the source time zone.
*
* The formatter will convert date values according to [[timeZone]] before formatting it.
@@ -716,7 +716,7 @@ class Formatter extends Component
* It can also be a custom format as specified in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime).
*
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the
- * PHP [date()](https://secure.php.net/manual/en/function.date.php)-function.
+ * PHP [date()](https://www.php.net/manual/en/function.date.php)-function.
*
* @return string the formatted result.
* @throws InvalidArgumentException if the input value can not be evaluated as a date value.
@@ -747,9 +747,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object
*
* @param string $format the format used to convert the value into a date string.
* @param string $type 'date', 'time', or 'datetime'.
@@ -846,9 +846,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object
*
* @param bool $checkDateTimeInfo whether to also check if the date/time value has some time and date information attached.
* Defaults to `false`. If `true`, the method will then return an array with the first element being the normalized
@@ -920,9 +920,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object
*
* @return string the formatted result.
*/
@@ -948,9 +948,9 @@ class Formatter extends Component
* types of value are supported:
*
* - an integer representing a UNIX timestamp
- * - a string that can be [parsed to create a DateTime object](https://secure.php.net/manual/en/datetime.formats.php).
+ * - a string that can be [parsed to create a DateTime object](https://www.php.net/manual/en/datetime.formats.php).
* The timestamp is assumed to be in [[defaultTimeZone]] unless a time zone is explicitly given.
- * - a PHP [DateTime](https://secure.php.net/manual/en/class.datetime.php) object
+ * - a PHP [DateTime](https://www.php.net/manual/en/class.datetime.php) object
* - a PHP DateInterval object (a positive time interval will refer to the past, a negative one to the future)
*
* @param int|string|DateTime|DateTimeInterface|null $referenceTime if specified the value is used as a reference time instead of `now`
@@ -1030,7 +1030,7 @@ class Formatter extends Component
* Represents the value as duration in human readable format.
*
* @param DateInterval|string|int|null $value the value to be formatted. Acceptable formats:
- * - [DateInterval object](https://secure.php.net/manual/ru/class.dateinterval.php)
+ * - [DateInterval object](https://www.php.net/manual/ru/class.dateinterval.php)
* - integer - number of seconds. For example: value `131` represents `2 minutes, 11 seconds`
* - ISO8601 duration format. For example, all of these values represent `1 day, 2 hours, 30 minutes` duration:
* `2015-01-01T13:00:00Z/2015-01-02T13:30:00Z` - between two datetime values
@@ -1101,7 +1101,7 @@ class Formatter extends Component
* Formats the value as an integer number by removing any decimal digits without rounding.
*
* Since 2.0.16 numbers that are mispresented after normalization are formatted as strings using fallback function
- * without [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) support. For very big numbers it's
+ * without [PHP intl extension](https://www.php.net/manual/en/book.intl.php) support. For very big numbers it's
* recommended to pass them as strings and not use scientific notation otherwise the output might be wrong.
*
* @param mixed $value the value to be formatted.
@@ -1142,7 +1142,7 @@ class Formatter extends Component
* value is rounded automatically to the defined decimal digits.
*
* Since 2.0.16 numbers that are mispresented after normalization are formatted as strings using fallback function
- * without [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) support. For very big numbers it's
+ * without [PHP intl extension](https://www.php.net/manual/en/book.intl.php) support. For very big numbers it's
* recommended to pass them as strings and not use scientific notation otherwise the output might be wrong.
*
* @param mixed $value the value to be formatted.
@@ -1192,7 +1192,7 @@ class Formatter extends Component
* Formats the value as a percent number with "%" sign.
*
* Since 2.0.16 numbers that are mispresented after normalization are formatted as strings using fallback function
- * without [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) support. For very big numbers it's
+ * without [PHP intl extension](https://www.php.net/manual/en/book.intl.php) support. For very big numbers it's
* recommended to pass them as strings and not use scientific notation otherwise the output might be wrong.
*
* @param mixed $value the value to be formatted. It must be a factor e.g. `0.75` will result in `75%`.
@@ -1245,7 +1245,7 @@ class Formatter extends Component
* If not given, the number of digits depends in the input value and is determined based on
* `NumberFormatter::MIN_FRACTION_DIGITS` and `NumberFormatter::MAX_FRACTION_DIGITS`, which can be configured
* using [[$numberFormatterOptions]].
- * If the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available, the default value
+ * If the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available, the default value
* depends on your PHP configuration.
* If you want consistent behavior between environments where intl is available and not, you should explicitly
* specify a value here.
@@ -1280,7 +1280,7 @@ class Formatter extends Component
/**
* Formats the value as a currency number.
*
- * This function does not require the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) to be installed
+ * This function does not require the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) to be installed
* to work, but it is highly recommended to install it to get good formatting results.
*
* Since 2.0.16 numbers that are mispresented after normalization are formatted as strings using fallback function
@@ -1311,7 +1311,7 @@ class Formatter extends Component
if ($this->_intlLoaded) {
$currency = $currency ?: $this->currencyCode;
// currency code must be set before fraction digits
- // https://secure.php.net/manual/en/numberformatter.formatcurrency.php#114376
+ // https://www.php.net/manual/en/numberformatter.formatcurrency.php#114376
if ($currency && !isset($textOptions[NumberFormatter::CURRENCY_CODE])) {
$textOptions[NumberFormatter::CURRENCY_CODE] = $currency;
}
@@ -1341,14 +1341,14 @@ class Formatter extends Component
/**
* Formats the value as a number spellout.
*
- * This function requires the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) to be installed.
+ * This function requires the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) to be installed.
*
* This formatter does not work well with very big numbers.
*
* @param mixed $value the value to be formatted
* @return string the formatted result.
* @throws InvalidArgumentException if the input value is not numeric or the formatting failed.
- * @throws InvalidConfigException when the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available.
+ * @throws InvalidConfigException when the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available.
*/
public function asSpellout($value)
{
@@ -1371,14 +1371,14 @@ class Formatter extends Component
/**
* Formats the value as a ordinal value of a number.
*
- * This function requires the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) to be installed.
+ * This function requires the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) to be installed.
*
* This formatter does not work well with very big numbers.
*
* @param mixed $value the value to be formatted
* @return string the formatted result.
* @throws InvalidArgumentException if the input value is not numeric or the formatting failed.
- * @throws InvalidConfigException when the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is not available.
+ * @throws InvalidConfigException when the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is not available.
*/
public function asOrdinal($value)
{
@@ -1751,9 +1751,9 @@ class Formatter extends Component
/**
* Normalizes a numeric input value.
*
- * - everything [empty](https://secure.php.net/manual/en/function.empty.php) will result in `0`
- * - a [numeric](https://secure.php.net/manual/en/function.is-numeric.php) string will be casted to float
- * - everything else will be returned if it is [numeric](https://secure.php.net/manual/en/function.is-numeric.php),
+ * - everything [empty](https://www.php.net/manual/en/function.empty.php) will result in `0`
+ * - a [numeric](https://www.php.net/manual/en/function.is-numeric.php) string will be casted to float
+ * - everything else will be returned if it is [numeric](https://www.php.net/manual/en/function.is-numeric.php),
* otherwise an exception is thrown.
*
* @param mixed $value the input value
diff --git a/framework/i18n/Locale.php b/framework/i18n/Locale.php
index 86b78de..a0e1a1b 100644
--- a/framework/i18n/Locale.php
+++ b/framework/i18n/Locale.php
@@ -14,7 +14,7 @@ use yii\base\InvalidConfigException;
/**
* Locale provides various locale information via convenient methods.
*
- * The class requires [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) to be installed.
+ * The class requires [PHP intl extension](https://www.php.net/manual/en/book.intl.php) to be installed.
*
* @property-read string $currencySymbol This property is read-only.
*
diff --git a/framework/i18n/MessageFormatter.php b/framework/i18n/MessageFormatter.php
index 53e095b..47e4246 100644
--- a/framework/i18n/MessageFormatter.php
+++ b/framework/i18n/MessageFormatter.php
@@ -23,7 +23,7 @@ use yii\base\NotSupportedException;
* substituted.
* - Fixes PHP 5.5 weird placeholder replacement in case no arguments are provided at all (https://bugs.php.net/bug.php?id=65920).
* - Offers limited support for message formatting in case PHP intl extension is not installed.
- * However it is highly recommended that you install [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) if you want
+ * However it is highly recommended that you install [PHP intl extension](https://www.php.net/manual/en/book.intl.php) if you want
* to use MessageFormatter features.
*
* The fallback implementation only supports the following message formats:
@@ -32,7 +32,7 @@ use yii\base\NotSupportedException;
* - simple parameters
* - integer number parameters
*
- * The fallback implementation does NOT support the ['apostrophe-friendly' syntax](https://secure.php.net/manual/en/messageformatter.formatmessage.php).
+ * The fallback implementation does NOT support the ['apostrophe-friendly' syntax](https://www.php.net/manual/en/messageformatter.formatmessage.php).
* Also messages that are working with the fallback implementation are not necessarily compatible with the
* PHP intl MessageFormatter so do not rely on the fallback if you are able to install intl extension somehow.
*
@@ -51,7 +51,7 @@ class MessageFormatter extends Component
/**
* Get the error code from the last operation.
- * @link https://secure.php.net/manual/en/messageformatter.geterrorcode.php
+ * @link https://www.php.net/manual/en/messageformatter.geterrorcode.php
* @return string Code of the last error.
*/
public function getErrorCode()
@@ -61,7 +61,7 @@ class MessageFormatter extends Component
/**
* Get the error text from the last operation.
- * @link https://secure.php.net/manual/en/messageformatter.geterrormessage.php
+ * @link https://www.php.net/manual/en/messageformatter.geterrormessage.php
* @return string Description of the last error.
*/
public function getErrorMessage()
@@ -72,7 +72,7 @@ class MessageFormatter extends Component
/**
* Formats a message via [ICU message format](http://userguide.icu-project.org/formatparse/messages).
*
- * It uses the PHP intl extension's [MessageFormatter](https://secure.php.net/manual/en/class.messageformatter.php)
+ * It uses the PHP intl extension's [MessageFormatter](https://www.php.net/manual/en/class.messageformatter.php)
* and works around some issues.
* If PHP intl is not installed a fallback will be used that supports a subset of the ICU message format.
*
@@ -134,7 +134,7 @@ class MessageFormatter extends Component
/**
* Parses an input string according to an [ICU message format](http://userguide.icu-project.org/formatparse/messages) pattern.
*
- * It uses the PHP intl extension's [MessageFormatter::parse()](https://secure.php.net/manual/en/messageformatter.parsemessage.php)
+ * It uses the PHP intl extension's [MessageFormatter::parse()](https://www.php.net/manual/en/messageformatter.parsemessage.php)
* and adds support for named arguments.
* Usage of this method requires PHP intl extension to be installed.
*
diff --git a/framework/log/FileTarget.php b/framework/log/FileTarget.php
index a29c673..157c0db 100644
--- a/framework/log/FileTarget.php
+++ b/framework/log/FileTarget.php
@@ -64,9 +64,9 @@ class FileTarget extends Target
* systems which do not play well with rename on open files. Rotation by renaming however is
* a bit faster.
*
- * The problem with windows systems where the [rename()](https://secure.php.net/manual/en/function.rename.php)
+ * The problem with windows systems where the [rename()](https://www.php.net/manual/en/function.rename.php)
* function does not work with files that are opened by some process is described in a
- * [comment by Martin Pelletier](https://secure.php.net/manual/en/function.rename.php#102274) in
+ * [comment by Martin Pelletier](https://www.php.net/manual/en/function.rename.php#102274) in
* the PHP documentation. By setting rotateByCopy to `true` you can work
* around this problem.
*/
diff --git a/framework/log/SyslogTarget.php b/framework/log/SyslogTarget.php
index 6a9b0cf..84bde89 100644
--- a/framework/log/SyslogTarget.php
+++ b/framework/log/SyslogTarget.php
@@ -27,9 +27,9 @@ class SyslogTarget extends Target
*/
public $facility = LOG_USER;
/**
- * @var int openlog options. This is a bitfield passed as the `$option` parameter to [openlog()](https://secure.php.net/openlog).
+ * @var int openlog options. This is a bitfield passed as the `$option` parameter to [openlog()](https://www.php.net/openlog).
* Defaults to `null` which means to use the default options `LOG_ODELAY | LOG_PID`.
- * @see https://secure.php.net/openlog for available options.
+ * @see https://www.php.net/openlog for available options.
* @since 2.0.11
*/
public $options;
diff --git a/framework/requirements/requirements.php b/framework/requirements/requirements.php
index 29ab338..b6e3d80 100644
--- a/framework/requirements/requirements.php
+++ b/framework/requirements/requirements.php
@@ -47,7 +47,7 @@ return array(
'name' => 'MBString extension',
'mandatory' => true,
'condition' => extension_loaded('mbstring'),
- 'by' => 'Multibyte string processing',
+ 'by' => 'Multibyte string processing',
'memo' => 'Required for multibyte encoding string processing.'
),
array(
@@ -61,7 +61,7 @@ return array(
'name' => 'Intl extension',
'mandatory' => false,
'condition' => $this->checkPhpExtensionVersion('intl', '1.0.2', '>='),
- 'by' => 'Internationalization support',
+ 'by' => 'Internationalization support',
'memo' => 'PHP Intl extension 1.0.2 or higher is required when you want to use advanced parameters formatting
in Yii::t()
, non-latin languages with Inflector::slug()
,
IDN-feature of
@@ -71,7 +71,7 @@ return array(
'name' => 'ICU version',
'mandatory' => false,
'condition' => defined('INTL_ICU_VERSION') && version_compare(INTL_ICU_VERSION, '49', '>='),
- 'by' => 'Internationalization support',
+ 'by' => 'Internationalization support',
'memo' => 'ICU 49.0 or higher is required when you want to use #
placeholder in plural rules
(for example, plural in
@@ -82,7 +82,7 @@ return array(
'name' => 'ICU Data version',
'mandatory' => false,
'condition' => defined('INTL_ICU_DATA_VERSION') && version_compare(INTL_ICU_DATA_VERSION, '49.1', '>='),
- 'by' => 'Internationalization support',
+ 'by' => 'Internationalization support',
'memo' => 'ICU Data 49.1 or higher is required when you want to use #
placeholder in plural rules
(for example, plural in
@@ -93,14 +93,14 @@ return array(
'name' => 'Fileinfo extension',
'mandatory' => false,
'condition' => extension_loaded('fileinfo'),
- 'by' => 'File Information',
+ 'by' => 'File Information',
'memo' => 'Required for files upload to detect correct file mime-types.'
),
array(
'name' => 'DOM extension',
'mandatory' => false,
'condition' => extension_loaded('dom'),
- 'by' => 'Document Object Model',
+ 'by' => 'Document Object Model',
'memo' => 'Required for REST API to send XML responses via yii\web\XmlResponseFormatter
.'
),
array(
diff --git a/framework/validators/DateValidator.php b/framework/validators/DateValidator.php
index 24604cf..7d92010 100644
--- a/framework/validators/DateValidator.php
+++ b/framework/validators/DateValidator.php
@@ -60,7 +60,7 @@ class DateValidator extends Validator
* This property influences the default value of [[format]] and also sets the correct behavior when [[format]] is one of the intl
* short formats, `short`, `medium`, `long`, or `full`.
*
- * This is only effective when the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed.
+ * This is only effective when the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed.
*
* This property can be set to the following values:
*
@@ -76,7 +76,7 @@ class DateValidator extends Validator
* This can be a date time pattern as described in the [ICU manual](http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax).
*
* Alternatively this can be a string prefixed with `php:` representing a format that can be recognized by the PHP Datetime class.
- * Please refer to on supported formats.
+ * Please refer to on supported formats.
*
* If this property is not set, the default value will be obtained from `Yii::$app->formatter->dateFormat`, see [[\yii\i18n\Formatter::dateFormat]] for details.
* Since version 2.0.8 the default value will be determined from different formats of the formatter class,
@@ -95,8 +95,8 @@ class DateValidator extends Validator
* ```
*
* **Note:** the underlying date parsers being used vary dependent on the format. If you use the ICU format and
- * the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed, the [IntlDateFormatter](https://secure.php.net/manual/en/intldateformatter.parse.php)
- * is used to parse the input value. In all other cases the PHP [DateTime](https://secure.php.net/manual/en/datetime.createfromformat.php) class
+ * the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed, the [IntlDateFormatter](https://www.php.net/manual/en/intldateformatter.parse.php)
+ * is used to parse the input value. In all other cases the PHP [DateTime](https://www.php.net/manual/en/datetime.createfromformat.php) class
* is used. The IntlDateFormatter has the advantage that it can parse international dates like `12. Mai 2015` or `12 мая 2014`, while the
* PHP parser is limited to English only. The PHP parser however is more strict about the input format as it will not accept
* `12.05.05` for the format `php:d.m.Y`, but the IntlDateFormatter will accept it for the format `dd.MM.yyyy`.
@@ -105,16 +105,16 @@ class DateValidator extends Validator
public $format;
/**
* @var string the locale ID that is used to localize the date parsing.
- * This is only effective when the [PHP intl extension](https://secure.php.net/manual/en/book.intl.php) is installed.
+ * This is only effective when the [PHP intl extension](https://www.php.net/manual/en/book.intl.php) is installed.
* If not set, the locale of the [[\yii\base\Application::formatter|formatter]] will be used.
* See also [[\yii\i18n\Formatter::locale]].
*/
public $locale;
/**
* @var string the timezone to use for parsing date and time values.
- * This can be any value that may be passed to [date_default_timezone_set()](https://secure.php.net/manual/en/function.date-default-timezone-set.php)
+ * This can be any value that may be passed to [date_default_timezone_set()](https://www.php.net/manual/en/function.date-default-timezone-set.php)
* e.g. `UTC`, `Europe/Berlin` or `America/Chicago`.
- * Refer to the [php manual](https://secure.php.net/manual/en/timezones.php) for available timezones.
+ * Refer to the [php manual](https://www.php.net/manual/en/timezones.php) for available timezones.
* If this property is not set, [[\yii\base\Application::timeZone]] will be used.
*/
public $timeZone;
@@ -150,9 +150,9 @@ class DateValidator extends Validator
/**
* @var string the timezone to use when populating the [[timestampAttribute]] with [[timestampAttributeFormat]]. Defaults to `UTC`.
*
- * This can be any value that may be passed to [date_default_timezone_set()](https://secure.php.net/manual/en/function.date-default-timezone-set.php)
+ * This can be any value that may be passed to [date_default_timezone_set()](https://www.php.net/manual/en/function.date-default-timezone-set.php)
* e.g. `UTC`, `Europe/Berlin` or `America/Chicago`.
- * Refer to the [php manual](https://secure.php.net/manual/en/timezones.php) for available timezones.
+ * Refer to the [php manual](https://www.php.net/manual/en/timezones.php) for available timezones.
*
* If [[timestampAttributeFormat]] is not set, this property will be ignored.
* @see timestampAttributeFormat
diff --git a/framework/validators/FileValidator.php b/framework/validators/FileValidator.php
index d67934f..7a7f5c5 100644
--- a/framework/validators/FileValidator.php
+++ b/framework/validators/FileValidator.php
@@ -62,8 +62,8 @@ class FileValidator extends Validator
* Defaults to null, meaning no limit.
* Note, the size limit is also affected by `upload_max_filesize` and `post_max_size` INI setting
* and the 'MAX_FILE_SIZE' hidden field value. See [[getSizeLimit()]] for details.
- * @see https://secure.php.net/manual/en/ini.core.php#ini.upload-max-filesize
- * @see https://secure.php.net/post-max-size
+ * @see https://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
+ * @see https://www.php.net/post-max-size
* @see getSizeLimit
* @see tooBig for the customized message for a file that is too big.
*/
@@ -77,7 +77,7 @@ class FileValidator extends Validator
* > Note: The maximum number of files allowed to be uploaded simultaneously is
* also limited with PHP directive `max_file_uploads`, which defaults to 20.
*
- * @see https://secure.php.net/manual/en/ini.core.php#ini.max-file-uploads
+ * @see https://www.php.net/manual/en/ini.core.php#ini.max-file-uploads
* @see tooMany for the customized message when too many files are uploaded.
*/
public $maxFiles = 1;
diff --git a/framework/web/AssetBundle.php b/framework/web/AssetBundle.php
index d04ad40..ac554a8 100644
--- a/framework/web/AssetBundle.php
+++ b/framework/web/AssetBundle.php
@@ -16,7 +16,7 @@ use yii\helpers\Url;
* AssetBundle represents a collection of asset files, such as CSS, JS, images.
*
* Each asset bundle has a unique name that globally identifies it among all asset bundles used in an application.
- * The name is the [fully qualified class name](https://secure.php.net/manual/en/language.namespaces.rules.php)
+ * The name is the [fully qualified class name](https://www.php.net/manual/en/language.namespaces.rules.php)
* of the class representing it.
*
* An asset bundle can depend on other asset bundles. When registering an asset bundle
diff --git a/framework/web/CompositeUrlRule.php b/framework/web/CompositeUrlRule.php
index d707c64..a9c9a27 100644
--- a/framework/web/CompositeUrlRule.php
+++ b/framework/web/CompositeUrlRule.php
@@ -133,7 +133,7 @@ abstract class CompositeUrlRule extends BaseObject implements UrlRuleInterface
* @return null|int Status of the URL creation after the last [[createUrl()]] call. `null` if rule does not provide
* info about create status.
* @see $createStatus
- * @see https://secure.php.net/manual/en/language.operators.bitwise.php
+ * @see https://www.php.net/manual/en/language.operators.bitwise.php
* @since 2.0.12
*/
public function getCreateUrlStatus()
diff --git a/framework/web/DbSession.php b/framework/web/DbSession.php
index d1ff105..d82484a 100644
--- a/framework/web/DbSession.php
+++ b/framework/web/DbSession.php
@@ -206,7 +206,7 @@ class DbSession extends MultiFieldSession
}
// exception must be caught in session write handler
- // https://secure.php.net/manual/en/function.session-set-save-handler.php#refsect1-function.session-set-save-handler-notes
+ // https://www.php.net/manual/en/function.session-set-save-handler.php#refsect1-function.session-set-save-handler-notes
try {
// ensure backwards compatability (fixed #9438)
if ($this->writeCallback && !$this->fields) {
diff --git a/framework/web/ErrorHandler.php b/framework/web/ErrorHandler.php
index 0d573ad..5bb28de 100644
--- a/framework/web/ErrorHandler.php
+++ b/framework/web/ErrorHandler.php
@@ -401,7 +401,7 @@ class ErrorHandler extends \yii\base\ErrorHandler
'http://lighttpd.net/' => ['lighttpd'],
'http://gwan.com/' => ['g-wan', 'gwan'],
'http://iis.net/' => ['iis', 'services'],
- 'https://secure.php.net/manual/en/features.commandline.webserver.php' => ['development'],
+ 'https://www.php.net/manual/en/features.commandline.webserver.php' => ['development'],
];
if (isset($_SERVER['SERVER_SOFTWARE'])) {
foreach ($serverUrls as $url => $keywords) {
diff --git a/framework/web/JsonResponseFormatter.php b/framework/web/JsonResponseFormatter.php
index 493d73f..2218ca0 100644
--- a/framework/web/JsonResponseFormatter.php
+++ b/framework/web/JsonResponseFormatter.php
@@ -68,7 +68,7 @@ class JsonResponseFormatter extends Component implements ResponseFormatterInterf
public $useJsonp = false;
/**
* @var int the encoding options passed to [[Json::encode()]]. For more details please refer to
- * .
+ * .
* Default is `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE`.
* This property has no effect, when [[useJsonp]] is `true`.
* @since 2.0.7
diff --git a/framework/web/Request.php b/framework/web/Request.php
index ce10685..5868b4d 100644
--- a/framework/web/Request.php
+++ b/framework/web/Request.php
@@ -723,7 +723,7 @@ class Request extends \yii\base\Request
*
* By default this value is based on the user request information. This method will
* return the value of `$_SERVER['HTTP_HOST']` if it is available or `$_SERVER['SERVER_NAME']` if not.
- * You may want to check out the [PHP documentation](https://secure.php.net/manual/en/reserved.variables.server.php)
+ * You may want to check out the [PHP documentation](https://www.php.net/manual/en/reserved.variables.server.php)
* for more information on these variables.
*
* You may explicitly specify it by setting the [[setHostInfo()|hostInfo]] property.
diff --git a/framework/web/Session.php b/framework/web/Session.php
index 626adb6..3c22c98 100644
--- a/framework/web/Session.php
+++ b/framework/web/Session.php
@@ -101,7 +101,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* @var array parameter-value pairs to override default session cookie parameters that are used for session_set_cookie_params() function
* Array may have the following possible keys: 'lifetime', 'path', 'domain', 'secure', 'httponly'
- * @see https://secure.php.net/manual/en/function.session-set-cookie-params.php
+ * @see https://www.php.net/manual/en/function.session-set-cookie-params.php
*/
private $_cookieParams = ['httponly' => true];
/**
@@ -294,7 +294,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Gets the session ID.
- * This is a wrapper for [PHP session_id()](https://secure.php.net/manual/en/function.session-id.php).
+ * This is a wrapper for [PHP session_id()](https://www.php.net/manual/en/function.session-id.php).
* @return string the current session ID
*/
public function getId()
@@ -304,7 +304,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Sets the session ID.
- * This is a wrapper for [PHP session_id()](https://secure.php.net/manual/en/function.session-id.php).
+ * This is a wrapper for [PHP session_id()](https://www.php.net/manual/en/function.session-id.php).
* @param string $value the session ID for the current session
*/
public function setId($value)
@@ -315,7 +315,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Updates the current session ID with a newly generated one.
*
- * Please refer to for more details.
+ * Please refer to for more details.
*
* This method has no effect when session is not [[getIsActive()|active]].
* Make sure to call [[open()]] before calling it.
@@ -339,7 +339,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Gets the name of the current session.
- * This is a wrapper for [PHP session_name()](https://secure.php.net/manual/en/function.session-name.php).
+ * This is a wrapper for [PHP session_name()](https://www.php.net/manual/en/function.session-name.php).
* @return string the current session name
*/
public function getName()
@@ -349,7 +349,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Sets the name for the current session.
- * This is a wrapper for [PHP session_name()](https://secure.php.net/manual/en/function.session-name.php).
+ * This is a wrapper for [PHP session_name()](https://www.php.net/manual/en/function.session-name.php).
* @param string $value the session name for the current session, must be an alphanumeric string.
* It defaults to "PHPSESSID".
*/
@@ -362,7 +362,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Gets the current session save path.
- * This is a wrapper for [PHP session_save_path()](https://secure.php.net/manual/en/function.session-save-path.php).
+ * This is a wrapper for [PHP session_save_path()](https://www.php.net/manual/en/function.session-save-path.php).
* @return string the current session save path, defaults to '/tmp'.
*/
public function getSavePath()
@@ -372,7 +372,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* Sets the current session save path.
- * This is a wrapper for [PHP session_save_path()](https://secure.php.net/manual/en/function.session-save-path.php).
+ * This is a wrapper for [PHP session_save_path()](https://www.php.net/manual/en/function.session-save-path.php).
* @param string $value the current session save path. This can be either a directory name or a [path alias](guide:concept-aliases).
* @throws InvalidArgumentException if the path is not a valid directory
*/
@@ -388,7 +388,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
/**
* @return array the session cookie parameters.
- * @see https://secure.php.net/manual/en/function.session-get-cookie-params.php
+ * @see https://www.php.net/manual/en/function.session-get-cookie-params.php
*/
public function getCookieParams()
{
@@ -411,7 +411,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
* See https://www.owasp.org/index.php/SameSite for more information about `sameSite`.
*
* @throws InvalidArgumentException if the parameters are incomplete.
- * @see https://secure.php.net/manual/en/function.session-set-cookie-params.php
+ * @see https://www.php.net/manual/en/function.session-set-cookie-params.php
*/
public function setCookieParams(array $value)
{
@@ -422,7 +422,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
* Sets the session cookie parameters.
* This method is called by [[open()]] when it is about to open the session.
* @throws InvalidArgumentException if the parameters are incomplete.
- * @see https://secure.php.net/manual/en/function.session-set-cookie-params.php
+ * @see https://www.php.net/manual/en/function.session-set-cookie-params.php
*/
private function setCookieParamsInternal()
{
diff --git a/framework/web/UploadedFile.php b/framework/web/UploadedFile.php
index ed8fa11..a660970 100644
--- a/framework/web/UploadedFile.php
+++ b/framework/web/UploadedFile.php
@@ -54,7 +54,7 @@ class UploadedFile extends BaseObject
public $size;
/**
* @var int an error code describing the status of this file uploading.
- * @see https://secure.php.net/manual/en/features.file-upload.errors.php
+ * @see https://www.php.net/manual/en/features.file-upload.errors.php
*/
public $error;
diff --git a/tests/data/base/ArrayAccessObject.php b/tests/data/base/ArrayAccessObject.php
index 79a66de..bf62ef2 100644
--- a/tests/data/base/ArrayAccessObject.php
+++ b/tests/data/base/ArrayAccessObject.php
@@ -19,7 +19,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
/**
* Whether a offset exists
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php
* @param mixed $offset
* An offset to check for.
*
@@ -37,7 +37,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
/**
* Offset to retrieve
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetget.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetget.php
* @param mixed $offset
* The offset to retrieve.
*
@@ -52,7 +52,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
/**
* Offset to set
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetset.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetset.php
* @param mixed $offset
* The offset to assign the value to.
*
@@ -70,7 +70,7 @@ class ArrayAccessObject extends TraversableObject implements \ArrayAccess
/**
* Offset to unset
*
- * @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php
+ * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php
* @param mixed $offset
* The offset to unset.
*
diff --git a/tests/data/helpers/CustomDebugInfo.php b/tests/data/helpers/CustomDebugInfo.php
index 67ff276..94a01db 100644
--- a/tests/data/helpers/CustomDebugInfo.php
+++ b/tests/data/helpers/CustomDebugInfo.php
@@ -18,7 +18,7 @@ class CustomDebugInfo
public $unitPrice;
/**
- * @see https://secure.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
+ * @see https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
*
* @return array
*/
diff --git a/tests/framework/helpers/StringHelperTest.php b/tests/framework/helpers/StringHelperTest.php
index 041f831..fa0fd3e 100644
--- a/tests/framework/helpers/StringHelperTest.php
+++ b/tests/framework/helpers/StringHelperTest.php
@@ -104,7 +104,7 @@ class StringHelperTest extends TestCase
$this->assertEquals('file', StringHelper::basename('/path/to/filete\st', 'te\st'));
$this->assertEquals('st', StringHelper::basename('/path/to/filete\st', 'te/st'));
- // https://secure.php.net/manual/en/function.basename.php#72254
+ // https://www.php.net/manual/en/function.basename.php#72254
$this->assertEquals('foo', StringHelper::basename('/bar/foo/'));
$this->assertEquals('foo', StringHelper::basename('\\bar\\foo\\'));
}