Skip to content

Commit f62caaf

Browse files
committed
Update to use PSR-4 autoloading
1 parent 0c19045 commit f62caaf

File tree

9 files changed

+6
-7
lines changed

9 files changed

+6
-7
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
"react/event-loop": "You need some kind of event loop for this to make sense."
3737
},
3838
"autoload": {
39-
"psr-0": { "React\\Async": "src" }
39+
"psr-4": { "React\\Async\\": "src/" }
40+
},
41+
"autoload-dev": {
42+
"psr-4": { "React\\Tests\\Async\\": "tests/" }
4043
},
4144
"extra": {
4245
"branch-alias": {

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
processIsolation="false"
1010
stopOnFailure="false"
1111
syntaxCheck="false"
12-
bootstrap="tests/bootstrap.php"
12+
bootstrap="vendor/autoload.php"
1313
>
1414
<testsuites>
1515
<testsuite name="React-Async Test Suite">
16-
<directory>./tests/React/</directory>
16+
<directory>./tests/</directory>
1717
</testsuite>
1818
</testsuites>
1919

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/bootstrap.php

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

0 commit comments

Comments
 (0)