9 lines
291 B
YAML
9 lines
291 B
YAML
|
steps:
|
||
|
test:
|
||
|
image: php:8.2-cli
|
||
|
commands:
|
||
|
- find . -path ./app/vendor -prune -o -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
|
||
|
when:
|
||
|
- event: pull_request
|
||
|
- event: [push, tag, manual]
|
||
|
branch: main
|