Checkout Config
tools:
# external_code_coverage: true
php_mess_detector: true
php_code_sniffer: true
sensiolabs_security_checker: true
# php_code_coverage: true
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- 'tests/*'
build:
tests:
override:
-
command: vendor/bin/phpunit --coverage-clover=my-coverage-file
coverage:
file: my-coverage-file
format: php-clover
Repository Config
build:
environment:
variables:
CMQ_QUEUE_HOST: http://cmq-queue-gz.api.qcloud.com
CMQ_QUEUE: test
CMQ_SECRET_ID: AKID9C6pTCEBB7sStDQBuRtESVMTTHtJvfdQ
CMQ_SECRET_KEY: lLkxb7SbYM0Z2KTRDpGVZR8zhGesumZC
nodes:
tests: true
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
filter: { }