require instead of update

This commit is contained in:
Niels Vanpachtenbeke 2022-02-14 22:43:44 +01:00
parent c7a4457c87
commit 8bf5d3f3e1

View File

@ -33,7 +33,7 @@ echo "Preparing Laravel"
echo "Adding package from source"
sed -e 's|"type": "project",|&"repositories": [ { "type": "path", "url": "../psalm-plugin-laravel" } ],|' -i composer.json
COMPOSER_MEMORY_LIMIT=-1 composer update --with "psalm/plugin-laravel:*" -W
COMPOSER_MEMORY_LIMIT=-1 composer require --dev "psalm/plugin-laravel:*" -W
echo "Analyzing Laravel"
./vendor/bin/psalm -c ../psalm-plugin-laravel/tests/laravel-test-psalm.xml