Added laravel 11 and PHP 8.3 support; Fixed github actions #19
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: Lint | |
on: [ push ] | |
jobs: | |
lint_with_php_cs_fixer: | |
name: Lint code with PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
command: install | |
only_args: -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --ignore-platform-reqs | |
php_version: 8.3 | |
- name: Run PHP-CS-Fixer | |
run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --dry-run | |
lint_with_phpcs: | |
name: Lint code with PHP CodeSniffer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
command: install | |
only_args: -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --ignore-platform-reqs | |
php_version: 8.3 | |
- name: Run PHP CodeSniffer | |
run: vendor/bin/phpcs --extensions=php |