Skip to content

Commit e740968

Browse files
committed
simplify
1 parent 3c712d1 commit e740968

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,11 @@ infection:
171171
git -C build-infection fetch origin && git -C build-infection reset --hard origin/1.x
172172
composer install --working-dir build-infection --no-interaction --no-progress
173173
php build-infection/bin/infection-config.php --source-directory='build/PHPStan/Build'> tmp/infection.json5
174-
version=$(shell jq -r '.packages[] | select(.name == "infection/infection") | .version' build-infection/composer.lock); \
175-
wget -P tmp/ https://github.com/infection/infection/releases/download/$$version/infection.phar --no-clobber;
176-
chmod +x tmp/infection.phar
177174
XDEBUG_MODE=coverage php tests/vendor/bin/paratest \
178175
--coverage-xml=tmp/coverage/coverage-xml \
179176
--log-junit=tmp/coverage/junit.xml
180177
baseBranch=$(shell git symbolic-ref refs/remotes/${remote:-origin}/HEAD | sed 's,.*/,,') \
181-
php infection.phar \
178+
php build-infection/vendor/bin/infection \
182179
--configuration=tmp/infection.json5
183180
--git-diff-base=origin/$$baseBranch \
184181
--git-diff-lines \

0 commit comments

Comments
 (0)