Skip to content

Bump Novusvetus/action-php_codesniffer from 1.2.16 to 1.2.17 #66

Bump Novusvetus/action-php_codesniffer from 1.2.16 to 1.2.17

Bump Novusvetus/action-php_codesniffer from 1.2.16 to 1.2.17 #66

Workflow file for this run

name: php_codesniffer
'on':
push:
paths:
- '**.php'
- phpcs.xml
- .github/workflows/phpcs.yml
pull_request:
paths:
- '**.php'
- phpcs.xml
- .github/workflows/phpcs.yml
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: 'Install PHP_CodeSniffer'
run: "curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar\nphp phpcs.phar --version\n"
-
uses: Novusvetus/[email protected]
with:
files: '**.php'
scan_all: true
phpcs_path: 'php phpcs.phar'
standard: phpcs.xml