From a5dde254ae879525bb8af9c947275d54de286a2e Mon Sep 17 00:00:00 2001 From: Sergey Makinen Date: Tue, 13 Jun 2017 02:37:14 +0300 Subject: [PATCH] Update facades for Yii 2.0.12 --- composer.lock | 154 ++++++++++++++++++++++++---------------------- src/Asset.php | 2 +- src/Auth.php | 2 +- src/Cache.php | 4 +- src/Db.php | 14 ++++- src/Error.php | 11 ++-- src/Formatter.php | 14 ++--- src/Http.php | 2 +- src/I18n.php | 2 +- src/Log.php | 2 +- src/Mailer.php | 2 +- src/Redis.php | 6 +- src/Request.php | 4 +- src/Response.php | 7 ++- src/Router.php | 2 +- src/Security.php | 10 ++- src/Session.php | 4 +- src/User.php | 2 +- src/View.php | 2 +- 19 files changed, 139 insertions(+), 107 deletions(-) diff --git a/composer.lock b/composer.lock index a014cd6..767fa4d 100644 --- a/composer.lock +++ b/composer.lock @@ -24,22 +24,22 @@ }, { "name": "bower-asset/jquery.inputmask", - "version": "3.3.4.0", + "version": "3.3.7", "source": { "type": "git", "url": "https://github.com/RobinHerbots/Inputmask.git", - "reference": "8a882bc471ba4077c4f8ecbe3d9d61c7558f3ef2" + "reference": "9835731cb78cac749734d94a1cb5bd70da4d3b10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RobinHerbots/Inputmask/zipball/8a882bc471ba4077c4f8ecbe3d9d61c7558f3ef2", - "reference": "8a882bc471ba4077c4f8ecbe3d9d61c7558f3ef2", + "url": "https://api.github.com/repos/RobinHerbots/Inputmask/zipball/9835731cb78cac749734d94a1cb5bd70da4d3b10", + "reference": "9835731cb78cac749734d94a1cb5bd70da4d3b10", "shasum": null }, "require": { "bower-asset/jquery": ">=1.7" }, - "type": "library" + "type": "bower-asset" }, { "name": "bower-asset/punycode", @@ -138,21 +138,24 @@ }, { "name": "ezyang/htmlpurifier", - "version": "v4.8.0", + "version": "v4.9.3", "source": { "type": "git", "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2" + "reference": "95e1bae3182efc0f3422896a3236e991049dac69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2", - "reference": "d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/95e1bae3182efc0f3422896a3236e991049dac69", + "reference": "95e1bae3182efc0f3422896a3236e991049dac69", "shasum": "" }, "require": { "php": ">=5.2" }, + "require-dev": { + "simpletest/simpletest": "^1.1" + }, "type": "library", "autoload": { "psr-0": { @@ -178,25 +181,25 @@ "keywords": [ "html" ], - "time": "2016-07-16T12:58:58+00:00" + "time": "2017-06-03T02:28:16+00:00" }, { "name": "yiisoft/yii2", - "version": "2.0.11.2", + "version": "2.0.12", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-framework.git", - "reference": "ee996adec1dfd7babb67bd0c604f5bd6425fe5ab" + "reference": "70acbecc75cb26b6cd66d16be0b06e4b73db190d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/ee996adec1dfd7babb67bd0c604f5bd6425fe5ab", - "reference": "ee996adec1dfd7babb67bd0c604f5bd6425fe5ab", + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/70acbecc75cb26b6cd66d16be0b06e4b73db190d", + "reference": "70acbecc75cb26b6cd66d16be0b06e4b73db190d", "shasum": "" }, "require": { "bower-asset/jquery": "2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable", - "bower-asset/jquery.inputmask": "~3.2.2 | ~3.3.3", + "bower-asset/jquery.inputmask": "~3.2.2 | ~3.3.5", "bower-asset/punycode": "1.3.*", "bower-asset/yii2-pjax": "~2.0.1", "cebe/markdown": "~1.0.0 | ~1.1.0", @@ -278,7 +281,7 @@ "framework", "yii2" ], - "time": "2017-02-08T09:04:32+00:00" + "time": "2017-06-05T14:33:41+00:00" }, { "name": "yiisoft/yii2-composer", @@ -388,16 +391,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.6.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe" + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/5a5a9fc8025a08d8919be87d6884d5a92520cefe", - "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", "shasum": "" }, "require": { @@ -426,7 +429,7 @@ "object", "object graph" ], - "time": "2017-01-26T22:05:40+00:00" + "time": "2017-04-12T18:52:22+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -576,27 +579,27 @@ }, { "name": "phpspec/prophecy", - "version": "v1.6.2", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "6c52c2722f8460122f96f86346600e1077ce22cb" + "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/6c52c2722f8460122f96f86346600e1077ce22cb", - "reference": "6c52c2722f8460122f96f86346600e1077ce22cb", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", + "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", - "sebastian/comparator": "^1.1", - "sebastian/recursion-context": "^1.0|^2.0" + "sebastian/comparator": "^1.1|^2.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { - "phpspec/phpspec": "^2.0", + "phpspec/phpspec": "^2.5|^3.2", "phpunit/phpunit": "^4.8 || ^5.6.5" }, "type": "library", @@ -635,20 +638,20 @@ "spy", "stub" ], - "time": "2016-11-21T14:58:47+00:00" + "time": "2017-03-02T20:05:34+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "4.0.7", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "09e2277d14ea467e5a984010f501343ef29ffc69" + "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/09e2277d14ea467e5a984010f501343ef29ffc69", - "reference": "09e2277d14ea467e5a984010f501343ef29ffc69", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d", + "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d", "shasum": "" }, "require": { @@ -698,7 +701,7 @@ "testing", "xunit" ], - "time": "2017-03-01T09:12:17+00:00" + "time": "2017-04-02T07:44:40+00:00" }, { "name": "phpunit/php-file-iterator", @@ -888,16 +891,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.7.14", + "version": "5.7.20", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4906b8faf23e42612182fd212eb6f4c0f2954b57" + "reference": "3cb94a5f8c07a03c8b7527ed7468a2926203f58b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4906b8faf23e42612182fd212eb6f4c0f2954b57", - "reference": "4906b8faf23e42612182fd212eb6f4c0f2954b57", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3cb94a5f8c07a03c8b7527ed7468a2926203f58b", + "reference": "3cb94a5f8c07a03c8b7527ed7468a2926203f58b", "shasum": "" }, "require": { @@ -915,7 +918,7 @@ "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^3.2", "sebastian/comparator": "^1.2.4", - "sebastian/diff": "~1.2", + "sebastian/diff": "^1.4.3", "sebastian/environment": "^1.3.4 || ^2.0", "sebastian/exporter": "~2.0", "sebastian/global-state": "^1.1", @@ -966,7 +969,7 @@ "testing", "xunit" ], - "time": "2017-02-19T07:22:16+00:00" + "time": "2017-05-22T07:42:55+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1029,23 +1032,23 @@ }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe" + "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/c36f5e7cfce482fde5bf8d10d41a53591e0198fe", - "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", "shasum": "" }, "require": { - "php": ">=5.6" + "php": "^5.6 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "^5.7 || ^6.0" }, "type": "library", "extra": { @@ -1070,7 +1073,7 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2016-02-13T06:45:14+00:00" + "time": "2017-03-04T06:30:41+00:00" }, { "name": "sebastian/comparator", @@ -1138,23 +1141,23 @@ }, { "name": "sebastian/diff", - "version": "1.4.1", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.8" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "type": "library", "extra": { @@ -1186,7 +1189,7 @@ "keywords": [ "diff" ], - "time": "2015-12-08T07:14:41+00:00" + "time": "2017-05-22T07:24:03+00:00" }, { "name": "sebastian/environment", @@ -1589,16 +1592,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.3.0", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" + "reference": "f29dca382a6485c3cbe6379f0c61230167681937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", + "reference": "f29dca382a6485c3cbe6379f0c61230167681937", "shasum": "" }, "require": { @@ -1610,7 +1613,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.4-dev" } }, "autoload": { @@ -1644,36 +1647,41 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-09T14:24:12+00:00" }, { "name": "symfony/var-dumper", - "version": "v3.2.4", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "cb50260b674ee1c2d4ab49f2395a42e0b4681e20" + "reference": "347c4247a3e40018810b476fcd5dec36d46d08dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/cb50260b674ee1c2d4ab49f2395a42e0b4681e20", - "reference": "cb50260b674ee1c2d4ab49f2395a42e0b4681e20", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/347c4247a3e40018810b476fcd5dec36d46d08dc", + "reference": "347c4247a3e40018810b476fcd5dec36d46d08dc", "shasum": "" }, "require": { "php": ">=5.5.9", "symfony/polyfill-mbstring": "~1.0" }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" + }, "require-dev": { - "twig/twig": "~1.20|~2.0" + "ext-iconv": "*", + "twig/twig": "~1.34|~2.4" }, "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", "ext-symfony_debug": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1707,20 +1715,20 @@ "debug", "dump" ], - "time": "2017-02-16T22:46:52+00:00" + "time": "2017-06-02T09:10:29+00:00" }, { "name": "symfony/yaml", - "version": "v3.2.4", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8" + "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/9724c684646fcb5387d579b4bfaa63ee0b0c64c8", - "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8", + "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063", + "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063", "shasum": "" }, "require": { @@ -1735,7 +1743,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1762,7 +1770,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-02-16T22:46:52+00:00" + "time": "2017-06-02T22:05:06+00:00" }, { "name": "webmozart/assert", diff --git a/src/Asset.php b/src/Asset.php index fcfa293..4d2ea83 100644 --- a/src/Asset.php +++ b/src/Asset.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/Auth.php b/src/Auth.php index 102833c..c64fe56 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/Cache.php b/src/Cache.php index f815785..53ac9e6 100644 --- a/src/Cache.php +++ b/src/Cache.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -56,7 +56,7 @@ * @method static \yii\base\Behavior[] getBehaviors() Returns all behaviors attached to this component. * @see \yii\base\Component::getBehaviors * - * @method static mixed getOrSet(mixed $key, \Closure $closure, int $duration = null, \yii\caching\Dependency $dependency = null) Method combines both [[set()]] and [[get()]] methods to retrieve value identified by a $key, or to store the result of $closure execution if there is no cache available for the $key. + * @method static mixed getOrSet(mixed $key, callable|\Closure $callable, int $duration = null, \yii\caching\Dependency $dependency = null) Method combines both [[set()]] and [[get()]] methods to retrieve value identified by a $key, or to store the result of $callable execution if there is no cache available for the $key. * @see \yii\caching\Cache::getOrSet * * @method static bool hasEventHandlers(string $name) Returns a value indicating whether there is any handler attached to the named event. diff --git a/src/Db.php b/src/Db.php index 36a7e82..efcc6d4 100644 --- a/src/Db.php +++ b/src/Db.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -145,6 +145,12 @@ * @method static bool getEmulatePrepare() Returns whether to turn on prepare emulation. * @see \yii\db\Connection::emulatePrepare * + * @method static bool getEnableLogging() Returns whether to enable logging of database queries. + * @see \yii\db\Connection::enableLogging + * + * @method static bool getEnableProfiling() Returns whether to enable profiling of database queries. + * @see \yii\db\Connection::enableProfiling + * * @method static bool getEnableQueryCache() Returns whether to enable query caching. * @see \yii\db\Connection::enableQueryCache * @@ -226,6 +232,12 @@ * @method static void setEmulatePrepare(bool $value) Sets whether to turn on prepare emulation. * @see \yii\db\Connection::emulatePrepare * + * @method static void setEnableLogging(bool $value) Sets whether to enable logging of database queries. + * @see \yii\db\Connection::enableLogging + * + * @method static void setEnableProfiling(bool $value) Sets whether to enable profiling of database queries. + * @see \yii\db\Connection::enableProfiling + * * @method static void setEnableQueryCache(bool $value) Sets whether to enable query caching. * @see \yii\db\Connection::enableQueryCache * diff --git a/src/Error.php b/src/Error.php index b1e9de5..4fae410 100644 --- a/src/Error.php +++ b/src/Error.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -38,7 +38,7 @@ * @method static void convertExceptionToError(\Exception $exception) Converts an exception into a PHP error. * @see \yii\base\ErrorHandler::convertExceptionToError * - * @method static string convertExceptionToString(\Exception $exception) Converts an exception into a simple string. + * @method static string convertExceptionToString(\Exception|\Error $exception) Converts an exception into a simple string. * @see \yii\base\ErrorHandler::convertExceptionToString * * @method static string createFrameworkVersionLink() Creates string containing HTML link which refers to the page with the current version of the framework and version number text. @@ -101,6 +101,9 @@ * @method static void register() Register this error handler. * @see \yii\base\ErrorHandler::register * + * @method static string renderCallStack(\Exception|\ParseError $exception) Renders call stack. + * @see \yii\web\ErrorHandler::renderCallStack + * * @method static string renderCallStackItem(string|null $file, int|null $line, string|null $class, string|null $method, array $args, int $index) Renders a single call stack element. * @see \yii\web\ErrorHandler::renderCallStackItem * @@ -136,7 +139,7 @@ * @method static string getErrorView() Returns the path of the view file for rendering exceptions without call stack information. * @see \yii\web\ErrorHandler::errorView * - * @method static \Exception getException() Returns the exception that is being handled currently. + * @method static \Exception|null getException() Returns the exception that is being handled currently. * @see \yii\base\ErrorHandler::exception * * @method static string getExceptionView() Returns the path of the view file for rendering exceptions. @@ -169,7 +172,7 @@ * @method static void setErrorView(string $value) Sets the path of the view file for rendering exceptions without call stack information. * @see \yii\web\ErrorHandler::errorView * - * @method static void setException(\Exception $value) Sets the exception that is being handled currently. + * @method static void setException(\Exception|null $value) Sets the exception that is being handled currently. * @see \yii\base\ErrorHandler::exception * * @method static void setExceptionView(string $value) Sets the path of the view file for rendering exceptions. diff --git a/src/Formatter.php b/src/Formatter.php index fd5d538..b425261 100644 --- a/src/Formatter.php +++ b/src/Formatter.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -157,13 +157,13 @@ * @method static string getNullDisplay() Returns the text to be displayed when formatting a `null` value. * @see \yii\i18n\Formatter::nullDisplay * - * @method static array getNumberFormatterOptions() Returns a list of name value pairs that are passed to the intl [Numberformatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. + * @method static array getNumberFormatterOptions() Returns a list of name value pairs that are passed to the intl [NumberFormatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. * @see \yii\i18n\Formatter::numberFormatterOptions * - * @method static array getNumberFormatterSymbols() Returns a list of name value pairs that are passed to the intl [Numberformatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]]. + * @method static array getNumberFormatterSymbols() Returns a list of name value pairs that are passed to the intl [NumberFormatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]]. * @see \yii\i18n\Formatter::numberFormatterSymbols * - * @method static array getNumberFormatterTextOptions() Returns a list of name value pairs that are passed to the intl [Numberformatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. + * @method static array getNumberFormatterTextOptions() Returns a list of name value pairs that are passed to the intl [NumberFormatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. * @see \yii\i18n\Formatter::numberFormatterTextOptions * * @method static int getSizeFormatBase() Returns the base at which a kilobyte is calculated (1000 or 1024 bytes per kilobyte), used by [[asSize]] and [[asShortSize]]. @@ -205,13 +205,13 @@ * @method static void setNullDisplay(string $value) Sets the text to be displayed when formatting a `null` value. * @see \yii\i18n\Formatter::nullDisplay * - * @method static void setNumberFormatterOptions(array $value) Sets a list of name value pairs that are passed to the intl [Numberformatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. + * @method static void setNumberFormatterOptions(array $value) Sets a list of name value pairs that are passed to the intl [NumberFormatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. * @see \yii\i18n\Formatter::numberFormatterOptions * - * @method static void setNumberFormatterSymbols(array $value) Sets a list of name value pairs that are passed to the intl [Numberformatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]]. + * @method static void setNumberFormatterSymbols(array $value) Sets a list of name value pairs that are passed to the intl [NumberFormatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]]. * @see \yii\i18n\Formatter::numberFormatterSymbols * - * @method static void setNumberFormatterTextOptions(array $value) Sets a list of name value pairs that are passed to the intl [Numberformatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. + * @method static void setNumberFormatterTextOptions(array $value) Sets a list of name value pairs that are passed to the intl [NumberFormatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]]. * @see \yii\i18n\Formatter::numberFormatterTextOptions * * @method static void setSizeFormatBase(int $value) Sets the base at which a kilobyte is calculated (1000 or 1024 bytes per kilobyte), used by [[asSize]] and [[asShortSize]]. diff --git a/src/Http.php b/src/Http.php index 2db57e3..8778118 100644 --- a/src/Http.php +++ b/src/Http.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/I18n.php b/src/I18n.php index 3becd75..1b561c5 100644 --- a/src/I18n.php +++ b/src/I18n.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/Log.php b/src/Log.php index e473c97..37677a8 100644 --- a/src/Log.php +++ b/src/Log.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/Mailer.php b/src/Mailer.php index db23d8c..d2957fc 100644 --- a/src/Mailer.php +++ b/src/Mailer.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/Redis.php b/src/Redis.php index a64affb..5e024ff 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -91,7 +91,7 @@ * @method static int getPort() Returns the port to use for connecting to the redis server. * @see \yii\redis\Connection::port * - * @method static array getRedisCommands() Returns List of available redis commands http://redis. + * @method static array getRedisCommands() Returns List of available redis commands. * @see \yii\redis\Connection::redisCommands * * @method static int getSocketClientFlags() Returns Bitmask field which may be set to any combination of connection flags passed to [stream_socket_client()](http://php.net/manual/en/function.stream-socket-client.php). @@ -118,7 +118,7 @@ * @method static void setPort(int $value) Sets the port to use for connecting to the redis server. * @see \yii\redis\Connection::port * - * @method static void setRedisCommands(array $value) Sets List of available redis commands http://redis. + * @method static void setRedisCommands(array $value) Sets List of available redis commands. * @see \yii\redis\Connection::redisCommands * * @method static void setSocketClientFlags(int $value) Sets Bitmask field which may be set to any combination of connection flags passed to [stream_socket_client()](http://php.net/manual/en/function.stream-socket-client.php). diff --git a/src/Request.php b/src/Request.php index 3e10a75..d93e21b 100644 --- a/src/Request.php +++ b/src/Request.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -251,7 +251,7 @@ * @method static void trigger(string $name, \yii\base\Event $event = null) Triggers an event. * @see \yii\base\Component::trigger * - * @method static bool validateCsrfToken(string $token = null) Performs the CSRF validation. + * @method static bool validateCsrfToken(string $clientSuppliedToken = null) Performs the CSRF validation. * @see \yii\web\Request::validateCsrfToken * * Property accessors diff --git a/src/Response.php b/src/Response.php index d2f8a98..7f64c08 100644 --- a/src/Response.php +++ b/src/Response.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -116,9 +116,12 @@ * @method static \yii\web\Response setDownloadHeaders(string $attachmentName, string $mimeType = null, bool $inline = false, int $contentLength = null) Sets a default set of HTTP headers for file downloading purpose. * @see \yii\web\Response::setDownloadHeaders * - * @method static void setStatusCode(int $value, string $text = null) Sets the response status code. + * @method static \yii\web\Response setStatusCode(int $value, string $text = null) Sets the response status code. * @see \yii\web\Response::setStatusCode * + * @method static \yii\web\Response setStatusCodeByException(\Exception|\Error $e) Sets the response status code based on the exception. + * @see \yii\web\Response::setStatusCodeByException + * * @method static void trigger(string $name, \yii\base\Event $event = null) Triggers an event. * @see \yii\base\Component::trigger * diff --git a/src/Router.php b/src/Router.php index 26bb2ba..47d47c8 100644 --- a/src/Router.php +++ b/src/Router.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/Security.php b/src/Security.php index f9a1a62..994870a 100644 --- a/src/Security.php +++ b/src/Security.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -74,6 +74,9 @@ * @method static string hkdf(string $algo, string $inputKey, string $salt = null, string $info = null, int $length = 0) Derives a key from the given input key using the standard HKDF algorithm. * @see \yii\base\Security::hkdf * + * @method static string maskToken(string $token) Masks a token to make it uncompressible. + * @see \yii\base\Security::maskToken + * * @method static bool off(string $name, callable $handler = null) Detaches an existing event handler from this component. * @see \yii\base\Component::off * @@ -86,7 +89,10 @@ * @method static void trigger(string $name, \yii\base\Event $event = null) Triggers an event. * @see \yii\base\Component::trigger * - * @method static string validateData(string $data, string $key, bool $rawHash = false) Validates if the given data is tampered. + * @method static string unmaskToken(string $maskedToken) Unmasks a token previously masked by `maskToken`. + * @see \yii\base\Security::unmaskToken + * + * @method static string|bool validateData(string $data, string $key, bool $rawHash = false) Validates if the given data is tampered. * @see \yii\base\Security::validateData * * @method static bool validatePassword(string $password, string $hash) Verifies a password against a hash. diff --git a/src/Session.php b/src/Session.php index ca45811..ebe9e7f 100644 --- a/src/Session.php +++ b/src/Session.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) @@ -131,7 +131,7 @@ * @method static string readSession(string $id) Session read handler. * @see \yii\web\Session::readSession * - * @method static void regenerateID(bool $deleteOldSession = false) Updates the current session ID with a newly generated one . + * @method static void regenerateID(bool $deleteOldSession = false) Updates the current session ID with a newly generated one. * @see \yii\web\Session::regenerateID * * @method static mixed remove(string $key) Removes a session variable. diff --git a/src/User.php b/src/User.php index 9ff9243..52fff46 100644 --- a/src/User.php +++ b/src/User.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru) diff --git a/src/View.php b/src/View.php index c0aa711..21ae667 100644 --- a/src/View.php +++ b/src/View.php @@ -2,7 +2,7 @@ /** * Facades for Yii 2 * - * Generated on Yii 2.0.11.2 + * Generated on Yii 2.0.12 * * @see https://github.com/sergeymakinen/yii2-facades * @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)