We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9018681 commit 292a32dCopy full SHA for 292a32d
src/Testing/TestCaseSourceLocatorFactory.php
@@ -57,7 +57,11 @@ public function create(): SourceLocator
57
$this->excludePaths,
58
]));
59
if ($classLoaderReflection->hasProperty('vendorDir') && ! isset(self::$composerSourceLocatorsCache[$cacheKey])) {
60
- $composerLocators = [];
+ $composerLocators = [
61
+ PHP_VERSION_ID < 80500
62
+ ? __DIR__ . '/../../stubs/runtime/Attribute84.php'
63
+ : __DIR__ . '/../../stubs/runtime/Attribute85.php',
64
+ ];
65
$vendorDirProperty = $classLoaderReflection->getProperty('vendorDir');
66
$vendorDirProperty->setAccessible(true);
67
foreach ($classLoaders as $classLoader) {
0 commit comments