diff --git a/rules/Strict/Rector/If_/BooleanInIfConditionRuleFixerRector.php b/rules/Strict/Rector/If_/BooleanInIfConditionRuleFixerRector.php index dbff2dc533e..054512b63a0 100644 --- a/rules/Strict/Rector/If_/BooleanInIfConditionRuleFixerRector.php +++ b/rules/Strict/Rector/If_/BooleanInIfConditionRuleFixerRector.php @@ -74,7 +74,7 @@ CODE_SAMPLE { $hasChanged = \false; // 1. if - $ifCondExprType = $scope->getType($node->cond); + $ifCondExprType = $scope->getNativeType($node->cond); $notIdentical = $this->exactCompareFactory->createNotIdenticalFalsyCompare($ifCondExprType, $node->cond, $this->treatAsNonEmpty); if ($notIdentical !== null) { $node->cond = $notIdentical; @@ -82,7 +82,7 @@ CODE_SAMPLE } // 2. elseifs foreach ($node->elseifs as $elseif) { - $elseifCondExprType = $scope->getType($elseif->cond); + $elseifCondExprType = $scope->getNativeType($elseif->cond); $notIdentical = $this->exactCompareFactory->createNotIdenticalFalsyCompare($elseifCondExprType, $elseif->cond, $this->treatAsNonEmpty); if (!$notIdentical instanceof Expr) { continue; diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 2f686b938cc..014ea67488f 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 = '65e6caedb37c1d447a4da1992a14b82c5aa41871'; + public const PACKAGE_VERSION = 'b5f973f768f2bb55ca4b224a58a05eb5817b2cae'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-07-26 21:40:26'; + public const RELEASE_DATE = '2023-07-26 22:18:53'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index 7d7c5d6e5d5..56fb6336a33 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitc3ad04fcaf291bdfa1710de93fd08971::getLoader(); +return ComposerAutoloaderInit390cf93a3f14159e715e57e6829719cb::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 964a0ad7e3c..fba5aecee37 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitc3ad04fcaf291bdfa1710de93fd08971 +class ComposerAutoloaderInit390cf93a3f14159e715e57e6829719cb { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInitc3ad04fcaf291bdfa1710de93fd08971 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitc3ad04fcaf291bdfa1710de93fd08971', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit390cf93a3f14159e715e57e6829719cb', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInitc3ad04fcaf291bdfa1710de93fd08971', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit390cf93a3f14159e715e57e6829719cb', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit390cf93a3f14159e715e57e6829719cb::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit390cf93a3f14159e715e57e6829719cb::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index b8c0e9471f7..e7c5ecab553 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971 +class ComposerStaticInit390cf93a3f14159e715e57e6829719cb { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3023,9 +3023,9 @@ class ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitc3ad04fcaf291bdfa1710de93fd08971::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit390cf93a3f14159e715e57e6829719cb::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit390cf93a3f14159e715e57e6829719cb::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit390cf93a3f14159e715e57e6829719cb::$classMap; }, null, ClassLoader::class); }