- 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
* master: (27 commits)
form wip
form wip
form WIP
script WIP
Minor change about twig alias.
Added Controller::populate().
Added bootstrap. form WIP
form wip
form wip
Refactored UrlManager.
refactored AccessControl
activeform WIP
Removed the $value parameter from radio and checkbox.
Support alternative URL rule syntax.
Support default standard component class.
updated view renderers docs
activeform wip
Refactored view renderers.
updated view renderers docs
refactoring activeform.
...
* origin/master: (104 commits)
Fixed typo in query builder and reverted changes to DbCache.php
added note about enabling APC cache for CLI
more assertions for cache test
fixed dbcache multiget
fixed Html test under Windows (line endings)
fixed DB quoting typo
create a webapp in test bootstrap
updated expected exception message
Added a basic app.
initial implementation of asset command.
script WIP
script command WIP
Fixed bug in yiic.php. Refactoring AssetConverter.
adjusted default app layout
refactoring and documentation for asset/script management.
Finished asset converter.
removed unnecessary code, added comment about displaying errors
better handling of errors during rendering an error
safer exception rendering
turn asset manager into a getter.
...