Skip to content

Commit 1ab3353

Browse files
authored
chore: remove support for PHP 7.4 (#170)
1 parent 27c67fe commit 1ab3353

File tree

13 files changed

+12
-169
lines changed

13 files changed

+12
-169
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,24 @@ jobs:
1212
PHP_VERSION: ${{ matrix.php }}
1313
strategy:
1414
matrix:
15-
php: [ "7.4", "8.0", "8.1" ]
15+
php: [ "8.0", "8.1" ]
1616
dependencies: [ lowest, highest ]
1717
steps:
1818
-
1919
uses: actions/checkout@v3
2020
-
2121
name: "Composer install: ${{ matrix.dependencies }}"
2222
run: make all/composer/install-${{ matrix.dependencies }}
23-
-
24-
name: Tests without mutation
25-
if: "matrix.php == '7.4'"
26-
run: make all/test/phpunit-coverage
2723
-
2824
name: Tests with mutation
29-
if: "matrix.php != '7.4'"
3025
run: make test
3126
CodeQualityAnalysis:
3227
runs-on: ubuntu-latest
3328
env:
3429
PHP_VERSION: ${{ matrix.php }}
3530
strategy:
3631
matrix:
37-
php: [ "7.4", "8.0", "8.1" ]
32+
php: [ "8.0", "8.1" ]
3833
dependencies: [ lowest, highest ]
3934
steps:
4035
-

7.4-phpstan.neon.dist

Lines changed: 0 additions & 6 deletions
This file was deleted.

7.4-psalm.xml.dist

Lines changed: 0 additions & 77 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4 || ^8.0",
13+
"php": "^8.0",
1414
"ext-json": "*",
1515
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
1616
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"

src/Bridge/PhpSpreadsheet/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4 || ^8.0",
13+
"php": "^8.0",
1414
"phpoffice/phpspreadsheet": "^1.18",
1515
"sigwin/xezilaires": "^0.5 || ^0.6"
1616
},

src/Bridge/Spout/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4 || ^8.0",
13+
"php": "^8.0",
1414
"openspout/openspout": "^3.0",
1515
"sigwin/xezilaires": "^0.5 || ^0.6"
1616
},

src/Bridge/Symfony/bin/xezilaires

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use Symfony\Component\HttpKernel\Bundle\BundleInterface;
66
use Xezilaires\Bridge\Symfony\AppKernel;
77
use Xezilaires\Bridge\Symfony\Console\Application;
88

9-
if (version_compare('7.4.0', PHP_VERSION, '>')) {
10-
fwrite(STDERR, 'Xezilaires requires PHP 7.4+'.PHP_EOL);
9+
if (version_compare('8.0.0', PHP_VERSION, '>')) {
10+
fwrite(STDERR, 'Xezilaires requires PHP 8.0+'.PHP_EOL);
1111
exit(1);
1212
}
1313

src/Bridge/Symfony/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4 || ^8.0",
13+
"php": "^8.0",
1414
"sigwin/xezilaires": "^0.5 || ^0.6",
1515
"symfony/console": "^4.4 || ^5.0 || ^6.0",
1616
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0",

src/Xezilaires/7.4-phpstan.neon.dist

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/Xezilaires/7.4-psalm.xml.dist

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)