Move src and tests directories

This commit is contained in:
Oliver Davies 2020-03-11 21:30:20 +00:00
parent 41ca11b514
commit 8551843b04
7 changed files with 4 additions and 4 deletions

View file

@ -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([

View file

@ -55,12 +55,12 @@
},
"autoload": {
"psr-4": {
"App\\": "app/src"
"App\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "app/tests"
"App\\Tests\\": "tests"
}
}
}

View file

@ -1,6 +1,6 @@
parameters:
level: 7
paths:
- app/src
- src
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon