Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Use PSR-4 autoloading (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx authored and greg0ire committed Jul 27, 2017
1 parent efc6be4 commit 751612c
Show file tree
Hide file tree
Showing 97 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,10 @@
"sonata-project/admin-bundle-persistency-layer": "1.0.0"
},
"autoload": {
"psr-4": { "Sonata\\DoctrinePHPCRAdminBundle\\": "" },
"exclude-from-classmap": [
"Tests/"
]
"psr-4": { "Sonata\\DoctrinePHPCRAdminBundle\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Sonata\\DoctrinePHPCRAdminBundle\\Tests\\": "Tests/" }
"psr-4": { "Sonata\\DoctrinePHPCRAdminBundle\\Tests\\": "tests/" }
},
"config": {
"sort-packages": true
Expand Down
6 changes: 3 additions & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="Tests/bootstrap.php"
bootstrap="tests/bootstrap.php"
>
<php>
<!-- Disable E_USER_DEPRECATED until 3.0 -->
Expand All @@ -19,14 +19,14 @@

<testsuites>
<testsuite name="PHPCR Util Test Suite">
<directory>./Tests/</directory>
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Tests</directory>
<directory>./tests</directory>
<directory>./vendor</directory>
<directory>./Resources</directory>
<directory>./DependencyInjection</directory>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 751612c

Please sign in to comment.