Move src and tests directories
This commit is contained in:
parent
41ca11b514
commit
8551843b04
|
@ -4,7 +4,7 @@ use PhpCsFixer\Config;
|
|||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
$finder = new Finder();
|
||||
$finder->files()->in('app/src')->in('app/tests');
|
||||
$finder->files()->in(['src', 'tests']);
|
||||
|
||||
return Config::create()
|
||||
->setRules([
|
||||
|
|
|
@ -55,12 +55,12 @@
|
|||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"App\\": "app/src"
|
||||
"App\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"App\\Tests\\": "app/tests"
|
||||
"App\\Tests\\": "tests"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
parameters:
|
||||
level: 7
|
||||
paths:
|
||||
- app/src
|
||||
- src
|
||||
includes:
|
||||
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
||||
|
|
Reference in a new issue