File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ PHPUNIT_COVERAGE_INFECTION = XDEBUG_MODE=coverage $(PHPUNIT) --exclude-group aut
32
32
PHPUNIT_COVERAGE_HTML = XDEBUG_MODE=coverage $(PHPUNIT ) --coverage-html=$(COVERAGE_HTML )
33
33
34
34
INFECTION_BIN = vendor/bin/infection
35
- INFECTION = $(INFECTION_BIN ) --skip-initial-tests --coverage=$(COVERAGE_DIR ) --only-covered -- show-mutations --min-msi=$(TARGET_MSI ) --min-covered-msi=$(TARGET_MSI ) --ansi --threads=max
36
- INFECTION_WITH_INITIAL_TESTS = $(INFECTION_BIN ) --only-covered -- show-mutations --min-msi=$(TARGET_MSI ) --min-covered-msi=$(TARGET_MSI ) --ansi --threads=max
35
+ INFECTION = $(INFECTION_BIN ) --skip-initial-tests --coverage=$(COVERAGE_DIR ) --show-mutations --min-msi=$(TARGET_MSI ) --min-covered-msi=$(TARGET_MSI ) --ansi --threads=max
36
+ INFECTION_WITH_INITIAL_TESTS = $(INFECTION_BIN ) --show-mutations --min-msi=$(TARGET_MSI ) --min-covered-msi=$(TARGET_MSI ) --ansi --threads=max
37
37
38
38
RECTOR_BIN = vendor-bin/rector/vendor/bin/rector
39
39
RECTOR = $(RECTOR_BIN )
Original file line number Diff line number Diff line change 32
32
"composer/semver" : " ^3.4.3" ,
33
33
"ergebnis/composer-normalize" : " ^2.45" ,
34
34
"fidry/makefile" : " ^1.1.1" ,
35
- "infection/infection" : " ^0.29.14" ,
35
+ "infection/infection" : " ^0.29.14 || ^0.31.0 " ,
36
36
"jangregor/phpstan-prophecy" : " ^2.1.1" ,
37
37
"phpspec/prophecy-phpunit" : " ^2.3" ,
38
38
"phpstan/extension-installer" : " ^1.1" ,
Original file line number Diff line number Diff line change 76
76
".*ResettableContainerInterface.*"
77
77
]
78
78
} ,
79
+ "ReturnRemoval" : {
80
+ "ignoreSourceCodeByRegex" : [
81
+ // This flag is for performance optimisation.
82
+ ".*return;.*" ,
83
+ ]
84
+ } ,
79
85
"TrueValue" : {
80
86
"ignoreSourceCodeByRegex" : [
81
87
// This flag is for performance optimisation.
82
- ".*sourceExhausted = true.*" ,
88
+ ".*sourceExhausted = true.*"
83
89
]
84
90
}
85
91
}
You can’t perform that action at this time.
0 commit comments