Skip to content

Commit 9b521fe

Browse files
committed
Use psr-4 for autoloading
1 parent 2581605 commit 9b521fe

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.phpunit.result.cache
12
phpunit.xml
23
vendor
34
composer.lock

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"phpunit/phpunit": "^8.4"
2525
},
2626
"autoload": {
27-
"psr-0": { "PSS\\SymfonyMockerContainer": "src/" }
27+
"psr-4": { "PSS\\SymfonyMockerContainer\\": "src/" }
2828
}
2929
}

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
<testsuites>
66
<testsuite name="SymfonyMockerContainer test suite">
7-
<directory suffix="Test.php">./src/PSS/SymfonyMockerContainer/Tests</directory>
7+
<directory suffix="Test.php">./tests</directory>
88
</testsuite>
99
</testsuites>
1010

1111
<filter>
1212
<whitelist>
1313
<directory>./src</directory>
1414
<exclude>
15-
<directory>./src/PSS/SymfonyMockerContainer/Tests</directory>
15+
<directory>./tests</directory>
1616
<directory>./vendor</directory>
1717
</exclude>
1818
</whitelist>

src/PSS/SymfonyMockerContainer/DependencyInjection/MockerContainer.php renamed to src/DependencyInjection/MockerContainer.php

File renamed without changes.

src/PSS/SymfonyMockerContainer/Tests/DependencyInjection/MockerContainerTest.php renamed to tests/DependencyInjection/MockerContainerTest.php

File renamed without changes.

0 commit comments

Comments
 (0)