2015-03-27 23:23:25 +00:00
|
|
|
filter:
|
|
|
|
paths:
|
|
|
|
- src/*
|
|
|
|
excluded_paths:
|
|
|
|
- 'vendor/*'
|
|
|
|
- 'app/*'
|
2016-01-15 15:07:57 +00:00
|
|
|
- 'var/*'
|
2015-03-27 23:23:25 +00:00
|
|
|
- 'web/*'
|
|
|
|
- 'src/Wallabag/*Bundle/Tests/*'
|
|
|
|
- '*Test.php'
|
|
|
|
|
|
|
|
tools:
|
|
|
|
php_cs_fixer: true
|
|
|
|
php_analyzer: true
|
|
|
|
php_mess_detector: true
|
|
|
|
php_changetracking: true
|
|
|
|
php_code_sniffer: true
|
|
|
|
php_pdepend: true
|
|
|
|
sensiolabs_security_checker: true
|
2015-08-17 21:11:20 +00:00
|
|
|
#external_code_coverage:
|
|
|
|
# timeout: 3600
|
2015-03-27 23:23:25 +00:00
|
|
|
php_code_coverage: true
|
|
|
|
php_sim: false
|
|
|
|
php_cpd: false
|
2015-08-21 16:00:02 +00:00
|
|
|
|
|
|
|
checks:
|
|
|
|
php:
|
|
|
|
code_rating: true
|
2018-09-07 11:56:35 +00:00
|
|
|
|
|
|
|
# use the new PHP analysis engine
|
|
|
|
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis
|
|
|
|
build:
|
|
|
|
nodes:
|
|
|
|
analysis:
|
|
|
|
tests:
|
|
|
|
override:
|
|
|
|
- php-scrutinizer-run
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
override:
|
|
|
|
- npm install -g 'yarn'
|
|
|
|
- yarn install --force
|
|
|
|
- COMPOSER_MEMORY_LIMIT=-1 composer install -o --no-interaction --no-progress --prefer-dist
|