Skip to content

Commit be65a33

Browse files
committed
Fix the infection related tests
1 parent 7893b78 commit be65a33

File tree

5 files changed

+357
-110
lines changed

5 files changed

+357
-110
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,18 @@ e2e_020: bin/php-scoper.phar fixtures/set020-infection/vendor clover.xml
167167
$(PHPBIN) $(PHPSCOPER) add-prefix --working-dir=fixtures/set020-infection \
168168
--output-dir=../../build/set020-infection \
169169
--force \
170-
--no-interaction \
171-
--stop-on-failure
170+
--no-interaction
172171
composer --working-dir=build/set020-infection dump-autoload
173172

174173
php fixtures/set020-infection/vendor/infection/infection/bin/infection \
175174
--coverage=dist/infection-coverage \
176175
> build/set020-infection/expected-output
176+
sed 's/Time.*//' build/set020-infection/expected-output > build/set020-infection/expected-output
177+
177178
php build/set020-infection/vendor/infection/infection/bin/infection \
178179
--coverage=dist/infection-coverage \
179180
> build/set020-infection/output
181+
sed 's/Time.*//' build/set020-infection/output > build/set020-infection/output
180182

181183
diff build/set020-infection/expected-output build/set020-infection/output
182184

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"require": {
3-
"infection/infection": "dev-master",
4-
"nikic/php-parser": "v3.1.4"
3+
"infection/infection": "^0.10"
54
}
65
}

0 commit comments

Comments
 (0)