Skip to content

Commit

Permalink
Add PHP 8.4 support, drop PHP 8.2 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored Sep 25, 2024
1 parent 03bac19 commit a462290
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"

steps:
- uses: "actions/checkout@v4"
Expand All @@ -40,11 +40,11 @@ jobs:
strategy:
matrix:
php-version:
- "8.3"
- "8.4"
code-coverage:
- "none"
include:
- php-version: "8.2"
- php-version: "8.3"
code-coverage: "pcov"

steps:
Expand All @@ -70,7 +70,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"

steps:
- uses: "actions/checkout@v4"
Expand All @@ -89,7 +89,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"

steps:
- uses: "actions/checkout@v4"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.3.0 || ~8.4.0",
"ext-mbstring": "*",
"ext-tokenizer": "*",
"friendsofphp/php-cs-fixer": "^3.64.0"
Expand Down
2 changes: 0 additions & 2 deletions tests/FinalInternalClassFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\RequiresPhp;
use SlamCsFixer\FinalInternalClassFixer;

#[CoversClass(FinalInternalClassFixer::class)]
Expand Down Expand Up @@ -69,7 +68,6 @@ public static function provideCases(): array
];
}

#[RequiresPhp('8.2')]
#[DataProvider('provide82Cases')]
public function test82Fix(string $expected, ?string $input = null): void
{
Expand Down

0 comments on commit a462290

Please sign in to comment.