mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Fix for few sections to match doc style guidelines
Yii2 -> Yii 2
This commit is contained in:
@ -52,7 +52,7 @@ Module is a sub-application which contains MVC elements by itself, such as model
|
||||
|
||||
## namespace
|
||||
|
||||
Namespace refers to a [PHP language feature](http://php.net/manual/en/language.namespaces.php) which is actively used in Yii2.
|
||||
Namespace refers to a [PHP language feature](http://php.net/manual/en/language.namespaces.php) which is actively used in Yii 2.
|
||||
|
||||
# P
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ Testing environment setup
|
||||
|
||||
> Note: This section is under development.
|
||||
|
||||
Yii2 has officially maintained integration with [`Codeception`](https://github.com/Codeception/Codeception) testing
|
||||
Yii 2 has officially maintained integration with [`Codeception`](https://github.com/Codeception/Codeception) testing
|
||||
framework that allows you to create the following test types:
|
||||
|
||||
- [Unit testing](test-unit.md) - verifies that a single unit of code is working as expected;
|
||||
|
||||
@ -22,4 +22,4 @@ Framework unit tests
|
||||
--------------------
|
||||
|
||||
If you want to run unit tests for Yii framework itself follow
|
||||
"[Getting started with Yii2 development](https://github.com/yiisoft/yii2/blob/master/docs/internals/getting-started.md)".
|
||||
"[Getting started with Yii 2 development](https://github.com/yiisoft/yii2/blob/master/docs/internals/getting-started.md)".
|
||||
|
||||
@ -160,7 +160,7 @@ class Yii extends \yii\BaseYii
|
||||
}
|
||||
|
||||
Yii::$classMap = include($yii2path . '/classes.php');
|
||||
// register Yii2 autoloader via Yii1
|
||||
// register Yii 2 autoloader via Yii 1
|
||||
Yii::registerAutoloader(['Yii', 'autoload']);
|
||||
// create the dependency injection container
|
||||
Yii::$container = new yii\di\Container;
|
||||
|
||||
Reference in New Issue
Block a user