Upgrade PHPStan to 2.0.1

This commit is contained in:
wn_
2024-11-12 01:26:43 +00:00
parent 6273e26ea4
commit e4c57769e0
14 changed files with 477 additions and 76 deletions

5
vendor/bin/phpstan vendored Normal file → Executable file
View File

@@ -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';