Skip to content

Commit

Permalink
use --with on composer
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Jan 19, 2022
1 parent 11d9e30 commit 2f8390a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/laravel-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 update --dev "psalm/plugin-laravel:*" -W
COMPOSER_MEMORY_LIMIT=-1 composer update --with "psalm/plugin-laravel:*" -W

echo "Analyzing Laravel"
./vendor/bin/psalm -c ../psalm-plugin-laravel/tests/laravel-test-psalm.xml

0 comments on commit 2f8390a

Please sign in to comment.