From 3eb0e87eeb628bd2d2c29f2535d78d74ffc3935c Mon Sep 17 00:00:00 2001 From: David Badura Date: Fri, 2 Jun 2023 11:29:20 +0200 Subject: [PATCH 1/3] re-copy doctrine standard --- src/PatchlevelCodingStandard/ruleset.xml | 117 +++++++++++++++++++---- 1 file changed, 101 insertions(+), 16 deletions(-) diff --git a/src/PatchlevelCodingStandard/ruleset.xml b/src/PatchlevelCodingStandard/ruleset.xml index 5d613c3..fed7483 100644 --- a/src/PatchlevelCodingStandard/ruleset.xml +++ b/src/PatchlevelCodingStandard/ruleset.xml @@ -42,16 +42,16 @@ - - + + - + - - + + - + @@ -108,20 +108,34 @@ error + + + + + + + + + + + + + + @@ -129,8 +143,25 @@ + + + + + + + + + + + + + + + + + @@ -150,6 +181,8 @@ + + @@ -172,8 +205,16 @@ @ODM\, @PHPCR\, "/> - - + + @@ -211,8 +252,6 @@ - - @@ -256,6 +295,8 @@ + + @@ -264,6 +305,8 @@ + + @@ -272,6 +315,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -358,7 +425,12 @@ - + + + + + + @@ -396,7 +468,6 @@ - @@ -407,8 +478,18 @@ + + + + + + + + + + @@ -426,6 +507,8 @@ + + @@ -448,6 +531,11 @@ + + + + + @@ -511,9 +599,6 @@ - - Variable "%s" not allowed in double quoted string; use sprintf() or concatenation instead - @@ -553,4 +638,4 @@ 5 - + \ No newline at end of file From 3325cdee4c23a85a53fb65c7c7373c2d277914f3 Mon Sep 17 00:00:00 2001 From: David Badura Date: Fri, 2 Jun 2023 11:58:19 +0200 Subject: [PATCH 2/3] update dependencies --- .github/workflows/test.yaml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index dd3f91d..9dc8b45 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -20,7 +20,7 @@ jobs: dependencies: - "locked" php-version: - - "8.1" + - "8.2" operating-system: - "ubuntu-latest" diff --git a/composer.json b/composer.json index ee11657..b155b0a 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ "require": { "php": "^7.4 || ^8.0", "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2 || ^1.0.0", - "slevomat/coding-standard": "^8.1.0", - "squizlabs/php_codesniffer": "^3.7.1" + "slevomat/coding-standard": "^8.12.1", + "squizlabs/php_codesniffer": "^3.7.2" }, "config": { "sort-packages": true, From 970c48597be5ee09df85372c9aed54cbdf386c2b Mon Sep 17 00:00:00 2001 From: David Badura Date: Fri, 2 Jun 2023 12:04:09 +0200 Subject: [PATCH 3/3] remove MultipleStatementAlignment --- src/PatchlevelCodingStandard/ruleset.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/PatchlevelCodingStandard/ruleset.xml b/src/PatchlevelCodingStandard/ruleset.xml index fed7483..eff770b 100644 --- a/src/PatchlevelCodingStandard/ruleset.xml +++ b/src/PatchlevelCodingStandard/ruleset.xml @@ -42,12 +42,6 @@ - - - - - -