mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add possessive quantifiers to avoid backtracking and fix segfault on large files, fixes #4153
This commit is contained in:
parent
8e9659bd83
commit
e73448ae1e
3 changed files with 18 additions and 3 deletions
|
@ -53,6 +53,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
|
|||
'ClassMap\\SomeInterface' => realpath(__DIR__).'/Fixtures/classmap/SomeInterface.php',
|
||||
'ClassMap\\SomeParent' => realpath(__DIR__).'/Fixtures/classmap/SomeParent.php',
|
||||
'ClassMap\\SomeClass' => realpath(__DIR__).'/Fixtures/classmap/SomeClass.php',
|
||||
'ClassMap\\LongString' => realpath(__DIR__).'/Fixtures/classmap/LongString.php',
|
||||
'Foo\\LargeClass' => realpath(__DIR__).'/Fixtures/classmap/LargeClass.php',
|
||||
'Foo\\LargeGap' => realpath(__DIR__).'/Fixtures/classmap/LargeGap.php',
|
||||
'Foo\\MissingSpace' => realpath(__DIR__).'/Fixtures/classmap/MissingSpace.php',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue