update phpstan and php-cs-fixer tools

master
Jean-Christian Paul Denis 2023-03-05 23:04:17 +01:00
parent 2bc48d5f27
commit 20363b2eb9
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
3 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,6 @@
$finder = PhpCsFixer\Finder::create()
->exclude('node_modules')
->exclude('vendor')
->exclude('libs')
->in(__DIR__);
/** @phpstan-ignore-next-line */
@ -23,10 +22,10 @@ $config = new PhpCsFixer\Config();
/* @phpstan-ignore-next-line */
return $config
->setRules([
'@PSR12' => true,
'@PHP81Migration' => true,
'array_indentation' => true,
'binary_operator_spaces' => [
'@PSR12' => true,
'@PHP81Migration' => true,
'array_indentation' => true,
'binary_operator_spaces' => [
'default' => 'align_single_space_minimal',
'operators' => [
'=>' => 'align_single_space_minimal',
@ -51,5 +50,8 @@ return $config
'phpdoc_trim' => true,
'single_quote' => true,
'trim_array_spaces' => true,
//'no_multiline_whitespace_around_double_arrow' => true,