Skip to content

Commit d08ad92

Browse files
committed
Set PHP 7.4 as minimal version
1 parent 72f54c9 commit d08ad92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
strategy:
99
matrix:
10-
php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
10+
php: [ '7.4', '8.0', '8.1', '8.2' ]
1111
prefer: [ 'lowest', 'stable' ]
1212

1313
name: Test on PHP ${{ matrix.php }} with ${{ matrix.prefer }} composer prefer option
@@ -52,7 +52,7 @@ jobs:
5252
- name: Install PHP
5353
uses: shivammathur/setup-php@v2
5454
with:
55-
php-version: 7.1
55+
php-version: 7.4
5656

5757
- name: Install dependencies
5858
run: composer update --prefer-stable --prefer-dist --no-progress

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": ["enum", "phpstan"],
66
"license": "MIT",
77
"require": {
8-
"php": "^7.1|^8.0",
8+
"php": "^7.4|^8.0",
99
"myclabs/php-enum": "^1.2",
1010
"phpstan/phpstan": "^1.0"
1111
},

0 commit comments

Comments
 (0)