diff --git a/rules/Php80/Rector/Ternary/GetDebugTypeRector.php b/rules/Php80/Rector/Ternary/GetDebugTypeRector.php index 0a082a1de1f0..16ea04ab395c 100644 --- a/rules/Php80/Rector/Ternary/GetDebugTypeRector.php +++ b/rules/Php80/Rector/Ternary/GetDebugTypeRector.php @@ -122,8 +122,10 @@ private function areValuesIdentical(Ternary $ternary) : bool return \false; } $secondExpr = $getClassFuncCallOrClassConstFetchClass instanceof FuncCall ? $getClassFuncCallOrClassConstFetchClass->getArgs()[0]->value : $getClassFuncCallOrClassConstFetchClass->class; - /** @var FuncCall $gettypeFuncCall */ $gettypeFuncCall = $ternary->else; + if (!$gettypeFuncCall instanceof FuncCall) { + return \false; + } if (!$gettypeFuncCall->args[0] instanceof Arg) { return \false; } diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index d2a28beb91dc..3a745c4b6620 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 = '4fbeab88e1b505c0740e66d53864667cc3d7700a'; + public const PACKAGE_VERSION = '5dfb6218ec53caa197456adb78baebaae0a4334a'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-07-11 21:57:44'; + public const RELEASE_DATE = '2023-07-12 05:59:29'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index f1fe36308087..7679cc047974 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit24a1109c1d760c42abf0f28bd50aa4c9::getLoader(); +return ComposerAutoloaderInit42f175375f79a43b0c3e89536dfbe74d::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 357d37cbdd23..773c84bff8fc 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit24a1109c1d760c42abf0f28bd50aa4c9 +class ComposerAutoloaderInit42f175375f79a43b0c3e89536dfbe74d { private static $loader; @@ -22,17 +22,17 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit24a1109c1d760c42abf0f28bd50aa4c9', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit42f175375f79a43b0c3e89536dfbe74d', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit24a1109c1d760c42abf0f28bd50aa4c9', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit42f175375f79a43b0c3e89536dfbe74d', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit42f175375f79a43b0c3e89536dfbe74d::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit42f175375f79a43b0c3e89536dfbe74d::$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 e6a36e0fa273..b76fd6f0519a 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9 +class ComposerStaticInit42f175375f79a43b0c3e89536dfbe74d { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3062,9 +3062,9 @@ class ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit24a1109c1d760c42abf0f28bd50aa4c9::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit42f175375f79a43b0c3e89536dfbe74d::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit42f175375f79a43b0c3e89536dfbe74d::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit42f175375f79a43b0c3e89536dfbe74d::$classMap; }, null, ClassLoader::class); }