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; use Symfony\Component\Finder\Finder;
$finder = new Finder(); $finder = new Finder();
$finder->files()->in('app/src')->in('app/tests'); $finder->files()->in(['src', 'tests']);
return Config::create() return Config::create()
->setRules([ ->setRules([

View file

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

View file

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