forked from GNUsocial/gnu-social
[PHPStan] Only run custom PHPStan extensions if environment vairable PHPSTAN_BOOT_KERNEL is defined (since it requires having the whole social setup available)
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
|
||||
cd /var/www/social || exit 1
|
||||
|
||||
vendor/bin/phpstan --ansi --no-interaction --memory-limit=2G analyse src tests components plugins
|
||||
rm -rf /var/www/social/var/cache/*
|
||||
PHPSTAN_BOOT_KERNEL=1 vendor/bin/phpstan --ansi --no-interaction --memory-limit=2G analyse
|
||||
rm -rf /var/www/social/var/cache/*
|
||||
|
Reference in New Issue
Block a user