From ea21dab327f2ef38c7be0547fff709138866886c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jib=C3=A9=20Barth?= Date: Mon, 11 Nov 2024 15:34:19 +0100 Subject: [PATCH] Refs #695 - Fix deprecation for dynamic property (#697) See https://github.com/slevomat/coding-standard/commit/b71f8d788e81021be0bb8a7327aced7f952e2f87 The property we set has been renamed since V7 of slevomat coding standard --- src/Application/DefaultPreset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/DefaultPreset.php b/src/Application/DefaultPreset.php index 94d79d50..e20eeb0c 100644 --- a/src/Application/DefaultPreset.php +++ b/src/Application/DefaultPreset.php @@ -42,7 +42,7 @@ public static function get(Composer $composer): array 'linesCountBetweenDifferentAnnotationsTypes' => 1, ], DeclareStrictTypesSniff::class => [ - 'newlinesCountBeforeDeclare' => 2, + 'linesCountBeforeDeclare' => 1, 'spacesCountAroundEqualsSign' => 0, ], UnusedUsesSniff::class => [