Skip to content

Commit a9876a7

Browse files
authored
Merge pull request #1572 from guillaume-sainthillier/fix-readonly
fix the "Non-readonly class PHPUnit\Metadata\DataProvider cannot exte…
2 parents 945939a + 59d7b03 commit a9876a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/BypassFinalExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ final class BypassFinalExtension implements Extension
1212
{
1313
public function bootstrap(Configuration $configuration, Facade $facade, ParameterCollection $parameters): void
1414
{
15+
BypassFinals::denyPaths(['*/vendor/phpunit/*']);
1516
BypassFinals::enable();
1617
}
1718
}

0 commit comments

Comments
 (0)