summaryrefslogtreecommitdiff
path: root/vendor/bin/phpstan
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-11-12 01:26:43 +0000
committerwn_ <invalid@email.com>2024-11-12 01:26:43 +0000
commite4c57769e005e75b80ec0fa206fed8ff69e58162 (patch)
tree633ce900cd01c8589632adfd59378c79cd9988a8 /vendor/bin/phpstan
parent6273e26ea463e2762f2d736455f4912de7171cfa (diff)
Upgrade PHPStan to 2.0.1
Diffstat (limited to 'vendor/bin/phpstan')
-rwxr-xr-x[-rw-r--r--]vendor/bin/phpstan5
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/bin/phpstan b/vendor/bin/phpstan
index 20451337e..d76c0be76 100644..100755
--- a/vendor/bin/phpstan
+++ b/vendor/bin/phpstan
@@ -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');
- exit(0);
+ return include("phpvfscomposer://" . __DIR__ . '/..'.'/phpstan/phpstan/phpstan');
}
}
-include __DIR__ . '/..'.'/phpstan/phpstan/phpstan';
+return include __DIR__ . '/..'.'/phpstan/phpstan/phpstan';