Skip to content

Commit 6279356

Browse files
committed
Init
1 parent 69227ac commit 6279356

File tree

2 files changed

+24
-21
lines changed

2 files changed

+24
-21
lines changed

.scrutinizer.yml

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
filter:
2-
paths: ["src/*"]
3-
excluded_paths: ["vendor/*", "tests/*", "resources/", "public/"]
2+
excluded_paths:
3+
- "tests/"
4+
- "vendor/"
45

56
checks:
67
php:
7-
code_rating: true
8-
duplication: true
9-
10-
tools:
11-
external_code_coverage: false
8+
remove_extra_empty_lines: true
9+
remove_php_closing_tag: true
10+
remove_trailing_whitespace: true
11+
fix_use_statements:
12+
remove_unused: true
13+
preserve_multiple: false
14+
preserve_blanklines: true
15+
order_alphabetically: true
16+
fix_php_opening_tag: true
17+
fix_linefeed: true
18+
fix_line_ending: true
19+
fix_identation_4spaces: true
20+
fix_doc_comments: true
1221

1322
build:
1423
environment:
1524
php: 7.2
16-
mysql: true
17-
node: false
25+
mysql: false
1826
postgresql: false
1927
mongodb: false
2028
elasticsearch: false
2129
redis: false
2230
memcached: false
2331
neo4j: false
2432
rabbitmq: false
25-
dependencies:
26-
before:
27-
- composer self-update
28-
- composer update --no-interaction --prefer-dist
29-
- php cli.php install --environment travis
3033
tests:
31-
before:
32-
-
33-
command: 'vendor/bin/phpunit --coverage-clover build/logs/clover.xml'
34-
coverage:
35-
file: 'build/logs/clover.xml'
36-
format: 'clover'
34+
override:
35+
-
36+
command: 'vendor/bin/phpunit --coverage-clover build/logs/clover.xml'
37+
coverage:
38+
file: 'build/logs/clover.xml'
39+
format: 'clover'

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ before_script:
1919
- cd $TRAVIS_BUILD_DIR
2020

2121
script:
22-
- ant phpunit-coverage
22+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
2323

2424
#after_success:
2525
# - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi

0 commit comments

Comments
 (0)