Updated Rector to commit 879a36b44d6b43e4c4d268a3d7e96e0830cac478

879a36b44d [Php81] Skip __invoke() usage from non-class code on FirstClassCallableRector (#5816)
This commit is contained in:
Tomas Votruba 2024-04-11 20:55:59 +00:00
parent 0c2b95ea62
commit 76a58d63f0
4 changed files with 8 additions and 11 deletions

View File

@ -118,10 +118,7 @@ CODE_SAMPLE
private function isNonStaticOtherObject(FullyQualifiedObjectType $fullyQualifiedObjectType, ArrayCallable $arrayCallable, Scope $scope) : bool
{
$classReflection = $scope->getClassReflection();
if (!$classReflection instanceof ClassReflection) {
return \false;
}
if ($classReflection->getName() === $fullyQualifiedObjectType->getClassName()) {
if ($classReflection instanceof ClassReflection && $classReflection->getName() === $fullyQualifiedObjectType->getClassName()) {
return \false;
}
$arrayClassReflection = $this->reflectionProvider->getClass($arrayCallable->getClass());

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'de7b0526ad03b6e2ecc47d28eb8c8e0e5224152a';
public const PACKAGE_VERSION = '879a36b44d6b43e4c4d268a3d7e96e0830cac478';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-04-10 17:19:25';
public const RELEASE_DATE = '2024-04-12 03:53:43';
/**
* @var int
*/

View File

@ -504,8 +504,8 @@
},
{
"name": "illuminate\/container",
"version": "v10.48.5",
"version_normalized": "10.48.5.0",
"version": "v10.48.7",
"version_normalized": "10.48.7.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/illuminate\/container.git",
@ -561,8 +561,8 @@
},
{
"name": "illuminate\/contracts",
"version": "v10.48.5",
"version_normalized": "10.48.5.0",
"version": "v10.48.7",
"version_normalized": "10.48.7.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/illuminate\/contracts.git",

File diff suppressed because one or more lines are too long