changedAttributes of AfterSaveEvent contain an old values
change PhpDoc of param
unify changedAttributes of afterSave in extensions
[Uk][Guide] intro-yii.md [skip ci]
Fixes #4072: `\yii\rbac\PhpManager` adjustments

- Data is now stored in three separate files for items, assignments and rules. File format is simpler.
- Removed `authFile`. Added `itemsFile`, `assignmentsFile` and `rulesFile`.
- `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
- `save()` and `load()` are now protected instead of public.
- Added unit test for saving and loading data.
Merge branch 'master' into rbac-phpmanager-adjusment

Conflicts:
	framework/UPGRADE.md
Fixed a call of function "generateRandomKey()" in app\base\Security
Merge pull request #4108 from fps01/master

Fixed a call of function "generateRandomKey()" in app\base\Security
Merge pull request #4092 from dizews/afterUpdate_event_ench

changedAttributes of AfterSaveEvent contain an old values
cleanup after #4092

fixes #4086
Adjusted naming
Result check at `Security::generateRandomKey()` added
made mcrypt a framework requirement
Update requirements.php
Merge pull request #4104 from yiisoft/rbac-phpmanager-adjusment

\yii\rbac\PhpManager adjustments
Advanced app `User` model code style fixes
Advanced app `User` model code style fixes
Merge pull request #4117 from creocoder/apps-advanced-common-user-code-style-fixes

[skip-ci] Advanced app `User` model code style fixes
Review requirements

fileinfo is not a hard dependency.
make fileinfo optional requirement