Skip to content

Commit e2ea44d

Browse files
committed
Convert to psr-4
Directories have been simplified to just src/ and test/ The Test bootstrap file is no longer needed, and the typo in the test filename has been fixed.
1 parent 936eed8 commit e2ea44d

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"autoload": {
13-
"psr-0": {"JakubOnderka\\PhpConsoleHighlighter": "src/"}
13+
"psr-4": {"JakubOnderka\\PhpConsoleHighlighter\\": "src/"}
1414
},
1515
"require": {
1616
"php": ">=5.3.0",

phpunit.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="tests/bootstrap.php">
2+
<phpunit bootstrap="./vendor/autoload.php">
33
<testsuites>
44
<testsuite>
5-
<directory>tests/*</directory>
5+
<directory suffix="Test.php">tests</directory>
66
</testsuite>
77
</testsuites>
88

@@ -12,4 +12,4 @@
1212
<directory>vendor</directory>
1313
</blacklist>
1414
</filter>
15-
</phpunit>
15+
</phpunit>

tests/bootstrap.php

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)