Fix Yii compatibility with AspectMock

Without this change testing with codeception & AspectMock aborts with following error ```Passed array does not specify an existing static method (class 'YiiBase' not found)```