diff --git a/src/module/phpcsfixer/libs/php-cs-fixer.phar b/src/module/phpcsfixer/libs/php-cs-fixer.phar index edf7715..6e70d2d 100644 Binary files a/src/module/phpcsfixer/libs/php-cs-fixer.phar and b/src/module/phpcsfixer/libs/php-cs-fixer.phar differ diff --git a/src/module/phpcsfixer/phpcsfixer.rules.php b/src/module/phpcsfixer/phpcsfixer.rules.php index de84988..9a129a8 100644 --- a/src/module/phpcsfixer/phpcsfixer.rules.php +++ b/src/module/phpcsfixer/phpcsfixer.rules.php @@ -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, + //'use_arrow_functions' => true, ]) ->setFinder($finder); diff --git a/src/module/phpstan/libs/phpstan.phar b/src/module/phpstan/libs/phpstan.phar index b1484d7..210214f 100644 Binary files a/src/module/phpstan/libs/phpstan.phar and b/src/module/phpstan/libs/phpstan.phar differ