Add compatibility with new core version. Fix issue with php 8.2. #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP tests | |
on: [push, pull_request] | |
jobs: | |
php-linter: | |
name: PHP Syntax check 7.4|8.1|8.2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.0.0 | |
- name: PHP syntax checker 7.4 | |
uses: prestashop/github-action-php-lint/7.4@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 |