mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-29 11:33:33 +01:00
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:
parent
a169643611
commit
654c818f4e
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user