| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assets | ||
| base | ||
| behaviors | ||
| bootstrap | ||
| caching | ||
| console | ||
| data | ||
| db | ||
| debug | ||
| helpers | ||
| i18n | ||
| log | ||
| rbac | ||
| requirements | ||
| test | ||
| validators | ||
| views | ||
| web | ||
| widgets | ||
| .gitignore | ||
| .htaccess | ||
| Yii.php | ||
| YiiBase.php | ||
| assets.php | ||
| classes.php | ||
| yii | ||
| yii.bat |
This is a very tiny patch that changes nothing in code logic, but is required to get [AspectMock](https://github.com/Codeception/AspectMock) and Go Aop working with Yii2. Go Aop is processing all `include` and `require` directives, replacing them with its filters. Unfortunately it doesn't play well with one-liners. So I had to break the code into few lines to get that working. I was trying to fix this issue in [Go Aop](https://github.com/lisachenko/go-aop-php/pull/78) but looks like, the only option is to fix that in Yii2. AspectMock can dramaticly improve unit testing in Yii2, and I plan to do a blogpost with tutorial about it.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assets | Loading commit data... | |
| base | Loading commit data... | |
| behaviors | Loading commit data... | |
| bootstrap | Loading commit data... | |
| caching | Loading commit data... | |
| console | Loading commit data... | |
| data | Loading commit data... | |
| db | Loading commit data... | |
| debug | Loading commit data... | |
| helpers | Loading commit data... | |
| i18n | Loading commit data... | |
| log | Loading commit data... | |
| rbac | Loading commit data... | |
| requirements | Loading commit data... | |
| test | Loading commit data... | |
| validators | Loading commit data... | |
| views | Loading commit data... | |
| web | Loading commit data... | |
| widgets | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .htaccess | Loading commit data... | |
| Yii.php | Loading commit data... | |
| YiiBase.php | Loading commit data... | |
| assets.php | Loading commit data... | |
| classes.php | Loading commit data... | |
| yii | Loading commit data... | |
| yii.bat | Loading commit data... |