* use php-cs-fixer instead of phpcodesniffer * updated scrutinizer config * adjusted code yules to all files * updated CONTRIBUTING guidelines
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
build:
|
|
environment:
|
|
node: v8.11.2
|
|
nodes:
|
|
analysis:
|
|
tests:
|
|
override:
|
|
- js-scrutinizer-run
|
|
- php-scrutinizer-run
|
|
tests:
|
|
tests:
|
|
override:
|
|
-
|
|
command: 'vendor/bin/phpunit --exclude-group integration --coverage-clover=unit tests/'
|
|
coverage:
|
|
file: 'unit'
|
|
format: 'clover'
|
|
-
|
|
command: 'vendor/bin/phpunit --group integration --coverage-clover=integration tests/'
|
|
coverage:
|
|
file: 'integration'
|
|
format: 'clover'
|
|
-
|
|
command: 'bin/console kimai:phpcs --checkstyle=checkstyle'
|
|
analysis:
|
|
file: 'checkstyle'
|
|
format: 'php-cs-checkstyle'
|
|
|
|
filter:
|
|
excluded_paths:
|
|
- '.github/'
|
|
- 'bin/'
|
|
- 'config/'
|
|
- 'public/'
|
|
- 'templates/'
|
|
- 'translations/'
|
|
- 'var/'
|
|
dependency_paths:
|
|
- 'node_modules/'
|
|
- 'vendor/'
|