From e4c57769e005e75b80ec0fa206fed8ff69e58162 Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 12 Nov 2024 01:26:43 +0000 Subject: Upgrade PHPStan to 2.0.1 --- vendor/bin/phpstan | 5 ++--- vendor/bin/phpstan.phar | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) mode change 100644 => 100755 vendor/bin/phpstan mode change 100644 => 100755 vendor/bin/phpstan.phar (limited to 'vendor/bin') diff --git a/vendor/bin/phpstan b/vendor/bin/phpstan old mode 100644 new mode 100755 index 20451337e..d76c0be76 --- 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'; diff --git a/vendor/bin/phpstan.phar b/vendor/bin/phpstan.phar old mode 100644 new mode 100755 index caa3e24f8..fecf96f69 --- 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'; -- cgit v1.2.3-54-g00ecf