2018-03-06 06:34:55 +01:00
|
|
|
build:
|
|
|
|
|
nodes:
|
|
|
|
|
analysis:
|
|
|
|
|
tests:
|
|
|
|
|
override: [php-scrutinizer-run]
|
2020-10-18 08:18:39 +02:00
|
|
|
environment:
|
|
|
|
|
php:
|
|
|
|
|
version: '7.4'
|
|
|
|
|
pecl_extensions:
|
|
|
|
|
- zip
|
|
|
|
|
|
2014-05-05 18:57:54 +07:00
|
|
|
filter:
|
|
|
|
|
excluded_paths: [ 'vendor/*', 'tests/*', 'samples/*', 'src/PhpWord/Shared/PCLZip/*' ]
|
|
|
|
|
|
|
|
|
|
before_commands:
|
|
|
|
|
- "composer install --prefer-source --dev"
|
|
|
|
|
|
|
|
|
|
tools:
|
2014-05-10 21:38:44 +07:00
|
|
|
php_code_sniffer:
|
|
|
|
|
enabled: true
|
|
|
|
|
config:
|
|
|
|
|
standard: PSR2
|
|
|
|
|
php_mess_detector:
|
|
|
|
|
enabled: true
|
|
|
|
|
config:
|
|
|
|
|
ruleset: phpmd.xml.dist
|
2014-05-06 16:53:15 +07:00
|
|
|
external_code_coverage:
|
2018-05-20 20:59:34 +02:00
|
|
|
enabled: false
|
2017-12-29 02:30:53 +01:00
|
|
|
timeout: 1200
|
2014-05-18 11:13:38 +07:00
|
|
|
php_cpd: true
|
|
|
|
|
# php_sim: # Temporarily disabled to allow focus on things other than duplicates
|
|
|
|
|
# min_mass: 40
|
2014-05-05 18:57:54 +07:00
|
|
|
php_pdepend: true
|
|
|
|
|
php_analyzer: true
|
2014-05-07 01:44:51 +07:00
|
|
|
sensiolabs_security_checker: true
|