Checkout Config
before_commands:
- "composer install --dev --prefer-source"
filter:
# Everything in a root level "test" directory will be excluded
excluded_paths:
- "test/"
# Everything in a root level "vendor" directory will be excluded from analysis
# but treated as a dependency
dependency_paths:
- "vendor/"
# Use new PHP Analysis Engine.
# https://scrutinizer-ci.com/docs/guides/php/
# https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/
# https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/checks
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run --enable-security-analysis
- phpcs-run --standard=.phpcs.xml