title: PHPunit Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration()
body: <p>i don't know if it's related to Laravel 5.4. when i run <code>phpunit</code> command after installing laravel 5.4 without making any changes i get <code>Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration()</code> but when i run <code>php artisan dusk</code> it runs normally</p>
  
  <pre><code>c:\xampp\htdocs\ublocker&gt;phpunit
  PHP Fatal error:  Uncaught Error: Call to undefined method
  PHPUnit_Util_Configuration::getTestdoxGroupConfiguration() in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php:1046
  Stack trace:
  #0 C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php(167): PHPUnit_TextUI_TestRunner-&gt;handleConfiguration(Array)
  #1 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(176): PHPUnit_TextUI_TestRunner-&gt;doRun(Object(PHPUnit_Framework_TestSuite), Array)
  #2 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(129): PHPUnit_TextUI_Command-&gt;run(Array, true)
  #3 C:\xampp\php\phpunit(46): PHPUnit_TextUI_Command::main()
  #4 {main}
  thrown in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php on line 1046
  
  Fatal error: Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration() in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php:1046
  Stack trace:
   C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php(167): PHPUnit_TextUI_TestRunner-&gt;handleConfiguration(Array)
  C:\xampp\php\pear\PHPUnit\TextUI\Command.php(176): PHPUnit_TextUI_TestRunner-&gt;doRun(Object(PHPUnit_Framework_TestSuite), Array)
  C:\xampp\php\pear\PHPUnit\TextUI\Command.php(129): PHPUnit_TextUI_Command-&gt;run(Array, true)
  C:\xampp\php\phpunit(46): PHPUnit_TextUI_Command::main()
  {main}
  thrown in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php on line 1046
  
  c:\xampp\htdocs\ublocker&gt;phpunit
  PHP Fatal error:  Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration() in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php:1046
  Stack trace:
  #0 C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php(167): PHPUnit_TextUI_TestRunner-&gt;handleConfiguration(Array)
  #1 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(176): PHPUnit_TextUI_TestRunner-&gt;doRun(Object(PHPUnit_Framework_TestSuite), Array)
  #2 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(129): PHPUnit_TextUI_Command-&gt;run(Array, true)
  #3 C:\xampp\php\phpunit(46): PHPUnit_TextUI_Command::main()
  #4 {main}
  thrown in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php on line 1046
  
  Fatal error: Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration() in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php:1046
  Stack trace:
  #0    C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php(167): PHPUnit_TextUI_TestRunner-&gt;handleConfiguration(Array)
  #1 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(176): PHPUnit_TextUI_TestRunner-&gt;doRun(Object(PHPUnit_Framework_TestSuite), Array)
  #2 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(129): PHPUnit_TextUI_Command-&gt;run(Array, true)
  #3 C:\xampp\php\phpunit(46): PHPUnit_TextUI_Command::main()
  #4 {main}
  thrown in C:\xampp\htdocs\ublocker\vendor\phpunit\phpunit\src\TextUI\TestRunner.php on line 1046
  
  c:\xampp\htdocs\ublocker&gt;php artisan dusk
  PHPUnit 5.7.7 by Sebastian Bergmann and contributors.
  
  F.                                                                  2 / 2 (100%)
  </code></pre>
  
  <p>any ideas how to fix this?</p>