mirror of
https://github.com/flarum/framework.git
synced 2025-06-06 07:54:32 +08:00
Moved psr-4 loading for tests out of the autoload
This commit is contained in:
@ -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"
|
||||||
|
Reference in New Issue
Block a user