From e296f40c733f111e2956f36eeca58ec8e1d46a02 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 19 Aug 2022 01:10:27 +0300 Subject: [PATCH] Fix typos --- framework/CHANGELOG.md | 6 +++--- framework/UPGRADE.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 5750f041f5..b6ddb47d7d 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -5,7 +5,7 @@ Yii Framework 2 Change Log ------------------------ - Bug #19467: Revert changes in `Inflector::camel2words()` introduced in #19204 (samdark) -- Bug #19471: Enable console commands on hostings with disabled `exec()` function (WinterSilence, lubosdz) +- Bug #19471: Enable console commands on hosting with disabled `exec()` function (WinterSilence, lubosdz) - Bug #19469: Fix a virtual relation not working because of new isset checks in `\yii\db\ActiveRelationTrait` (wvanheumen) - Bug #19380: Fix PHP 8.1 passing non string to trim() in `yii\db\Query` (wa1kb0y) - Bug #19272: Fix bug in dirty attributes check on multidimensional array (speedplli) @@ -16,7 +16,7 @@ Yii Framework 2 Change Log - Enh #19270: Replace deprecated `scss` converter in `yii\web\AssetConverter::$commands` (WinterSilence) - Enh #19254: Support specifying custom characters for `yii.validation.trim()` and replace deprecated `jQuery.trim()` (WinterSilence) - Bug #19291: Reset errors and validators in `yii\base\Model::__clone()` (WinterSilence) -- Enh #19295: Added alias `text/rtf` for mime-type `application/rtf` (lesha724) +- Enh #19295: Add alias `text/rtf` for mime-type `application/rtf` (lesha724) - Enh #19308: Add `yii\web\UploadedFile::$fullPath` represents 'full_path' key added in PHP 8.1 (WinterSilence) - Bug #19303: Fix serialization in `yii\caching\Dependency::generateReusableHash()` (WinterSilence) - Enh #19304: Add filtering validator `yii\validators\TrimValidator` (WinterSilence) @@ -42,7 +42,7 @@ Yii Framework 2 Change Log - Enh #19437: Add support to specify request port by trusted proxies in `\yii\web\Request::getServerPort()` (rhertogh) - Bug #19445: Fix caching in `yii\i18n\Formatter::getUnitMessage()` (WinterSilence) - Bug #19454: Fix PDO exception code not properly passed to `yii\db\Exception` (Roguyt) -- Bug #19477: cast shell_exec() output to string (schmunk42) +- Bug #19477: Cast shell_exec() output to string (schmunk42) - Bug #19481: Exception is always empty in ErrorHandler when handling fatal error (Renkas) - Bug #19462: Fix validator client options to encode HTML tags (bizley) - Bug #19259: Fix `yii\log\FileTarget` locking and always rotate files only by copy (bizley, mikehaertl) diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index 5ae7f63efc..19da4c28f9 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -54,7 +54,7 @@ for both A and B. Upgrade from Yii 2.0.45 ----------------------- -* Changes in `Inflector::camel2words()` introduced in 2.0.45 were reverted so it works as in pre-2.0.45. If you need +* Changes in `Inflector::camel2words()` introduced in 2.0.45 were reverted, so it works as in pre-2.0.45. If you need 2.0.45 behavior, [introduce your own method](https://github.com/yiisoft/yii2/pull/19495/files). * `yii\log\FileTarget::$rotateByCopy` is now deprecated and setting it to `false` has no effect since rotating of the files is done only by copy.