solve PHP 8.4 deprecation issues #117
Workflow file for this run
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: Code Quality | |
on: push | |
jobs: | |
sniff: | |
name: phpcs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP 5.6 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 5.6 | |
- name: Install dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: Run phpcs | |
run: make phpcs | |
phpstan: | |
name: phpstan on PHP 5.6 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP 5.6 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 5.6 | |
- name: Install dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: Run phpstan | |
run: make phpstan | |
phan: | |
name: phan on PHP 5.6 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP 5.6 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 5.6 | |
- name: Install dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: Run phan | |
run: make phan |