Skip to content

Commit 69b7e10

Browse files
authored
Merge pull request #118 from bigfoot90/autoload-dev
composer autoload-dev
2 parents d07bed1 + 964ca2c commit 69b7e10

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@
3131
"psr-4": {
3232
"SqlParser\\": "src"
3333
}
34+
},
35+
"autoload-dev": {
36+
"psr-4": {
37+
"SqlParser\\Tests\\": "tests"
38+
}
3439
}
3540
}

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
33
backupStaticAttributes="false"
4-
bootstrap="tests/bootstrap.php"
4+
bootstrap="vendor/autoload.php"
55
colors="true"
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
use SqlParser\Lexer;
1010
use SqlParser\Parser;
11-
12-
require_once 'vendor/autoload.php';
11+
use SqlParser\TokensList;
1312

1413
/**
1514
* Implements useful methods for testing.

0 commit comments

Comments
 (0)