From 128fbbe2c27c065786437577a56e9f361b3a8363 Mon Sep 17 00:00:00 2001 From: Matthias Wirtz Date: Sat, 8 Apr 2023 20:44:10 +0200 Subject: [PATCH 1/2] Update ruleset.xml v5 is not allowing slevomat/coding-standard v6 and it's giving deprecation errors in newer versions of php. Deprecated: Creation of dynamic property SlevomatCodingStandard\Sniffs\TypeHints\DeclareStrictTypesSniff::$newlinesCountAfterDeclare is deprecated --- CakePHP/ruleset.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/CakePHP/ruleset.xml b/CakePHP/ruleset.xml index 77d0e09..ffdf8f4 100644 --- a/CakePHP/ruleset.xml +++ b/CakePHP/ruleset.xml @@ -163,9 +163,6 @@ - - - */config/* */templates/* From 9d0bb02e753e3b8c24e53a1e7840459c8dc1e722 Mon Sep 17 00:00:00 2001 From: Matthias Wirtz Date: Sun, 9 Apr 2023 08:30:15 +0200 Subject: [PATCH 2/2] Update ruleset.xml does not exist in https://github.com/slevomat/coding-standard/blob/master/SlevomatCodingStandard/Sniffs/TypeHints/PropertyTypeHintSniff.php#L68 --- CakePHP/ruleset.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/CakePHP/ruleset.xml b/CakePHP/ruleset.xml index ffdf8f4..af3f227 100644 --- a/CakePHP/ruleset.xml +++ b/CakePHP/ruleset.xml @@ -193,7 +193,6 @@ -