Skip to content

Commit 5a51411

Browse files
committed
Enhancement: Add support for PHP 8.4
1 parent 0cf41d6 commit 5a51411

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

.github/settings.yml

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ branches:
3535
- context: "Tests (8.3, highest)"
3636
- context: "Tests (8.3, locked)"
3737
- context: "Tests (8.3, lowest)"
38+
- context: "Tests (8.4, highest)"
39+
- context: "Tests (8.4, locked)"
40+
- context: "Tests (8.4, lowest)"
3841
strict: false
3942
restrictions:
4043

.github/workflows/integrate.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ jobs:
370370
- "8.1"
371371
- "8.2"
372372
- "8.3"
373+
- "8.4"
373374

374375
dependencies:
375376
- "lowest"

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
For a full diff see [`6.37.0...main`][6.37.0...main].
1010

11+
### Changed
12+
13+
- Added support for PHP 8.4 ([#1139]), by [@localheinz]
14+
1115
## [`6.37.0`][6.37.0]
1216

1317
For a full diff see [`6.36.0...6.37.0`][6.36.0...6.37.0].
@@ -1761,6 +1765,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
17611765
[#1102]: https://github.com/ergebnis/php-cs-fixer-config/pull/1102
17621766
[#1103]: https://github.com/ergebnis/php-cs-fixer-config/pull/1103
17631767
[#1109]: https://github.com/ergebnis/php-cs-fixer-config/pull/1109
1768+
[#1139]: https://github.com/ergebnis/php-cs-fixer-config/pull/1139
17641769

17651770
[@dependabot]: https://github.com/apps/dependabot
17661771
[@linuxjuggler]: https://github.com/linuxjuggler

test/EndToEnd/RuleSet/AbstractRuleSetTestCase.php

+12
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ final protected function tearDown(): void
3838

3939
final public function testConfigurationIsConsideredValid(): void
4040
{
41+
$env = [];
42+
43+
if (\PHP_VERSION_ID >= 80400) {
44+
$env = [
45+
/**
46+
* @see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.64.0/README.md#supported-php-versions
47+
*/
48+
'PHP_CS_FIXER_IGNORE_ENV' => true,
49+
];
50+
}
51+
4152
$process = new Process\Process(
4253
[
4354
'vendor/bin/php-cs-fixer',
@@ -50,6 +61,7 @@ final public function testConfigurationIsConsideredValid(): void
5061
self::configPath(),
5162
],
5263
null,
64+
$env,
5365
);
5466

5567
$process->run();

0 commit comments

Comments
 (0)