filter: excluded_paths: - 'tests/*' - 'bin/*' checks: php: return_doc_comments: true check_method_contracts: verify_interface_like_constraints: true verify_documented_constraints: true verify_parent_constraints: true javascript: var_sometimes_initialized: true var_never_initialized: true use_isnan: true unsafe_mutable_variable_usage: true no_use_before_define: true no_undef: true no_invalid_regexp: true no_inner_declarations: true no_implied_eval: true no_eval: true no_dupe_keys: true no_delete_var: true no_constant_condition: true check_undeclared_vars: true check_try_statement: true check_too_many_arguments: true check_switch_ambiguous_test: true coding_style: php: spaces: around_operators: concatenation: true build: environment: php: version: '7.2' tests: before: - command: 'cp .travis_app_local_mysql.txt config/app_local.php' override: - command: 'vendor/bin/phpunit --coverage-clover=scrutinizer-clover.txt' coverage: file: 'scrutinizer-clover.txt' format: 'clover' project_setup: before: - mysql -e "CREATE DATABASE fc;" - mysql -e "CREATE DATABASE test_fc;" nodes: tests: true analysis: tests: override: - command: phpcs-run use_website_config: true - 'php-scrutinizer-run --enable-security-analysis'