[英]PHP Fatal errors on PhpStorm for Laravel Project using WampServer when run/debug
我尝试在PhpStorm上运行/调试多个项目(其中两个已导入,一个在phpstorm上创建),每个项目在运行或调试时都会给我(不同的)PHP致命错误。
这是第一个错误。
PHP Fatal error: Class 'Doctrine\Tests\Common\Cache\CacheTest' not found in C:\wamp64\www\bodisatva\vendor\doctrine\cache\tests\Doctrine\Tests\Common\Cache\ApcCacheTest.php on line 10
问题是CacheTest存在。
第二个项目:
PHP Fatal error: Class 'Doctrine\Tests\DoctrineTestCase' not found in C:\wamp64\www\larasocial\vendor\doctrine\inflector\tests\Doctrine\Tests\Common\Inflector\InflectorTest.php on line 8
同样,它存在。
我完全在PhpStorm上设置的项目用于测试。
PHP Fatal error: Class 'Tests\Behat\Gherkin\Keywords\KeywordsTest' not found in C:\wamp64\www\larazine\vendor\behat\gherkin\tests\Behat\Gherkin\Keywords\ArrayKeywordsTest.php on line 8
不同和相同。
我想念什么吗? 我试图用谷歌搜索这些错误,只是为了找到特定的解决方案(但可能已经过时,因为我尝试它们时甚至遇到了更多错误)。
如何在文件中配置PHPUnit? 设置| 语言和框架| PHP | PHPUnit的 ? 是PHPunit 5还是6? 您可能想要在此处附加配置的屏幕截图。
第8行的C:\\ wamp64 \\ www \\ larasocial \\ vendor \\ doctrine \\ inflector \\ tests \\ Doctrine \\ Tests \\ Common \\ Inflector \\ InflectorTest.php中是否存在任何检查错误,例如DoctrineTestCase或TestCase被突出显示?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.