From de71b557437642f5a9f6389b2d7d855116d436bf Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Thu, 22 Jun 2023 11:37:15 +0200 Subject: [PATCH] Update to PHP-CS-Fixer ^3.18 --- composer.json | 8 ++++---- lib/Config.php | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index dfddecd..01462de 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,12 @@ "php": "~8.1.0 || ~8.2.0", "ext-mbstring": "*", "ext-tokenizer": "*", - "friendsofphp/php-cs-fixer": "^3.17" + "friendsofphp/php-cs-fixer": "^3.18" }, "require-dev": { - "phpstan/phpstan": "^1.10.15", - "phpstan/phpstan-phpunit": "^1.3.12", - "phpunit/phpunit": "^10.1.3", + "phpstan/phpstan": "^1.10.21", + "phpstan/phpstan-phpunit": "^1.3.13", + "phpunit/phpunit": "^10.2.2", "slam/php-debug-r": "^1.8.0", "slam/phpstan-extensions": "^6.0.0" }, diff --git a/lib/Config.php b/lib/Config.php index e931b28..f385d75 100644 --- a/lib/Config.php +++ b/lib/Config.php @@ -42,7 +42,6 @@ final class Config extends PhpCsFixerConfig 'method_argument_space' => ['keep_multiple_spaces_after_comma' => true], 'native_constant_invocation' => true, 'native_function_invocation' => ['include' => ['@internal']], - 'no_blank_lines_before_namespace' => false, 'no_multiline_whitespace_around_double_arrow' => false, 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true], 'not_operator_with_space' => false,