Skip to content

Commit

Permalink
Cache comment consistency (#5461)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 13, 2024
1 parent 2ec5570 commit 2ac26e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Php/PolyfillPackagesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class PolyfillPackagesProvider
*/
public function provide(): array
{
// used in tests mostly
// disable cache in tests
if (SimpleParameterProvider::hasParameter(Option::POLYFILL_PACKAGES)) {
return SimpleParameterProvider::provideArrayParameter(Option::POLYFILL_PACKAGES);
}
Expand Down
1 change: 0 additions & 1 deletion src/Skipper/SkipCriteriaResolver/SkippedClassResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function resolve(): array
{
// disable cache in tests
if (StaticPHPUnitEnvironment::isPHPUnitRun()) {
// disable cache in tests
$this->skippedClasses = null;
}

Expand Down

0 comments on commit 2ac26e7

Please sign in to comment.