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;
|
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([
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue