Skip to content

Commit 81e6f85

Browse files
Drop support for PHP < 8.2
1 parent d438625 commit 81e6f85

File tree

2 files changed

+14
-26
lines changed

2 files changed

+14
-26
lines changed

.github/workflows/test-application.yaml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,10 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- php-version: '7.2'
19+
- php-version: '8.2'
2020
dependency-versions: 'lowest'
2121
tools: 'composer:v2'
2222

23-
- php-version: '7.4'
24-
dependency-versions: 'highest'
25-
tools: 'composer:v2'
26-
27-
- php-version: '8.0'
28-
dependency-versions: 'highest'
29-
tools: 'composer:v2'
30-
31-
- php-version: '8.1'
32-
dependency-versions: 'highest'
33-
tools: 'composer:v2'
34-
3523
- php-version: '8.2'
3624
dependency-versions: 'highest'
3725
tools: 'composer:v2'
@@ -51,7 +39,7 @@ jobs:
5139

5240
steps:
5341
- name: Checkout project
54-
uses: actions/checkout@v2
42+
uses: actions/checkout@v6
5543

5644
- name: Install and configure PHP
5745
uses: shivammathur/setup-php@v2
@@ -64,7 +52,7 @@ jobs:
6452
run: composer config minimum-stability ${{ matrix.composer-stability }}
6553

6654
- name: Install composer dependencies
67-
uses: ramsey/composer-install@v1
55+
uses: ramsey/composer-install@v3
6856
with:
6957
dependency-versions: ${{matrix.dependency-versions}}
7058

@@ -77,16 +65,16 @@ jobs:
7765

7866
steps:
7967
- name: Checkout project
80-
uses: actions/checkout@v2
68+
uses: actions/checkout@v6
8169

8270
- name: Install and configure PHP
8371
uses: shivammathur/setup-php@v2
8472
with:
85-
php-version: 8.1
73+
php-version: 8.4
8674
tools: 'composer:v2'
8775

8876
- name: Install composer dependencies
89-
uses: ramsey/composer-install@v1
77+
uses: ramsey/composer-install@v3
9078
with:
9179
dependency-versions: 'highest'
9280

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
],
1111
"license": "MIT",
1212
"require": {
13-
"php": ">=7.2.0",
14-
"symfony/console": "^4.3 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
15-
"symfony/config": "^4.3 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
16-
"symfony/dependency-injection": "^4.3 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
17-
"symfony/framework-bundle": "^4.3 || ^5.0 || ^6.0 || ^7.0 || ^8.0"
13+
"php": ">=8.2",
14+
"symfony/console": "^5.4 || ^6.0 || ^7.0 || ^8.0",
15+
"symfony/config": "^5.4 || ^6.0 || ^7.0 || ^8.0",
16+
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0 || ^8.0",
17+
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0 || ^8.0"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "^9.5 || ^10.0 || ^11.0",
21-
"matthiasnoback/symfony-dependency-injection-test": "^4.0 || ^5.0 || ^6.0",
20+
"phpunit/phpunit": "^9.6 || ^10.0 || ^11.0",
21+
"matthiasnoback/symfony-dependency-injection-test": "^5.1 || ^6.0",
2222
"phpspec/prophecy": "^1.14",
23-
"phpspec/prophecy-phpunit": "^1.1 || ^2.4"
23+
"phpspec/prophecy-phpunit": "^2.0"
2424
},
2525
"autoload": {
2626
"psr-4": {"Massive\\Bundle\\BuildBundle\\": "."},

0 commit comments

Comments
 (0)