Updated Rector to commit 71ffc807faa4ee0ec144d5a7b6051a7c86c730c8

71ffc807fa Update all classlike pseudo rector (#3002)
This commit is contained in:
Tomas Votruba 2022-10-18 11:35:10 +00:00
parent fe83c2a756
commit edd2c3657d
9 changed files with 37 additions and 37 deletions

View File

@ -9,7 +9,7 @@ use PhpParser\Node\FunctionLike;
use PhpParser\Node\Identifier;
use PhpParser\Node\Name;
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassLike;
use PhpParser\Node\Stmt\Namespace_;
use PhpParser\Node\Stmt\Property;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
@ -164,7 +164,7 @@ CODE_SAMPLE
private function processIdentifier(Identifier $identifier) : ?Identifier
{
$parentNode = $identifier->getAttribute(AttributeKey::PARENT_NODE);
if (!$parentNode instanceof Class_) {
if (!$parentNode instanceof ClassLike) {
return null;
}
$name = $this->getName($identifier);

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '56620a9e3f49a1a71c6586752c9d5f67c0e7281c';
public const PACKAGE_VERSION = '71ffc807faa4ee0ec144d5a7b6051a7c86c730c8';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-10-17 15:32:40';
public const RELEASE_DATE = '2022-10-18 13:30:26';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit3dcdb34ff976a9e3fa36ccd3e369a763::getLoader();
return ComposerAutoloaderInit619a0c00a69d9478ee98b7e74b00631d::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit3dcdb34ff976a9e3fa36ccd3e369a763
class ComposerAutoloaderInit619a0c00a69d9478ee98b7e74b00631d
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit3dcdb34ff976a9e3fa36ccd3e369a763
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit3dcdb34ff976a9e3fa36ccd3e369a763', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit619a0c00a69d9478ee98b7e74b00631d', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit3dcdb34ff976a9e3fa36ccd3e369a763', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit619a0c00a69d9478ee98b7e74b00631d', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit619a0c00a69d9478ee98b7e74b00631d::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInit619a0c00a69d9478ee98b7e74b00631d::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire3dcdb34ff976a9e3fa36ccd3e369a763($fileIdentifier, $file);
composerRequire619a0c00a69d9478ee98b7e74b00631d($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit3dcdb34ff976a9e3fa36ccd3e369a763
* @param string $file
* @return void
*/
function composerRequire3dcdb34ff976a9e3fa36ccd3e369a763($fileIdentifier, $file)
function composerRequire619a0c00a69d9478ee98b7e74b00631d($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763
class ComposerStaticInit619a0c00a69d9478ee98b7e74b00631d
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3093,9 +3093,9 @@ class ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit3dcdb34ff976a9e3fa36ccd3e369a763::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit619a0c00a69d9478ee98b7e74b00631d::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit619a0c00a69d9478ee98b7e74b00631d::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit619a0c00a69d9478ee98b7e74b00631d::$classMap;
}, null, ClassLoader::class);
}

View File

@ -733,17 +733,17 @@
},
{
"name": "phpstan\/phpstan",
"version": "1.8.9",
"version_normalized": "1.8.9.0",
"version": "1.8.10",
"version_normalized": "1.8.10.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/phpstan\/phpstan.git",
"reference": "3a72d9d9f2528fbd50c2d8fcf155fd9f74ade3f2"
"reference": "0c4459dc42c568b818b3f25186589f3acddc1823"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/3a72d9d9f2528fbd50c2d8fcf155fd9f74ade3f2",
"reference": "3a72d9d9f2528fbd50c2d8fcf155fd9f74ade3f2",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/0c4459dc42c568b818b3f25186589f3acddc1823",
"reference": "0c4459dc42c568b818b3f25186589f3acddc1823",
"shasum": ""
},
"require": {
@ -752,7 +752,7 @@
"conflict": {
"phpstan\/phpstan-shim": "*"
},
"time": "2022-10-13T13:40:18+00:00",
"time": "2022-10-17T14:23:35+00:00",
"bin": [
"phpstan",
"phpstan.phar"
@ -775,7 +775,7 @@
],
"support": {
"issues": "https:\/\/github.com\/phpstan\/phpstan\/issues",
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/1.8.9"
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/1.8.10"
},
"funding": [
{

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmNIFTQACgkQzxoQjQ56
5yCNzA//RJ26mWB1e8H1yF0H8Siwf9pdNuNARX8ox8KSWbClzpdBWn5RvLSE7CDH
BpNa8PRQC0iiho9GSK81UytsyWll1u62WYlpKtoiu4HDC+m1Mw7j+WreYEB4l+jf
G3D8z+9R4e4OwKOYnksLpvnvUQwTn28QfI8a+GzeAxV9+OJlqEc2DGQ6SfQAR8iN
gYfCfD/VK///iwIOCJIsBV72AGTONd0Sb7o+99Of1AQx+b7+xRRTjn8TuffdP9HD
01Uwhr+L/5YnrT6rNdbrPbfe/vdQaAgUo/ngxW2N+loSRH+O7CpeJgqitJh4mXxW
L0H26/hOky7Kl67eaKoHimumj5LwAMUWM3lLShl41oUza8GGJOpfOaAB/JBg7S3R
FWGif8P+mrbmlkS75uuB7QHvFyyAqWbVuLPTHKg/pxUiPhtk5W3sNRNy/UU1klcF
du9CCZElo9+gbuVn5/5H6NHyOQTlkeVVsGKJ/ukqPKctankuSDofi1S276p63M4e
PsLnvaEAGlKwHM82nDqyGd7iODcwQi/XjhMdYHqyWjRYAldEvWEZgzjdGyFsHwoB
DrD/b5/d2etQxCsrnQ/NSmLt8GiUAkTkeoo/yzF76WPn4ZF15Aa2WQOjePrx+rrm
ziDIwgKoHv07OO6/BMwAs/hUGGDPx8l0rvdP3PZPhL2kXDPNsc8=
=78vo
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmNNZVkACgkQzxoQjQ56
5yC6FRAA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