diff --git a/tests/phpstan.autoload.inc.php b/tests/phpstan.autoload.inc.php index b35fd35..889f99c 100644 --- a/tests/phpstan.autoload.inc.php +++ b/tests/phpstan.autoload.inc.php @@ -27,7 +27,6 @@ // Define application config lookup path $paths = [ get_include_path(), - $base . '/config', $base . '/src', ]; diff --git a/tests/test.bootstrap.inc.php b/tests/test.bootstrap.inc.php index c10f13c..1322b5e 100644 --- a/tests/test.bootstrap.inc.php +++ b/tests/test.bootstrap.inc.php @@ -12,12 +12,15 @@ $base = __DIR__ . '/..'; +// Define application config lookup path +$paths = [ + get_include_path(), + $base . '/src', + $base . '/tests/statics/Core' , +]; + set_include_path( - $base . '/src:' . - $base . '/tests:' . - $base . '/tests/statics:' . - $base . '/tests/statics/Core:' . - get_include_path() + implode(':', $paths) ); if (file_exists($base . '/vendor/autoload.php') == TRUE)