Jordi Boggiano
|
51eca2cdfc
|
Fix matching of classes in trailing non-php text, fixes #1409
|
12 years ago |
Jordi Boggiano
|
aefe3a0b11
|
Add support for .inc files in classmap, fixes #1396
|
12 years ago |
Jordi Boggiano
|
cd4d569540
|
Use old-style named subpattern syntax to avoid problems with antiquated PCRE
|
12 years ago |
Jordi Boggiano
|
5a01ada383
|
Restrict unicode chars allowed to what php core allows, refs #1361
|
12 years ago |
Jordi Boggiano
|
2d7c3c9d27
|
Tweak #1361 to re-enable support for unicode classnames
|
12 years ago |
Igor Wiedler
|
530991217b
|
Support classmap generation for classes without space after class name
Class names with multi-byte characters are not supported.
Closes #1360.
|
12 years ago |
Jordi Boggiano
|
75da832cd3
|
Fix parsing of large files that go over the PCRE limits
|
12 years ago |
Jordi Boggiano
|
bd72e3765b
|
Restore early return to happen as early as possible
|
12 years ago |
Victor Berchet
|
86bb1be61f
|
[ClassMapGeneratot] Filter out non php code
Otherwise files like https://github.com/propelorm/Propel/blob/master/generator/lib/behavior/i18n/templates/queryUseI18nQuery.php
would fail ("class" keyword would not be filtered out by php_strip_whitespace())
|
12 years ago |
Victor Berchet
|
ab48114531
|
[ClassMapGenerator] Improve error message when the path does not exist
i.e. the composer.json has a typo
|
12 years ago |
Victor Berchet
|
ff5c428d60
|
[ClassMapGenerator] Refine the findClasses method
The code could not throw
|
12 years ago |
Jordi Boggiano
|
5a763cf010
|
Fix scanning of empty namespace{} blocks
|
12 years ago |
Jordi Boggiano
|
4c3e7802a4
|
Fix traits on 5.3 and handling of empty namespace blocks
|
12 years ago |
Jordi Boggiano
|
8e9678a5ba
|
Optimize classmap generation by avoiding the use of token_get_all()
First of all this seems way faster than iterating over all tokens, but
especially it reduces memory usage drastically for very large files
|
12 years ago |
Jordi Boggiano
|
ef637c8f1a
|
CS fixes
|
12 years ago |
Jordi Boggiano
|
ee14950972
|
Add whitelist to the classmap generator to allow skipping of Test files
|
12 years ago |
Jordi Boggiano
|
383c3f0153
|
Avoid tokenizing files for nothing
|
12 years ago |
Giulio De Donato
|
3a53b06f00
|
just added a \ before RuntimeException (sorry I didn't run the test)
|
12 years ago |
Jordi Boggiano
|
c440b4594a
|
More PSR-2 goodness
|
12 years ago |
Jordi Boggiano
|
1bd4ccbd54
|
php-cs-fixer magic
|
12 years ago |
Jordi Boggiano
|
5c0c101327
|
Wrap token_get_all for better debuggability
|
12 years ago |
Jordi Boggiano
|
2d9739bd05
|
Add support for files in classmap autoload config, fixes #463
|
12 years ago |
Jordi Boggiano
|
744f4b7c9a
|
Backport trait support in ClassMapGenerator from symfony
|
12 years ago |
Benjamin Eberlei
|
671cd5ee08
|
Add tests for ClassMapGenerator
|
12 years ago |
Benjamin Eberlei
|
1af3604303
|
Add support for class-map generation.
|
12 years ago |