Skip to content

Commit be0d11e

Browse files
authored
fix(deps): allow symfony 8 (#444)
- add symfony 8 support - drop unsupported php, symfony & composer versions
1 parent b1c9200 commit be0d11e

6 files changed

Lines changed: 277 additions & 325 deletions

File tree

.allowed-licenses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Lendable\ComposerLicenseChecker\LicenseConfigurationBuilder;
66

7-
return (new LicenseConfigurationBuilder())
7+
return new LicenseConfigurationBuilder()
88
->addLicenses('BSD-3-Clause', 'MIT')
99
->addAllowedVendor('lendable')
1010
->addAllowedPackage('foo/bar')

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
symfony-version:
2828
- "5.4.*"
2929
- "6.4.*"
30-
- "7.0.*"
31-
- "7.1.*"
32-
- "7.2.*"
30+
- "7.3.*"
31+
- "7.4.*"
32+
- "8.0.*"
3333

3434
steps:
3535
- name: "Checkout"

.php-cs-fixer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
->exclude(['tmp', 'vendor'])
88
->name('composer-license-checker');
99

10-
return (new PhpCsFixer\Config())
10+
return new PhpCsFixer\Config()
1111
->setRules([
12-
'@PER-CS2.0' => true,
13-
'@PER-CS2.0:risky' => true,
14-
'@PHP84Migration' => true,
12+
'@PER-CS2x0' => true,
13+
'@PER-CS2x0:risky' => true,
14+
'@PHP8x4Migration' => true,
1515
'@DoctrineAnnotation' => true,
1616
'align_multiline_comment' => true,
1717
'array_indentation' => true,

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"require": {
1313
"php": "~8.4.0 || ~8.5.0",
1414
"composer-runtime-api": "^2.2",
15-
"symfony/console": "^5.4 || ^6.0 || ^7.0",
16-
"symfony/process": "^5.4.46 || ^6.4.14 || ^7.1.7"
15+
"symfony/console": "^5.4 || ^6.4 || ^7.3 || ^8.0",
16+
"symfony/process": "^5.4.46 || ^6.4.14 || ^7.3 || ^8.0"
1717
},
1818
"require-dev": {
1919
"ergebnis/composer-normalize": "^2.43.0",

0 commit comments

Comments
 (0)