diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index fc69e48..1c2d336 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -274,6 +274,12 @@ ], ], // 'statement_indentation' => true, + 'class_definition' => [ + // 'multi_line_extends_each_single_line' => false, + // 'single_item_single_line' => false, + // 'single_line' => false, + // 'space_before_parenthesis' => false, + ], // https://github.com/kubawerlos/php-cs-fixer-custom-fixers PhpCsFixerCustomFixers\Fixer\CommentSurroundedBySpacesFixer::name() => true, diff --git a/composer-updater b/composer-updater index 5c12bbc..706fff9 100755 --- a/composer-updater +++ b/composer-updater @@ -40,7 +40,16 @@ $status = (new SingleCommandApplication()) assert($this instanceof SingleCommandApplication); assert((bool) $input->getOption('highest-php-binary')); - (new class($input->getOption('composer-json-path') ?: __DIR__.'/composer.json', $input->getOption('highest-php-binary'), $input->getOption('composer-binary'), $input->getOption('except-packages'), $input->getOption('except-dependency-versions'), $input->getOption('dry-run'), new SymfonyStyle($input, $output), new Differ()) { + (new class( + $input->getOption('composer-json-path') ?: __DIR__.'/composer.json', + $input->getOption('highest-php-binary'), + $input->getOption('composer-binary'), + $input->getOption('except-packages'), + $input->getOption('except-dependency-versions'), + $input->getOption('dry-run'), + new SymfonyStyle($input, $output), + new Differ() + ) { private $composerJsonPath; private $composerJsonContents; private $highestComposerBinary;