Skip to content

Commit

Permalink
Remove self after exection of add-phpstan-self-replace.php (#6243)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 20, 2024
1 parent 377ec55 commit 06b658c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/build-rector-scoped.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ wget https://github.com/humbug/php-scoper/releases/download/0.18.10/php-scoper.p
# avoid phpstan/phpstan dependency duplicate
note "Remove PHPStan to avoid duplicating it"
php "$BUILD_DIRECTORY/bin/add-phpstan-self-replace.php"

# no longer used
rm -rf "$BUILD_DIRECTORY/bin/add-phpstan-self-replace.php"

composer remove phpstan/phpstan -W --update-no-dev --working-dir "$BUILD_DIRECTORY"
composer remove ocramius/package-versions -W --update-no-dev --working-dir "$BUILD_DIRECTORY"

Expand Down

0 comments on commit 06b658c

Please sign in to comment.