mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-11 13:42:22 +00:00
Updated Rector to commit 2ac26e77e63664f3e250af12f021696c60ca0df4
2ac26e77e6
Cache comment consistency (#5461)
This commit is contained in:
parent
8b20f236c0
commit
6ab38a869f
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '2ec55701f292770fc7be3ca6e434d437e59c333b';
|
public const PACKAGE_VERSION = '2ac26e77e63664f3e250af12f021696c60ca0df4';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-01-13 08:42:30';
|
public const RELEASE_DATE = '2024-01-13 08:49:04';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -19,7 +19,7 @@ final class PolyfillPackagesProvider
|
||||||
*/
|
*/
|
||||||
public function provide() : array
|
public function provide() : array
|
||||||
{
|
{
|
||||||
// used in tests mostly
|
// disable cache in tests
|
||||||
if (SimpleParameterProvider::hasParameter(Option::POLYFILL_PACKAGES)) {
|
if (SimpleParameterProvider::hasParameter(Option::POLYFILL_PACKAGES)) {
|
||||||
return SimpleParameterProvider::provideArrayParameter(Option::POLYFILL_PACKAGES);
|
return SimpleParameterProvider::provideArrayParameter(Option::POLYFILL_PACKAGES);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@ final class SkippedClassResolver
|
||||||
{
|
{
|
||||||
// disable cache in tests
|
// disable cache in tests
|
||||||
if (StaticPHPUnitEnvironment::isPHPUnitRun()) {
|
if (StaticPHPUnitEnvironment::isPHPUnitRun()) {
|
||||||
// disable cache in tests
|
|
||||||
$this->skippedClasses = null;
|
$this->skippedClasses = null;
|
||||||
}
|
}
|
||||||
// already cached, even only empty array
|
// already cached, even only empty array
|
||||||
|
|
Loading…
Reference in New Issue
Block a user