Skip to content

Commit 6720409

Browse files
author
Xavier Marchegay
committed
* Remove `withComposerBased` from Rector config * Simplify `.php-cs-fixer.dist.php` by removing `setParallelConfig` * Update `symfony/cache` constraint in `composer.json` * Revise GitHub Actions workflow to add support for PHP 8.4 and 8.5 * Update CHANGELOG for v2.0 release
1 parent 586c8c7 commit 6720409

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,26 @@ jobs:
5959
allowed-to-fail: false
6060
symfony-require: 7.4.*
6161
variant: symfony/symfony:"7.4.*"
62-
# - php-version: '8.4'
63-
# dependencies: highest
64-
# allowed-to-fail: false
65-
# symfony-require: 8.0.*
66-
# variant: symfony/symfony:"8.0.*"
62+
- php-version: '8.4'
63+
dependencies: highest
64+
allowed-to-fail: false
65+
symfony-require: 8.*
66+
variant: symfony/symfony:"8.*"
67+
- php-version: '8.5'
68+
dependencies: highest
69+
allowed-to-fail: false
70+
symfony-require: 6.4.*
71+
variant: symfony/symfony:"6.4.*"
6772
- php-version: '8.5'
6873
dependencies: highest
6974
allowed-to-fail: false
7075
symfony-require: 7.4.*
7176
variant: symfony/symfony:"7.4.*"
72-
# - php-version: '8.5'
73-
# dependencies: highest
74-
# allowed-to-fail: false
75-
# symfony-require: 8.0.*
76-
# variant: symfony/symfony:"8.0.*"
77+
- php-version: '8.5'
78+
dependencies: highest
79+
allowed-to-fail: false
80+
symfony-require: 8.*
81+
variant: symfony/symfony:"8.*"
7782
steps:
7883
- name: Checkout
7984
uses: actions/checkout@v6

.php-cs-fixer.dist.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
EOF;
2424

2525
return (new PhpCsFixer\Config())
26-
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
2726
->setRules([
2827
'@PHP82Migration' => true,
2928
'@PHPUnit75Migration:risky' => true,

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
v2.0
2+
------
3+
4+
### Changes
5+
* [#10](https://github.com/cleverage/cache-process-bundle/issues/10) Add support for PHP 8.5 and Symfony 8.* Update phpunit/phpunit to version >10.0
6+
7+
### BC breaks
8+
* [#10](https://github.com/cleverage/cache-process-bundle/issues/10) Remove support for PHP 8.1 and Symfony 7.3
9+
110
v1.1
211
------
312

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"require": {
3434
"php": ">=8.2",
3535
"cleverage/process-bundle": "^4.0",
36-
"symfony/cache": "^6.4|^7.4|^8.0"
36+
"symfony/cache": "^6.4|^7.4|^8"
3737
},
3838
"require-dev": {
3939
"friendsofphp/php-cs-fixer": "*",

rector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
// here we can define what prepared sets of rules will be applied
1818
->withPreparedSets(deadCode: true, codeQuality: true, symfonyCodeQuality: true)
1919
->withAttributesSets(symfony: true)
20-
->withComposerBased(symfony: true)
2120
->withSets([
2221
LevelSetList::UP_TO_PHP_82,
2322
SymfonySetList::SYMFONY_64,

0 commit comments

Comments
 (0)