I am using PhpStorm with Yii2 advanced template. I have seen all Yii2 documents. Everything's fine. There's some questions about integrating Yii2 and PhpStorm (both are my favorites) that googling caused no good solution. Maybe many developers has same questions so that I want to ask here:
- I have installed codeception globally with composer then have build and run all tests included in advanced template with codeception. everything is OK. But when I want to write new (frontend, backend , ...) test in PhpStorm, there is no auto-complete for using codeception. Also when you open some existing default tests in PhpStorm such as
SignupCest.phpfile, namespaces are undefined and PhpStorm cannot find referenced method in subject classes!
Any suggestion or solution?
updated
- Could anyone help with a complete tutorial on how to debug a yii2 project with Xdebug, PhpStorm and Chrome/Firefox? Although there are some tutorial on debugging pure Php projects/scripts but didn't find any on yii2.