From 20adaa67aa160c880ea918d85af4a2e088191652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jib=C3=A9=20Barth?= Date: Sun, 13 Oct 2024 13:31:44 +0200 Subject: [PATCH] Refs #695 - Fix deprecation for dynamic property 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 => [