Skip to content

Commit

Permalink
Updated Rector to commit 70f10cb70dddf660c3b26f0e93e83248e0a07adb
Browse files Browse the repository at this point in the history
rectorphp/rector-src@70f10cb Cache null result on ProjectComposerJsonPhpVersionResolver (#5559)
  • Loading branch information
TomasVotruba committed Feb 4, 2024
1 parent 53f16f4 commit ad50de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function resolve(string $composerJson) : ?int
self::$cachedPhpVersions[$composerJson] = PhpVersionFactory::createIntVersion($platformPhp);
return self::$cachedPhpVersions[$composerJson];
}
return null;
return self::$cachedPhpVersions[$composerJson] = null;
}
private static function createIntVersionFromComposerVersion(string $projectPhpVersion) : int
{
Expand Down

0 comments on commit ad50de3

Please sign in to comment.