Skip to content

Commit

Permalink
Increase the PHP version tested range
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Nov 22, 2024
1 parent 060c7df commit 746c966
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PHP tests
on: [push, pull_request]
jobs:
php-linter:
name: PHP Syntax check 7.2|7.3|7.4|8.0
name: PHP Syntax check 7.2|7.3|7.4|8.0|8.1|8.2|8.3|8.4
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -15,6 +15,14 @@ jobs:
uses: prestashop/github-action-php-lint/7.4@master
- name: PHP syntax checker 8.0
uses: prestashop/github-action-php-lint/8.0@master
- name: PHP syntax checker 8.1
uses: prestashop/github-action-php-lint/8.1@master
- name: PHP syntax checker 8.2
uses: prestashop/github-action-php-lint/8.2@master
- name: PHP syntax checker 8.3
uses: prestashop/github-action-php-lint/8.3@master
- name: PHP syntax checker 8.4
uses: prestashop/github-action-php-lint/8.4@master

php-cs-fixer:
name: PHP-CS-Fixer
Expand All @@ -30,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.2', '7.3', '7.4', '8.0']
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
steps:
- name: Setup PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
Expand Down

0 comments on commit 746c966

Please sign in to comment.