issue #33
- implemted getScreenSize for linux systems
- tiny adjustments and better naming for console color methods
- color switch in base Controller changed to magic property
- colorized Help command
* 'unittest-app-dependency' of https://github.com/bwoester/yii2:
mod: incorporate suggestions - rename requireApp() to mockApplication() - always destroy app on tearDown() - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN - mockApplication() becomes a lot easier. Destroying app on each tearDown means creating it on every call is fine. No more checking if it already exists and if it has been created from the same config. - \yii::$app should have been \Yii::$app
add: new key for unit tests config named "className". Allows to run the tests using different Application instances (consoleApp/ webApp) mod: TestCase::getParam accepts second param $default=null
mod: don't create app in bootstrap script, unit tests do it themselves add: option to destroy app after each test to find unit tests that fail to require an app
allow unit tests to requireApp() on setUp()
Conflicts:
tests/unit/data/config.php
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
- eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
- mockApplication() becomes a lot easier. Destroying app on each tearDown
means creating it on every call is fine. No more checking if it already
exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app
* 'master' of git://github.com/yiisoft/yii2:
Updated framework paths in composer.json
Moved "framework" to "iii".
Fixed Yii::importNamespaces() bug.
Fixes issue #174: make URL parameters available in $_GET.
refactoring.
Removed static variable from autoload per qiangxue's suggestion
Renamed yii.php -> Yii.php for class, filename consitency
created StringHelper::basename()
Fixed YiiBaseTest echo
Check if trait was loaded
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes#192