From 761bd8747ace8f21f35534a9fc7223f29795bf78 Mon Sep 17 00:00:00 2001 From: FilippeB Date: Mon, 3 Jul 2023 11:33:27 +0200 Subject: [PATCH] cs-fixer deprecation v3.18 "blank_lines_before_namespace" replaces "no_blank_lines_before_namespace" --- composer.json | 2 +- configs/.php-cs-fixer.php | 1 - recipes/phpro.symfony-conventions.1.0.json | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 09e6daa..409e99c 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "require": { "php": "^8.1", "brianium/paratest": "^6.3", - "php-cs-fixer/shim": "^3.7", + "php-cs-fixer/shim": "^3.18", "phpro/grumphp-shim": "^2.0", "phpunit/phpunit": "^9.5" }, diff --git a/configs/.php-cs-fixer.php b/configs/.php-cs-fixer.php index 4165145..b753abc 100644 --- a/configs/.php-cs-fixer.php +++ b/configs/.php-cs-fixer.php @@ -44,7 +44,6 @@ 'multiline_whitespace_before_semicolons' => true, 'native_function_invocation' => false, 'no_alias_functions' => true, - 'no_blank_lines_before_namespace' => false, 'no_extra_blank_lines' => true, 'no_null_property_initialization' => true, 'no_php4_constructor' => true, diff --git a/recipes/phpro.symfony-conventions.1.0.json b/recipes/phpro.symfony-conventions.1.0.json index ac1e5e4..fe303f3 100644 --- a/recipes/phpro.symfony-conventions.1.0.json +++ b/recipes/phpro.symfony-conventions.1.0.json @@ -75,7 +75,6 @@ " 'multiline_whitespace_before_semicolons' => true,", " 'native_function_invocation' => false,", " 'no_alias_functions' => true,", - " 'no_blank_lines_before_namespace' => false,", " 'no_extra_blank_lines' => true,", " 'no_null_property_initialization' => true,", " 'no_php4_constructor' => true,", @@ -121,7 +120,7 @@ "executable": false } }, - "ref": "2e3f94013a1ceed3ca270ca92a9d3240c9dd4cbd" + "ref": "cf9cea7b7bed384e61df5472858f35170b28371f" } } } \ No newline at end of file