Skip to content

Commit

Permalink
add condition for autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Pichat committed Feb 13, 2024
1 parent ba67d99 commit 82543c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Integration/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@
define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__, 4) . '/vendor/autoload.php');
}

require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
if (file_exists(dirname(__DIR__, 2) . '/vendor/autoload.php')) {
require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
}

0 comments on commit 82543c8

Please sign in to comment.