add -W as composer fails to update

This commit is contained in:
Niels 2021-10-08 13:23:33 +02:00
parent 6d727a1e40
commit 2fd57f6ac8
No known key found for this signature in database
GPG Key ID: 23277CB01CFFF202

View File

@ -34,7 +34,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 require --dev "psalm/plugin-laravel:*"
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