Merge pull request #675 from Jomaanro/master

Advanced app: Rename www to web in configuration
typo fix
Add .gitkeep for coveralls reports
Travis-ci and phpunit config for coveralls
Update to be in-line with composer docs.
Merge pull request #678 from suralc/coveralls-impl-2

Coveralls.io travis settings and phpunit
viewRenderers -> renderers
Merge pull request #680 from suralc/readme

viewRenderers -> renderers
Fix SORT_DESC comment in Query.php
Merge pull request #681 from aivus/query

Fix SORT_DESC comment in Query.php
fixes #677
fixes #650
Fixes #686
Added Sort::hasAttribute().
Added more YII_ENV constants.
Merge pull request #695 from Jomaanro/master

[doc] Correct validation rule in model
enhanced the usage of StringValidator.
Make ActiveRecord::getNamespacedClass() static
A simple patch to get AspectMock and Go Aop working with Yii2

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.
formatting fix