Global Config
filter:
paths:
- 'src/*'
- 'lib/*'
excluded_paths:
- 'vendor/*'
- 'cache/*'
- 'tests/*'
- 'Tests/*'
- 'bin/*'
- 'tmp/*'
- 'vagrant/*'
- 'resources/*'
- 'config/*'
- 'web/*'
before_commands:
- 'composer install --prefer-source'
tools:
php_mess_detector:
filter:
excluded_paths: ['vendor/*', 'app/*', 'web/*', 'tests/*', 'Tests/*']
config:
controversial_rules: { camel_case_class_name: true, camel_case_method_name: true, camel_case_parameter_name: true, superglobals: false }
php_cs_fixer:
filter:
excluded_paths: ['vendor/*', 'app/*', 'web/*', 'tests/*', 'Tests/*']
config:
level: all
php_code_sniffer:
filter:
excluded_paths: ['vendor/*', 'app/*', 'web/*', 'tests/*', 'Tests/*']
config:
standard: PSR2
sniffs: { generic: { white_space: { disallow_tab_indent_sniff: true, scope_indent_sniff: true } } }
sensiolabs_security_checker:
filter:
excluded_paths: ['vendor/*', 'app/*', 'web/*', 'tests/*', 'Tests/*']
php_code_coverage:
config_path: phpunit.xml.dist
filter:
excluded_paths: ['vendor/*', 'app/*', 'web/*', 'tests/*', 'Tests/*']
php_cpd:
excluded_dirs:
- vendor
- tests
- test
- Tests
- Test
- cache
- bin
- tmp
- vagrant
- resources
- config
- web
filter:
excluded_paths: ['vendor/*', 'app/*', 'web/*', 'tests/*', 'Tests/*']
php_loc:
excluded_dirs:
- tests
- test
- Tests
- Test
- cache
- bin
- tmp
- vagrant
- resources
- config
- web
- vendor
php_pdepend:
excluded_dirs:
- tests
- test
- Tests
- Test
- cache
- bin
- tmp
- vagrant
- resources
- config
- web
- vendor