I have a pipeline that installs PHP codesniffer and runs a sniff against my codebase.
When I run this sniff on my server, it outputs all the errors.
When I run this sniff from bitbucket pipelines it fails the entire pipeline after bumping into the first phpcs error.
I would expect it to continue the phpcs script and show all errors and then move on to the next step of my pipeline.
- step:
name: PHP CodeSniffer
caches:
- composer
script:
- set +e
- composer install
- vendor/bin/phpcs --standard=PSR2 Api/ Helper/ Model/ Plugin/ Setup/