Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a

5ac3cb377a [Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189)
This commit is contained in:
Tomas Votruba 2023-10-19 13:47:36 +00:00
parent a169643611
commit 654c818f4e
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ CODE_SAMPLE
// process parent call references first
$this->processClassMethodStatementsForParentConstructorCalls($psr4ConstructorMethod, $scope);
// does it already have a __construct method?
if (!$classReflection->hasConstructor()) {
if (!$classReflection->hasNativeMethod(MethodName::CONSTRUCT)) {
$psr4ConstructorMethod->name = new Identifier(MethodName::CONSTRUCT);
}
$classMethodStmts = $psr4ConstructorMethod->stmts;

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '4795d003614d98b04c3fce209e855f18ac48ed09';
public const PACKAGE_VERSION = '5ac3cb377abf968396c23573d8562e6ab6967f2a';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-10-18 09:55:01';
public const RELEASE_DATE = '2023-10-19 20:44:46';
/**
* @var int
*/