Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/Testing/TestCase.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ services:
fileExtensions: %fileExtensions%
excludePaths: %excludePaths%

# overrides service from services.neon
cacheStorage:
class: PHPStan\Cache\MemoryCacheStorage
arguments!: []

# overrides service from parsers.neon
currentPhpVersionSimpleParser!:
factory: @currentPhpVersionRichParser
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
# overrides service from services.neon
cacheStorage:
class: PHPStan\Cache\MemoryCacheStorage
arguments!: []
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use TestDirectorySourceLocator\AFoo;
use TestDirectorySourceLocator\EmptyClass;
use function array_map;
use function array_merge;
use function basename;
use const PHP_VERSION_ID;

Expand Down Expand Up @@ -317,4 +318,14 @@ public function testBug5525(): void
$this->assertSame('Faker\\Provider\\nl_BE\\Text', $className);
}

public static function getAdditionalConfigFiles(): array
{
return array_merge(
parent::getAdditionalConfigFiles(),
[
__DIR__ . '/OptimizedDirectorySourceLocatorTest.neon',
],
);
}

}
Loading