Skip to content

Commit e74e9fb

Browse files
committed
fix: laravel_cloud not defined
1 parent e9bf20e commit e74e9fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/laravel-test.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ echo "Add Larastan from source"
1212
composer config minimum-stability dev
1313
composer config repositories.0 '{ "type": "path", "url": "../larastan", "options": { "symlink": false } }'
1414
# No version information with "type":"path"
15-
composer require --dev "larastan/larastan:*"
16-
composer du -o
15+
composer require --dev --optimize-autoloader "larastan/larastan:*"
1716

1817
cat >phpstan.neon <<"EOF"
1918
includes:
@@ -29,4 +28,4 @@ vendor/bin/phpstan analyse
2928
cd -
3029

3130
echo "Test Laravel from other working directories"
32-
../laravel/vendor/bin/phpstan analyse --configuration=../laravel/phpstan.neon ../laravel/app
31+
../laravel/vendor/bin/phpstan analyse --configuration=../laravel/phpstan.neon

0 commit comments

Comments
 (0)