mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 11:39:41 +08:00
* Fixed PhpDoc in Migration.php (revert #18886) Fixed the return type of `up()`, `down()`, `safeUp()` and `safeDown()` functions to match the described behavior. The current implementation checks for `false`, "all other return values mean the migration succeeds". This PR also reverts #18886 since it was a code fix for what was documentation error. Allow all possible values for `yii\db\Migration` functions `up()`, `down()`, `safeUp()` and `safeDown()`
Yii PHP Framework Version 2
This is the core framework code of Yii 2.
This repository is a read-only git subsplit of https://github.com/yiisoft/yii2. Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.
Installation
The preferred way to install the Yii framework is through composer.
Refer to Bower and NPM Assets installation to select an asset installation method.
Either run
composer require yiisoft/yii2
or add
"yiisoft/yii2": "~2.0.0",
to the require section of your composer.json.