filter: excluded_paths: - 'var/*' - 'app/*' - 'tests/*' - 'bin/*' - 'vendor/*' - 'assets/vendor/*' - '*.min.js' build: project_setup: before: - composer self-update - ./node_modules/.bin/encore production tests: override: - command: ./vendor/bin/phpcs -s -p . --ignore=/home/scrutinizer/build/node_modules - command: ./vendor/bin/phpunit tests --coverage-clover=coverage.xml coverage: file: 'coverage.xml' format: 'clover' - command: ./vendor/bin/minus-x check . nodes: tests: environment: php: version: 7.2
filter: excluded_paths: - 'app/*' - 'tests/*' - 'bin/*' - 'vendor/*' - 'web/bootstrap/*' - 'web/chartjs/*' - 'web/static/js/vendor/*' - '*.min.js' checks: php: simplify_boolean_return: true return_doc_comments: true return_doc_comment_if_not_inferrable: true remove_extra_empty_lines: true properties_in_camelcaps: true parameters_in_camelcaps: true parameter_doc_comments: true param_doc_comment_if_not_inferrable: true more_specific_types_in_doc_comments: true javascript: no_loop_var_assign: true no_else_return: true no_alert: true eqeqeq: true coding_style: php: spaces: around_operators: additive: false other: after_type_cast: false build: nodes: tests: true analysis: tests: override: - php-scrutinizer-run