We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8147601 commit 8871ab2Copy full SHA for 8871ab2
phpunit.xml
@@ -1,4 +1,4 @@
1
-<phpunit bootstrap="src/ASTConverter/Bootstrap.php">
+<phpunit bootstrap="tests/Bootstrap.php">
2
<testsuites>
3
<testsuite name="ConverterTests">
4
<directory>tests</directory>
src/ASTConverter/Bootstrap.php renamed to tests/Bootstrap.php
@@ -1,12 +1,5 @@
<?php declare(strict_types=1);
-// Listen for all errors
-error_reporting(E_ALL);
5
-
6
-// Add the root to the include path
7
-define('CLASS_DIR', __DIR__ . '/../');
8
-set_include_path(get_include_path().PATH_SEPARATOR.CLASS_DIR);
9
10
// Use the composer autoloader
11
foreach ([
12
__DIR__.'/../../vendor/autoload.php', // autoloader is in this project
0 commit comments