summaryrefslogtreecommitdiff
path: root/vendor/bin/phpstan.phar
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/bin/phpstan.phar')
-rwxr-xr-x[-rw-r--r--]vendor/bin/phpstan.phar5
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/bin/phpstan.phar b/vendor/bin/phpstan.phar
index caa3e24f8..fecf96f69 100644..100755
--- a/vendor/bin/phpstan.phar
+++ b/vendor/bin/phpstan.phar
@@ -112,9 +112,8 @@ if (PHP_VERSION_ID < 80000) {
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
) {
- include("phpvfscomposer://" . __DIR__ . '/..'.'/phpstan/phpstan/phpstan.phar');
- exit(0);
+ return include("phpvfscomposer://" . __DIR__ . '/..'.'/phpstan/phpstan/phpstan.phar');
}
}
-include __DIR__ . '/..'.'/phpstan/phpstan/phpstan.phar';
+return include __DIR__ . '/..'.'/phpstan/phpstan/phpstan.phar';