Fix typo introduced in 881d4663bebc35454a61caf1967cc71c460c4eff. #3796
Workflow file for this run
This file contains hidden or 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 CodeSniffer | |
# Controls when the action will run. | |
on: | |
push: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
jobs: | |
phpcs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # important! | |
- name: Install PHP_CodeSniffer | |
run: | | |
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar | |
php phpcs.phar --version | |
- uses: domjudge/action-php-codesniffer@master | |
with: | |
files: "**.php" # you may customize glob as needed | |
scope: files | |
phpcs_path: php phpcs.phar | |
standard: .github/jobs/data/phpruleset.xml | |
fail_on_errors: false | |
fail_on_warnings: false |