Skip to content

Commit

Permalink
Support PHP 7.4 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Dec 14, 2023
1 parent 9188ee4 commit da51d05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 7.4
coverage: none
tools: parallel-lint

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
php-version: '7.4'
- os: ubuntu-latest
php-version: '8.0'
- os: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
php-version: '7.4'
- os: ubuntu-latest
php-version: '8.0'
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "staabm/phpstan-todo-by",

"require": {
"php": "^8.0"
"php": "^7.4 || ^8.0"
},

"require-dev": {
Expand Down

0 comments on commit da51d05

Please sign in to comment.