Skip to content

Commit b1fdd2f

Browse files
authored
Merge pull request #8 from wallabag/drop-old
Drop old PHP and Symfony
2 parents efa765b + 56d02be commit b1fdd2f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
15+
php: [7.4, 8.0, 8.1, 8.2]
16+
symfony-version: [4.4.*, 5.4.*]
1617
composer-flags: ['', '--prefer-lowest']
1718
fail-fast: true
1819
steps:
@@ -23,6 +24,7 @@ jobs:
2324
with:
2425
php-version: ${{ matrix.php }}
2526
coverage: none
27+
tools: flex
2628

2729
- name: Get composer cache directory
2830
id: composer-cache
@@ -36,6 +38,8 @@ jobs:
3638
restore-keys: ${{ runner.os }}-composer-
3739

3840
- name: Install dependencies
41+
env:
42+
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
3943
run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }}
4044

4145
- run: make tests

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
"bin-dir": "bin/"
3232
},
3333
"require": {
34-
"php": ">=7.2",
34+
"php": ">=7.4",
3535

3636
"hoa/ruler": "~2.0",
3737
"hoa/consistency": "^1.17.05",
38-
"symfony/property-access": "~3.0|~4.0|~5.0"
38+
"symfony/property-access": "^4.4|^5.4"
3939
},
4040
"require-dev": {
4141
"ext-json": "*",
4242

4343
"mikey179/vfsstream": "^1.6.7",
44-
"phpspec/phpspec": "^6.1.1|^7.0",
44+
"phpspec/phpspec": "^7.0",
4545

4646
"behat/behat": "~3.0",
4747

0 commit comments

Comments
 (0)