Skip to content

Commit

Permalink
remove phpunit 9 stub (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziadoz authored Mar 28, 2024
1 parent 7352c76 commit 037c8a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
6 changes: 1 addition & 5 deletions src/Console/DuskCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,7 @@ protected function writeConfiguration()
{
if (! file_exists($file = base_path('phpunit.dusk.xml')) &&
! file_exists(base_path('phpunit.dusk.xml.dist'))) {
if (version_compare(Version::id(), '10.0', '>=')) {
copy(realpath(__DIR__.'/../../stubs/phpunit.xml'), $file);
} else {
copy(realpath(__DIR__.'/../../stubs/phpunit9.xml'), $file);
}
copy(realpath(__DIR__.'/../../stubs/phpunit.xml'), $file);

return;
}
Expand Down
16 changes: 0 additions & 16 deletions stubs/phpunit9.xml

This file was deleted.

0 comments on commit 037c8a8

Please sign in to comment.