mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit a43f041278835523c96758f6df5d0e964e51ee9d
a43f041278
[DeadCode] Skip sub type false => bool on RemoveUselessVarTagRector (#5588)
This commit is contained in:
parent
e5f35d1a39
commit
e32eadddc1
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '178ce5c65a820a5c42c7928486a044b44a976436';
|
||||
public const PACKAGE_VERSION = 'a43f041278835523c96758f6df5d0e964e51ee9d';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-02-08 20:11:18';
|
||||
public const RELEASE_DATE = '2024-02-09 15:09:10';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -104,6 +104,9 @@ final class TypeComparator
|
|||
{
|
||||
$phpParserNodeType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($phpParserNode);
|
||||
$phpStanDocType = $this->staticTypeMapper->mapPHPStanPhpDocTypeNodeToPHPStanType($phpStanDocTypeNode, $node);
|
||||
if (!$this->areTypesEqual($phpParserNodeType, $phpStanDocType) && $this->isSubtype($phpStanDocType, $phpParserNodeType)) {
|
||||
return \false;
|
||||
}
|
||||
// normalize bool union types
|
||||
$phpParserNodeType = $this->normalizeConstantBooleanType($phpParserNodeType);
|
||||
$phpStanDocType = $this->normalizeConstantBooleanType($phpStanDocType);
|
||||
|
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user