mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 70f10cb70dddf660c3b26f0e93e83248e0a07adb
70f10cb70d
Cache null result on ProjectComposerJsonPhpVersionResolver (#5559)
This commit is contained in:
parent
53f16f413e
commit
ad50de3844
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user