I'm having a problem with my freshly installed Laravel.
when I'm trying to use phpunit
command to run default ExampleTest.php
, I got this error :
D:\Laravel\Rahimi0151>phpunit
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\php\pear\PHPUnit\TextUI\Command.php on line 277
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\php\pear\PHPUnit\TextUI\Command.php on line 277
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\php\pear\PHPUnit\TextUI\Command.php on line 285
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\php\pear\PHPUnit\TextUI\Command.php on line 285
PHPUnit 3.7.21 by Sebastian Bergmann.
Configuration read from D:\Laravel\Rahimi0151\phpunit.xml
Time: 0 seconds, Memory: 4.00Mb
[30;43m[2KNo tests executed!
[0m[2K
and at the bottom, it says :
No tests executed!
Can someone please help me with a solution?