mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix parsing of large files that go over the PCRE limits
This commit is contained in:
parent
bd72e3765b
commit
75da832cd3
4 changed files with 2784 additions and 6 deletions
|
@ -52,6 +52,8 @@ 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',
|
||||
'Foo\\LargeClass' => realpath(__DIR__).'/Fixtures/classmap/LargeClass.php',
|
||||
'Foo\\LargeGap' => realpath(__DIR__).'/Fixtures/classmap/LargeGap.php',
|
||||
)),
|
||||
array(__DIR__.'/Fixtures/template', array()),
|
||||
);
|
||||
|
|
1387
tests/Composer/Test/Autoload/Fixtures/classmap/LargeClass.php
Normal file
1387
tests/Composer/Test/Autoload/Fixtures/classmap/LargeClass.php
Normal file
File diff suppressed because it is too large
Load diff
1389
tests/Composer/Test/Autoload/Fixtures/classmap/LargeGap.php
Normal file
1389
tests/Composer/Test/Autoload/Fixtures/classmap/LargeGap.php
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue