File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,8 @@ infection:
172172 git -C build-infection fetch origin && git -C build-infection reset --hard origin/1.x
173173 composer install --working-dir build-infection --no-interaction --no-progress
174174 php build-infection/bin/infection-config.php --source-directory=' build/PHPStan/Build' > infection.json5
175- version=$(jq -r '.packages[] | select(.name == "infection/infection" ) | .version' build-infection/composer.lock)
176- composer require infection/infection:$version --dev
177- php build-infection/vendor/bin/infection --ignore-msi-with-no-mutations --logger-text=php://stdout
178- rm infection.json5
175+ version=$(shell jq -r '.packages[] | select(.name == "infection/infection") | .version' build-infection/composer.lock); \
176+ wget https://github.com/infection/infection/releases/download/$$ version/infection.phar;
177+ chmod +x infection.phar
178+ php infection.phar --ignore-msi-with-no-mutations --logger-text=php://stdout
179+ rm infection.json5 infection.phar
You can’t perform that action at this time.
0 commit comments