From a7ae66acbacd947d4defbf88e264003bb724768e Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 13 Oct 2023 13:49:39 +0000 Subject: [PATCH] Updated Rector to commit ff7acb4c853ebc2322dac6fff618dac8218dacb3 https://github.com/rectorphp/rector-src/commit/ff7acb4c853ebc2322dac6fff618dac8218dacb3 [CodeQuality] Skip docblock usage on SimplifyBoolIdenticalTrueRector (#5161) --- .../Rector/Identical/SimplifyBoolIdenticalTrueRector.php | 2 +- src/Application/VersionResolver.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/CodeQuality/Rector/Identical/SimplifyBoolIdenticalTrueRector.php b/rules/CodeQuality/Rector/Identical/SimplifyBoolIdenticalTrueRector.php index 5e87d3efadd..eaa0c3e5fb7 100644 --- a/rules/CodeQuality/Rector/Identical/SimplifyBoolIdenticalTrueRector.php +++ b/rules/CodeQuality/Rector/Identical/SimplifyBoolIdenticalTrueRector.php @@ -111,6 +111,6 @@ CODE_SAMPLE if ($this->valueResolver->isTrueOrFalse($expr)) { return \false; } - return $this->getType($expr)->isBoolean()->yes(); + return $this->nodeTypeResolver->getNativeType($expr)->isBoolean()->yes(); } } diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 5a775c350b6..9b68a6c440a 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '1f0450448ed47e4778cfc88e50955f63df31f42a'; + public const PACKAGE_VERSION = 'ff7acb4c853ebc2322dac6fff618dac8218dacb3'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-10-13 09:56:23'; + public const RELEASE_DATE = '2023-10-13 20:46:43'; /** * @var int */