Skip to content

Commit 8d671b1

Browse files
committed
Infection upgraded
1 parent 9a9020e commit 8d671b1

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install:
1515
script:
1616
- vendor/bin/phpcs -sp --report-junit=build/logs/phpcs.xml
1717
- if [ "$XDEBUG" == "YES" ]; then vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml; else vendor/bin/phpunit; fi
18-
- if [ "$XDEBUG" == "YES" ]; then vendor/bin/infection --coverage=build/logs --threads=4 --no-progress; fi
18+
- if [ "$XDEBUG" == "YES" ]; then vendor/bin/infection --coverage=build/logs --threads=4 --no-progress --skip-initial-tests; fi
1919

2020
after_success:
2121
- if [ "$XDEBUG" == "YES" ]; then bash <(curl -s https://codecov.io/bash -s "build/logs"); fi

composer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"require-dev": {
2525
"phpunit/phpunit": "^9.1",
26-
"infection/infection": "^0.15.3",
26+
"infection/infection": "^0.16",
2727
"squizlabs/php_codesniffer": "^3.5.4"
2828
},
2929
"autoload": {
@@ -37,16 +37,20 @@
3737
}
3838
},
3939
"scripts": {
40-
"phpcs": [
40+
"test-cs": [
4141
"vendor/bin/phpcs"
4242
],
43-
"test": [
43+
"test-unit": [
4444
"vendor/bin/phpunit --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml"
4545
],
46+
"test": [
47+
"@test-cs",
48+
"@test-unit"
49+
],
4650
"infection": [
47-
"@test",
51+
"@test-unit",
4852
"mkdir -p build/logs/infection",
49-
"vendor/bin/infection --threads=4 --coverage=build/logs --no-progress"
53+
"vendor/bin/infection --threads=4 --coverage=build/logs --no-progress --skip-initial-tests"
5054
]
5155
}
5256
}

0 commit comments

Comments
 (0)