diff --git a/tests/laravel-test-baseline.xml b/tests/laravel-test-baseline.xml index e0fa6b9..1bba146 100644 --- a/tests/laravel-test-baseline.xml +++ b/tests/laravel-test-baseline.xml @@ -1,5 +1,5 @@ - + array|bool @@ -37,14 +37,41 @@ ExampleController + + + $middleware + $middlewareGroups + $routeMiddleware + + + + + $except + + ExampleMiddleware + + + $except + + + + + $except + + - $headers + $proxies + + + + + $except @@ -63,8 +90,10 @@ - + + $casts $fillable + $hidden @@ -77,6 +106,16 @@ ExamplePolicy + + + $policies + + + + + $listen + + ExampleProvider diff --git a/tests/lumen-test-baseline.xml b/tests/lumen-test-baseline.xml index c0942ff..e7cdefb 100644 --- a/tests/lumen-test-baseline.xml +++ b/tests/lumen-test-baseline.xml @@ -1,5 +1,5 @@ - + Kernel @@ -29,9 +29,6 @@ - - ExampleJob - ExampleJob diff --git a/tests/lumen-test.sh b/tests/lumen-test.sh index 7d20850..6137194 100755 --- a/tests/lumen-test.sh +++ b/tests/lumen-test.sh @@ -6,12 +6,12 @@ echo "Cleaning Up" rm -rf ../lumen/ echo "Installing Lumen" -composer create-project --quiet --prefer-dist "laravel/lumen" ../lumen +composer create-project laravel/lumen ../lumen 8.* --quiet --prefer-dist cd ../lumen/ 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 Lumen" ./vendor/bin/psalm -c ../psalm-plugin-laravel/tests/lumen-test-psalm.xml