We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
build:
environment:
php:
version: 7.1
tests:
override:
- phpcs-run
# If you have a phpcs.xml in a sub-folder
- phpcs-run --standard=phpcs.xml src/ tests/
filter:
excluded_paths:
- 'tests/*'
checks:
php:
side_effects_or_types: false
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
parameter_doc_comments: true
encourage_single_quotes: true
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true
avoid_todo_comments: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
negation: true
build: true