kalessil / yii2inspections

MIT License
31 stars 3 forks source link

`Missing View file` inspection does not process controller name with multiple words #40

Open mariohuq opened 3 years ago

mariohuq commented 3 years ago

Inspection PHP Framework Yii2 Views Missing View file behave incorrectly in this situation:

Controller SDaController with action actionIndex calls view via $this->render('index'). There is view file views/s-da/index.php. But inspection looks for views/sda/index.php instead of it.

Message is View file for "index" not found in "/views/sda/index.php".

Plugin version: 1.0.5