Skip to content

Commit b2a99f0

Browse files
build(deps-dev): Update infection/infection requirement (#348)
* build(deps-dev): Update infection/infection requirement || ^0.30.0 Updates the requirements on [infection/infection](https://github.com/infection/infection) to permit the latest version. Updates `infection/infection` to 0.30.1 - [Release notes](https://github.com/infection/infection/releases) - [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md) - [Commits](infection/infection@0.29.14...0.30.1) --- updated-dependencies: - dependency-name: infection/infection dependency-version: 0.30.1 dependency-type: direct:development dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * fix command * fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b8f2c74 commit b2a99f0

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ PHPUNIT_COVERAGE_INFECTION = XDEBUG_MODE=coverage $(PHPUNIT) --exclude-group aut
3232
PHPUNIT_COVERAGE_HTML = XDEBUG_MODE=coverage $(PHPUNIT) --coverage-html=$(COVERAGE_HTML)
3333

3434
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
3737

3838
RECTOR_BIN = vendor-bin/rector/vendor/bin/rector
3939
RECTOR = $(RECTOR_BIN)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"composer/semver": "^3.4.3",
3333
"ergebnis/composer-normalize": "^2.45",
3434
"fidry/makefile": "^1.1.1",
35-
"infection/infection": "^0.29.14",
35+
"infection/infection": "^0.29.14 || ^0.31.0",
3636
"jangregor/phpstan-prophecy": "^2.1.1",
3737
"phpspec/prophecy-phpunit": "^2.3",
3838
"phpstan/extension-installer": "^1.1",

infection.json5

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,16 @@
7676
".*ResettableContainerInterface.*"
7777
]
7878
},
79+
"ReturnRemoval": {
80+
"ignoreSourceCodeByRegex": [
81+
// This flag is for performance optimisation.
82+
".*return;.*",
83+
]
84+
},
7985
"TrueValue": {
8086
"ignoreSourceCodeByRegex": [
8187
// This flag is for performance optimisation.
82-
".*sourceExhausted = true.*",
88+
".*sourceExhausted = true.*"
8389
]
8490
}
8591
}

0 commit comments

Comments
 (0)