Fix for few sections to match doc style guidelines

Yii2 -> Yii 2
This commit is contained in:
Bizley
2015-07-20 10:42:28 +02:00
parent e218688d3d
commit 4c245d39c1
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;

View File

@ -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)".

View File

@ -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;