I am using with . 与 。 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:
SignupCest.php
file, namespaces are undefined and PhpStorm cannot find referenced method in subject classes! Any suggestion or solution?
In Settings
in Language & Frameworks
in PHP
set Include path
to codeception. Like this
For those Who want to know:
After that you included the codeception framework's path to your project you have to change PHPDoc Blocks for correct addressing of @param.
For example acceptance test
namespaces in SignupCest.php file:
From: @param \\codeception_frontend\\AcceptanceTester $I
To: @param AcceptanceTester $I
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.