summaryrefslogtreecommitdiff
path: root/vendor/bin/phpstan
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-11-13 18:38:32 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-11-13 18:38:32 +0000
commit394d606fe977a331f733c62e5509469c2eb3ef31 (patch)
tree27832a131eafec209a8de1361c35c69baa45231f /vendor/bin/phpstan
parent6273e26ea463e2762f2d736455f4912de7171cfa (diff)
parent859ce4d7f69a46716a10eacc485ffaf9867a76d4 (diff)
Merge branch 'feature/phpstan-2.0.x' into 'master'
PHPStan 2.0.x See merge request tt-rss/tt-rss!74
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';