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 |
|---|---|---|
| .. | ||
| ArrayHelper.php | Loading commit data... | |
| ArrayHelperBase.php | Loading commit data... | |
| Console.php | Loading commit data... | |
| ConsoleBase.php | Loading commit data... | |
| FileHelper.php | Loading commit data... | |
| FileHelperBase.php | Loading commit data... | |
| Html.php | Loading commit data... | |
| HtmlBase.php | Loading commit data... | |
| HtmlPurifier.php | Loading commit data... | |
| HtmlPurifierBase.php | Loading commit data... | |
| Inflector.php | Loading commit data... | |
| InflectorBase.php | Loading commit data... | |
| Json.php | Loading commit data... | |
| JsonBase.php | Loading commit data... | |
| Markdown.php | Loading commit data... | |
| MarkdownBase.php | Loading commit data... | |
| Security.php | Loading commit data... | |
| SecurityBase.php | Loading commit data... | |
| StringHelper.php | Loading commit data... | |
| StringHelperBase.php | Loading commit data... | |
| VarDumper.php | Loading commit data... | |
| VarDumperBase.php | Loading commit data... | |
| mimeTypes.php | Loading commit data... |