From 60cd371040db4a48f67ed3246ca110b10648b087 Mon Sep 17 00:00:00 2001 From: Robert Freigang Date: Sat, 22 May 2021 10:52:08 +0200 Subject: [PATCH 1/3] Bump slevomat/coding-standard from ^6.0 to ^7.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c736f98..15ac981 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "escapestudios/symfony2-coding-standard": "^3.5", - "slevomat/coding-standard": "^6.0", + "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.0" }, "support" : { From c72b7151e110ecdaa9ced291e351f569e6f7e4a6 Mon Sep 17 00:00:00 2001 From: Robert Freigang Date: Sat, 22 May 2021 15:35:13 +0200 Subject: [PATCH 2/3] Adopt slevomat rules introduced in version 7.x --- ProjektMOTORCodingStandard/ruleset.xml | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/ProjektMOTORCodingStandard/ruleset.xml b/ProjektMOTORCodingStandard/ruleset.xml index 1d96820..9b72cd3 100644 --- a/ProjektMOTORCodingStandard/ruleset.xml +++ b/ProjektMOTORCodingStandard/ruleset.xml @@ -22,6 +22,18 @@ + + + + + + + + + + + + @@ -37,6 +49,7 @@ + @@ -78,6 +91,33 @@ + + tests/**Test*.php + src/Form/Type/*Type.php + src/Doctrine/*Extension.php + + + + src/Controller/*Controller.php + + + + src/Security/UserProvider.php + + + + src/Dto/*Request.php + src/Entity/*Request.php + src/Validator/Constraints/*.php + + + + tests/**Test*.php + + + tests/Context/*Context.php + + @@ -122,6 +162,12 @@ + + + + + + From 4e729ef2e589428e407b2f50b0e84a58e136a156 Mon Sep 17 00:00:00 2001 From: Robert Freigang Date: Thu, 14 Oct 2021 13:04:53 +0200 Subject: [PATCH 3/3] Increase Generic.Files.LineLength from 150 to 180 --- ProjektMOTORCodingStandard/ruleset.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjektMOTORCodingStandard/ruleset.xml b/ProjektMOTORCodingStandard/ruleset.xml index 9b72cd3..1d6d6da 100644 --- a/ProjektMOTORCodingStandard/ruleset.xml +++ b/ProjektMOTORCodingStandard/ruleset.xml @@ -170,8 +170,8 @@ - - + +