Moved psr-4 loading for tests out of the autoload

This commit is contained in:
kirkbushell
2015-09-28 15:44:35 +01:00
parent a00226c05a
commit bac3fe84da

View File

@ -42,13 +42,17 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Flarum\\": "src/", "Flarum\\": "src/"
"tests\\": "tests/"
}, },
"files": [ "files": [
"src/helpers.php" "src/helpers.php"
] ]
}, },
"autoload-dev": {
"psr-4": {
"tests\\": "tests/"
}
},
"scripts": { "scripts": {
"test": "vendor/bin/phpunit -c tests/phpunit.xml", "test": "vendor/bin/phpunit -c tests/phpunit.xml",
"style": "phpcs --standard=PSR2 -np src" "style": "phpcs --standard=PSR2 -np src"