mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 20:34:48 +01:00
require instead of update
This commit is contained in:
parent
c7a4457c87
commit
8bf5d3f3e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user