/
PHP CodeSniffer
PHP CodeSniffer
PHP CodeSniffer supports the report format checkstyle
which is supported by Code Review Assistant out of the box.
Example for Bamboo:
#!/bin/bash
php phpcs.phar --basepath=${bamboo.build.working.directory} \
--report=checkstyle \
--report-file=phpcodesniffer.xml .
cat phpcodesniffer.xml || echo "No PHP CodeSniffer report generated"
, multiple selections available,
Related content
Show Code Analysis in PR
Show Code Analysis in PR
More like this
ShellCheck
ShellCheck
More like this
Stylelint
Stylelint
More like this
Hadolint
More like this
clang-tidy
clang-tidy
More like this
Release Notes v5.8
Release Notes v5.8
More like this