From 16b57fbf976120593508aab716a6ba77a831de24 Mon Sep 17 00:00:00 2001 From: Jonathan Eom Date: Wed, 4 Jun 2025 17:18:15 -0400 Subject: [PATCH 1/2] Update test report, likely caused by deprecation in slevomat --- tests/expected_report.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/expected_report.txt b/tests/expected_report.txt index 3d25aeb..bd6bf34 100644 --- a/tests/expected_report.txt +++ b/tests/expected_report.txt @@ -36,7 +36,7 @@ tests/input/not_spacing.php 12 0 tests/input/null_coalesce_operator.php 3 0 tests/input/null_safe_operator.php 1 0 tests/input/optimized-functions.php 1 0 -tests/input/PropertyDeclaration.php 19 0 +tests/input/PropertyDeclaration.php 21 0 tests/input/return_type_on_closures.php 26 0 tests/input/return_type_on_methods.php 22 0 tests/input/semicolon_spacing.php 4 0 @@ -55,9 +55,9 @@ tests/input/use-ordering.php 9 0 tests/input/useless-semicolon.php 2 0 tests/input/UselessConditions.php 24 0 ---------------------------------------------------------------------- -A TOTAL OF 521 ERRORS AND 9 WARNINGS WERE FOUND IN 51 FILES +A TOTAL OF 523 ERRORS AND 9 WARNINGS WERE FOUND IN 51 FILES ---------------------------------------------------------------------- -PHPCBF CAN FIX 418 OF THESE SNIFF VIOLATIONS AUTOMATICALLY +PHPCBF CAN FIX 420 OF THESE SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- From 9e498cc6fc7472a853f50cb29b1ea116a22365bd Mon Sep 17 00:00:00 2001 From: Jonathan Eom Date: Wed, 4 Jun 2025 17:18:25 -0400 Subject: [PATCH 2/2] Add php 8.4 --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 12a7514..511657a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: - uses: "shivammathur/setup-php@v2" with: coverage: none - php-version: 8.3 + php-version: 8.4 extensions: curl tools: composer:v2, cs2pr @@ -38,7 +38,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: - php-version: 8.3 + php-version: 8.4 extensions: curl coverage: none tools: composer:v2 @@ -62,6 +62,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" steps: - uses: "actions/checkout@v4" @@ -89,6 +90,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" steps: - uses: "actions/checkout@v4" @@ -115,6 +117,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" steps: - uses: "actions/checkout@v4"