Improve code style formatter + fix unused var in octopush

This commit is contained in:
osaajani 2020-06-22 18:02:33 +02:00
parent d9cc959bbd
commit 3976ef0a24
5 changed files with 13 additions and 17 deletions

View file

@ -1,5 +1,11 @@
parameters:
reportUnmatchedIgnoredErrors: false
paths:
- %rootDir%/../../controllers/
- %rootDir%/../../models/
- %rootDir%/../../adapters/
- %rootDir%/../../daemons/
ignoreErrors:
- '#Constant RASPISMS_[a-zA-Z0-9\\_]+ not found.#'

View file

@ -11,10 +11,7 @@
}
$analyse_commands = [
'php ' . __DIR__ . '/phpstan.phar analyse --configuration="'. __DIR__ .'/config.neon" --autoload-file=' . __DIR__ . '/../../descartes/load.php ' . __DIR__ . '/../../controllers/',
'php ' . __DIR__ . '/phpstan.phar analyse --configuration="'. __DIR__ .'/config.neon" --autoload-file=' . __DIR__ . '/../../descartes/load.php ' . __DIR__ . '/../../models/',
'php ' . __DIR__ . '/phpstan.phar analyse --configuration="'. __DIR__ .'/config.neon" --autoload-file=' . __DIR__ . '/../../descartes/load.php ' . __DIR__ . '/../../adapters/',
'php ' . __DIR__ . '/phpstan.phar analyse --configuration="'. __DIR__ .'/config.neon" --autoload-file=' . __DIR__ . '/../../descartes/load.php ' . __DIR__ . '/../../daemons/',
'php ' . __DIR__ . '/phpstan.phar analyse --configuration="'. __DIR__ .'/config.neon" --autoload-file=' . __DIR__ . '/../../descartes/load.php ',
];