Updated Rector to commit 202b47a593

202b47a593 Upgrade phpstan/phpstan to 0.12.94 (#585)
This commit is contained in:
Tomas Votruba 2021-08-03 13:41:15 +00:00
parent f24ba3e919
commit 1b0c85ae13
11 changed files with 42 additions and 43 deletions

View File

@ -7,7 +7,7 @@
],
"require": {
"php": "^7.1|^8.0",
"phpstan/phpstan": "0.12.93"
"phpstan/phpstan": "0.12.94"
},
"autoload": {
"files": [

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = 'ae55eac4c937caf15d9bb320672f038915bc6f80';
public const PACKAGE_VERSION = '202b47a5930a02d9c8d2c5aa5b611f04d6df232a';
/**
* @var string
*/
public const RELEASE_DATE = '2021-08-03 13:53:45';
public const RELEASE_DATE = '2021-08-03 20:32:38';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20210803\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0::getLoader();
return ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0
class ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit5e3de56df7b1f217fdd135504e95ac6b::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit5e3de56df7b1f217fdd135504e95ac6b::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire46f9ff9f810bf2bc08e6b1e121c5efc0($fileIdentifier, $file);
composerRequire5e3de56df7b1f217fdd135504e95ac6b($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire46f9ff9f810bf2bc08e6b1e121c5efc0($fileIdentifier, $file)
function composerRequire5e3de56df7b1f217fdd135504e95ac6b($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0
class ComposerStaticInit5e3de56df7b1f217fdd135504e95ac6b
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3847,9 +3847,9 @@ class ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit46f9ff9f810bf2bc08e6b1e121c5efc0::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit5e3de56df7b1f217fdd135504e95ac6b::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit5e3de56df7b1f217fdd135504e95ac6b::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit5e3de56df7b1f217fdd135504e95ac6b::$classMap;
}, null, ClassLoader::class);
}

View File

@ -832,17 +832,17 @@
},
{
"name": "phpstan\/phpstan",
"version": "dev-master",
"version_normalized": "dev-master",
"version": "0.12.94",
"version_normalized": "0.12.94.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/phpstan\/phpstan.git",
"reference": "fc2d1db"
"reference": "3d0ba4c198a24e3c3fc489f3ec6ac9612c4be5d6"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/fc2d1db",
"reference": "fc2d1db",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/3d0ba4c198a24e3c3fc489f3ec6ac9612c4be5d6",
"reference": "3d0ba4c198a24e3c3fc489f3ec6ac9612c4be5d6",
"shasum": ""
},
"require": {
@ -851,8 +851,7 @@
"conflict": {
"phpstan\/phpstan-shim": "*"
},
"time": "2021-08-01T08:10:27+00:00",
"default-branch": true,
"time": "2021-07-30T09:05:27+00:00",
"bin": [
"phpstan",
"phpstan.phar"
@ -876,7 +875,7 @@
"description": "PHPStan - PHP Static Analysis Tool",
"support": {
"issues": "https:\/\/github.com\/phpstan\/phpstan\/issues",
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/master"
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/0.12.94"
},
"funding": [
{

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ final class PharAutoloader
if (!\extension_loaded('phar') || \defined('__PHPSTAN_RUNNING__')) {
return;
}
if (\strpos($class, '_HumbugBox') === 0) {
if (\strpos($class, '_PHPStan_') === 0) {
if (!\in_array('phar', \stream_get_wrappers(), \true)) {
throw new \Exception('Phar wrapper is not registered. Please review your php.ini settings.');
}

Binary file not shown.

View File

@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmD5mrgACgkQzxoQjQ56
5yC58A//eiS34AJgHG+XCdGVZSgtmYXxrxv1t85xp1iZ/DvxnFRkgeG99PVAaGwE
qebeqKemN5CE93Kd0fkPv/S2MoLP0Km7qil79CzlfvSYofi7S+KElwqXGJnGkUbu
NZkUAwmVkSByeO7M2PWXUJE2UIsvVAGUJ1ghMf+ZT+8IIHK5BejMDm+aWbsceO1v
zqKcTQnWLzjqxluZWuom3WLk8Ira+bJnjlbvICQVyLaD5m6A3kZg0xjusQJYyeLA
T13vtkRhnFjWR6h02sSqMk32QSKJxx4jbTmteJMyPlimw5j2rCyV8avpUtDRdki/
FEg/7hv0h/18WaPL5/thLupZq57hRTdyqCa2QDgvXQHVny9oiP9KMXCyHSLhFn2g
4tIRLUXa8ehEV0RL0kTrxGMsuBwuRkR9u0Rge8jAMAzx1va0RwBAQQI8ZOIeA+nT
dl/gl8a0/2BtctW4VFfr3hhPXNA9RM/aCviMqz7gqvFqydQ/bMi5D5+O3V9QomSU
96q30aTtD3mbXnlZDprPtrlGQ6VymN3aRpha7/7GbUbee/8avY/puiYdcitbqWRQ
THjGU2rfZ+knMsL4NEVkle7NhQOU8Gt1VfDm4g6wxI07drfHNlwCMAkftxYewHfk
9pdtlhhobpzyQRutEqYpuiJs8eL3zgiGig1afZThX7O5vAz6WEs=
=pSGc
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmEDwNYACgkQzxoQjQ56
5yAbWQ//TaKHz0pj5wrcd49pH4qcFPEAgqI5kfptGgQOYQ6xMdsNUIGFeYfeDS41
cQXB6jhePx3+zlwfrkZR0G9i6N3R1mhI1h3Olq6893rXElIjiRQGCDzFoO4N/Qbk
5f8k6iyP7/SvSFNfGZ8b5WeXJ0tpI1bB3qQP0UGXsr3q5K1JZzgYeTr9ZOigMIr/
sFmx+MVAvUtY7riI2MGZ0r5B2rAVABRpM8GyOE2Eg8TkdVSiE4vmGvvZA6zULFtA
sbhKtHHJyVq+zLNPEtnBPuTl6+uQk7ll1pI1o7g5rTP2UunyXldhbbdS4iWueF0F
KRnkAH7s1Q+/EvXJ9sYFryfqzODi10fjoXDpqnxOdTQcAcPWnW7v/BtbW57DVAMH
mHLfiuw72Jfh1TCwTSHQ18vOSU7cahbQeG1z898OPbQH7DrxYtaJTSLGUI7tEJlM
Glbb5rPZJOoj3jEI3/ShRInxDZR417fKWMmmpQL1JoXgr+b/VdRP4TjOSV7GjuOp
iC99cEkirqGWrLzIfLTyAJXh8LE7OitV/BuRGqAnrtUiAguSv/HLpVZtEvmon5UO
JDqJyLzewv7IRJhpMhAODJDg2VjzgvYSmLQRDR3qdBFxlovsCFcsRggdjn3Amb3a
URlgzEjL1s0tzgAuSAnfliwo/sQB9l0Qo2vj23U9PKCvYnreix4=
=GLW4
-----END PGP SIGNATURE-----

View File

@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
spl_autoload_call('RectorPrefix20210803\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0', false) && !interface_exists('ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0', false) && !trait_exists('ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0', false)) {
spl_autoload_call('RectorPrefix20210803\ComposerAutoloaderInit46f9ff9f810bf2bc08e6b1e121c5efc0');
if (!class_exists('ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b', false) && !interface_exists('ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b', false) && !trait_exists('ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b', false)) {
spl_autoload_call('RectorPrefix20210803\ComposerAutoloaderInit5e3de56df7b1f217fdd135504e95ac6b');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210803\Doctrine\Inflector\Inflector');
@ -3308,9 +3308,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210803\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire46f9ff9f810bf2bc08e6b1e121c5efc0')) {
function composerRequire46f9ff9f810bf2bc08e6b1e121c5efc0() {
return \RectorPrefix20210803\composerRequire46f9ff9f810bf2bc08e6b1e121c5efc0(...func_get_args());
if (!function_exists('composerRequire5e3de56df7b1f217fdd135504e95ac6b')) {
function composerRequire5e3de56df7b1f217fdd135504e95ac6b() {
return \RectorPrefix20210803\composerRequire5e3de56df7b1f217fdd135504e95ac6b(...func_get_args());
}
}
if (!function_exists('parseArgs')) {