Skip to content

Commit

Permalink
Set PHPUNIT_COMPOSER_INSTALL before requiring the autoloader so it …
Browse files Browse the repository at this point in the history
…can access it (#794) (#795)

Co-authored-by: Mathieu <[email protected]>
  • Loading branch information
Slamdunk and MatTheCat authored Oct 4, 2023
1 parent 1526eb4 commit 882b02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/phpunit-wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

foreach ($composerAutoloadFiles as $file) {
if (file_exists($file)) {
require_once $file;
define('PHPUNIT_COMPOSER_INSTALL', $file);
require_once $file;

break;
}
Expand Down

0 comments on commit 882b02d

Please sign in to comment.