Skip to content

Commit 33eb6ef

Browse files
committed
simplify
1 parent a4cc79c commit 33eb6ef

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
@@ -170,14 +170,11 @@ infection:
170170
git -C build-infection fetch origin && git -C build-infection reset --hard origin/1.x
171171
composer install --working-dir build-infection --no-interaction --no-progress
172172
php build-infection/bin/infection-config.php --source-directory='build/PHPStan/Build'> tmp/infection.json5
173-
version=$(shell jq -r '.packages[] | select(.name == "infection/infection") | .version' build-infection/composer.lock); \
174-
wget -P tmp/ https://github.com/infection/infection/releases/download/$$version/infection.phar --no-clobber;
175-
chmod +x tmp/infection.phar
176173
XDEBUG_MODE=coverage php tests/vendor/bin/paratest \
177174
--coverage-xml=tmp/coverage/coverage-xml \
178175
--log-junit=tmp/coverage/junit.xml
179176
baseBranch=$(shell git symbolic-ref refs/remotes/${remote:-origin}/HEAD | sed 's,.*/,,') \
180-
php infection.phar \
177+
php build-infection/vendor/bin/infection \
181178
--configuration=tmp/infection.json5
182179
--git-diff-base=origin/$$baseBranch \
183180
--git-diff-lines \

0 commit comments

Comments
 (0)