diff --git a/.github/workflows/release-on-milestone-closed-triggering-release-event.yaml b/.github/workflows/release-on-milestone-closed-triggering-release-event.yaml index 9388753..67fae35 100644 --- a/.github/workflows/release-on-milestone-closed-triggering-release-event.yaml +++ b/.github/workflows/release-on-milestone-closed-triggering-release-event.yaml @@ -18,7 +18,7 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: "Release" uses: "laminas/automatic-releases@v1" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 431da36..2e8dba1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -20,13 +20,13 @@ jobs: dependencies: - "locked" php-version: - - "8.1" + - "8.2" operating-system: - "ubuntu-latest" steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v5" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -36,7 +36,7 @@ jobs: ini-values: memory_limit=-1 extensions: pdo_sqlite - - uses: "ramsey/composer-install@v2" + - uses: "ramsey/composer-install@3.1.1" with: dependency-versions: ${{ matrix.dependencies }} diff --git a/composer.json b/composer.json index bc67efb..b155b0a 100644 --- a/composer.json +++ b/composer.json @@ -28,9 +28,9 @@ ], "require": { "php": "^7.4 || ^8.0", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", - "slevomat/coding-standard": "^8.1.0", - "squizlabs/php_codesniffer": "^3.7.1" + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2 || ^1.0.0", + "slevomat/coding-standard": "^8.12.1", + "squizlabs/php_codesniffer": "^3.7.2" }, "config": { "sort-packages": true, diff --git a/src/PatchlevelCodingStandard/ruleset.xml b/src/PatchlevelCodingStandard/ruleset.xml index 5d613c3..eff770b 100644 --- a/src/PatchlevelCodingStandard/ruleset.xml +++ b/src/PatchlevelCodingStandard/ruleset.xml @@ -48,12 +48,6 @@ - - - - - - @@ -108,20 +102,34 @@ error + + + + + + + + + + + + + + @@ -129,8 +137,25 @@ + + + + + + + + + + + + + + + + + @@ -150,6 +175,8 @@ + + @@ -172,8 +199,16 @@ @ODM\, @PHPCR\, "/> - - + + @@ -211,8 +246,6 @@ - - @@ -256,6 +289,8 @@ + + @@ -264,6 +299,8 @@ + + @@ -272,6 +309,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -358,7 +419,12 @@ - + + + + + + @@ -396,7 +462,6 @@ - @@ -407,8 +472,18 @@ + + + + + + + + + + @@ -426,6 +501,8 @@ + + @@ -448,6 +525,11 @@ + + + + + @@ -511,9 +593,6 @@ - - Variable "%s" not allowed in double quoted string; use sprintf() or concatenation instead - @@ -553,4 +632,4 @@ 5 - + \ No newline at end of file