Updated Rector to commit 70f10cb70dddf660c3b26f0e93e83248e0a07adb

70f10cb70d Cache null result on ProjectComposerJsonPhpVersionResolver (#5559)
This commit is contained in:
Tomas Votruba 2024-02-04 23:31:45 +00:00
parent 53f16f413e
commit ad50de3844
2 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '0.19.7';
public const PACKAGE_VERSION = '70f10cb70dddf660c3b26f0e93e83248e0a07adb';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-02-05 00:20:55';
public const RELEASE_DATE = '2024-02-04 23:29:41';
/**
* @var int
*/

View File

@ -35,7 +35,7 @@ final class ProjectComposerJsonPhpVersionResolver
self::$cachedPhpVersions[$composerJson] = PhpVersionFactory::createIntVersion($platformPhp);
return self::$cachedPhpVersions[$composerJson];
}
return null;
return self::$cachedPhpVersions[$composerJson] = null;
}
private static function createIntVersionFromComposerVersion(string $projectPhpVersion) : int
{