yiisoft/yii2 — pull request #2491 by githubjeka (2014-02-19 13:23:11+00:00)
Title: Classname search model wrong. Gii.

When I generate crud:
**model - ```app\models\Work```**
**Search Model - ```app\models\search\Work```**
I get critical error in SearchModel file -**"Class with same name alredy defines in this file"**
PR add validate the situation.