Update phpcs_psr12.yml
This commit is contained in:
parent
f882fe196a
commit
aeed2a779e
|
|
@ -1,14 +1,6 @@
|
||||||
name: "CI"
|
name: "CI"
|
||||||
|
|
||||||
on:
|
on: [workflow_dispatch, pull_request]
|
||||||
workflow_dispatch:
|
|
||||||
paths:
|
|
||||||
- "**.php"
|
|
||||||
- "html"
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- "**.php"
|
|
||||||
- "html"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
phpcs:
|
phpcs:
|
||||||
|
|
@ -27,6 +19,6 @@ jobs:
|
||||||
|
|
||||||
- uses: tinovyatkin/action-php-codesniffer@v1
|
- uses: tinovyatkin/action-php-codesniffer@v1
|
||||||
with:
|
with:
|
||||||
files: "**.php" # you may customize glob as needed
|
files: "html/*.php"
|
||||||
phpcs_path: php phpcs.phar
|
phpcs_path: php phpcs.phar
|
||||||
standard: PSR12
|
standard: PSR12
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue