[英]PHP Fatal errors on PhpStorm for Laravel Project using WampServer when run/debug
I have tried to run/debug multiple projects on PhpStorm (two of them are imported, one is created on phpstorm) Each of them gives me (different) PHP Fatal errors when I run or debug. 我尝试在PhpStorm上运行/调试多个项目(其中两个已导入,一个在phpstorm上创建),每个项目在运行或调试时都会给我(不同的)PHP致命错误。
This is the first error. 这是第一个错误。
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
Problem is that CacheTest exists. 问题是CacheTest存在。
The second project: 第二个项目:
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
Again, it exists. 同样,它存在。
Project that I completely set up on PhpStorm for testing. 我完全在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
Different and same. 不同和相同。
Am I missing something? 我想念什么吗? I tried to google these errors only to find specific (but probably outdated as I had even more errors trying them) solutions.
我试图用谷歌搜索这些错误,只是为了找到特定的解决方案(但可能已经过时,因为我尝试它们时甚至遇到了更多错误)。
How did you configure PHPUnit in File | 如何在文件中配置PHPUnit? Settings |
设置| Languages & Frameworks |
语言和框架| PHP |
PHP | PHPUnit ?
PHPUnit的 ? Is it PHPunit 5 or 6?
是PHPunit 5还是6? You might want to attach a screenshot of your config here.
您可能想要在此处附加配置的屏幕截图。
Are there any inspection errors in C:\\wamp64\\www\\larasocial\\vendor\\doctrine\\inflector\\tests\\Doctrine\\Tests\\Common\\Inflector\\InflectorTest.php on line 8, eg DoctrineTestCase or TestCase are highlighted? 第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.