120 Commits (ff59bbdab0fb5bef212f291bbf9f152c7467fd7d)

Author SHA1 Message Date
Jordi Boggiano 3b9d6769bf Fix class names in comments being parsed in short_open_tags files, fixes #7289 6 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Jordi Boggiano e9d04f2b2d Merge branch '1.2' 8 years ago
Hans-Joachim Michl 817b2747c7 Fix #5672
This fixes the issue reported in #5672.
It just makes sure the ZendGuard encoded files can be autoloaded correctly.
8 years ago
Konstantin.Myakshin dc70b40d34 Use implode instead of join 8 years ago
Rob Bast 181b172e77
test cases for #5701 8 years ago
SpacePossum 2ae0800cd3 Remove useless concat. 8 years ago
Jordi Boggiano 05fab170a7 Merge branch '1.0' 8 years ago
Jordi Boggiano f0d67923a5 Fix classmap generator over anonymous classes extending/implementing something, fixes #5239 8 years ago
Jordi Boggiano 4f6693ad70 Fix regression in 0b44662087, fixes #5199 8 years ago
Jordi Boggiano 0b44662087 Disable static autoloader on HHVM, fixes #5192 8 years ago
Jordi Boggiano 1dc65a40d3 Fix tests, refs #5174 8 years ago
Nicolas Grekas fd2f51cea8 Speedup autoloading on PHP 5.6 & 7.0+ using static arrays 8 years ago
Jordi Boggiano 8072448cf3 Adjust deduplication of files autoloads, refs 9710b26d3f 9 years ago
Jordi Boggiano 1fe690f810 Autoload generator cleanups 9 years ago
Jordi Boggiano 3748c11709 Simplify files autoload include function, and make sure files are included once per package even if exactly the same, refs #4186 9 years ago
Jordi Boggiano 9710b26d3f Merge remote-tracking branch 'jeskew/feature/require_files_but_once' 9 years ago
Bryan Davis cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
9 years ago
voroks 154092ba1a Added removing file 'include_path.php' (if it is empty). 9 years ago
voroks 4fa1cb2e9c Removing file autoload_files.php was added (#4254) 9 years ago
Nicolas Grekas fbae6b1589 Revert "Merge pull request #3975 from marc-mabe/hotfix/3974"
This reverts commit bdb6ecb29e, reversing
changes made to 8a12e50a16.
9 years ago
Jonathan Eskew 42b025776a Move file identifier calculation to compile time 9 years ago
Jonathan Eskew 24c4322672 Use 5.3 compatible array syntax 9 years ago
Jonathan Eskew 868a872df2 Push the hash to $GLOBALS 9 years ago
Jonathan Eskew 61ed7a9547 Explicitly check if a file has already been required before requiring it 9 years ago
Jordi Boggiano e73448ae1e Add possessive quantifiers to avoid backtracking and fix segfault on large files, fixes #4153 9 years ago
elazar 6c029a850c Resolves #4138: Removed *Test.php filtering from AutoloadGenerator->dump() 9 years ago
Marc Bennewitz 9455c49053 fixes #3974: Autoloader have to distinguish between files and directories 9 years ago
Andrew Berry 5b7c5cf41e Fix missing semicolons. 9 years ago
Andrew Berry 59e14ff098 Fix test classes with invalid PHP. 9 years ago
Fred Emmott 23d5e30fbc Add test for Generics class
Already worked, just adding a test.
9 years ago
Fred Emmott 33ea86573e Add support for using classmap to autoload Hack enums
fixes composer/composer#3823

Ran tests with both PHP5.5.9-1ubuntu4.5 and HHVM 3.6. Test fails on HHVM only
if I back out the ClassMapGenerator.php change.
9 years ago
jakoch a0e5ead9b0 removed unused variables $baseDir and $vendorDir from "autoloader_real.php" generated by AutoloadGenerator. adjusted tests accordingly. 10 years ago
Fabien Potencier 12421dd6b7 fixed class map generator when using a heredoc with spaces 10 years ago
Jordi Boggiano 49d4054e51 Handle files with no php at all, fixes #2910 10 years ago
Denis Sokolov 65b9cca7b5 Fix ClassMapGenerator unambiguousReference test coverage
Without this fix the test only covers having files in "test", the "fixture"
portion it is not covered at all, because all fixtures in phpunit tests
are already in "test" directory
10 years ago
Jordi Boggiano 0902305196 Fix classmap generator warnings and tests 10 years ago
Daniel Karp e3be04c443 Don't show Ambiguous class resolution warning if class when not ambiguous
if a class or interface is defined twice in the same class, this should not produce a warning
10 years ago
Jan Brecka 13b57112a9 Throw RuntimeException when ambiguous reference was found. 10 years ago
Jordi Boggiano 790a25c348 Adjust dump command, add another test, update docs, refs #1344 10 years ago
Jordi Boggiano 023ff131aa Merge remote-tracking branch 'bamarni/autoload-dev' 10 years ago
Bilal Amarni db91454a13 added an autoload-dev section 10 years ago
Olivier Laviale 40e484ed38 Fixed an issue that would lead to scattered autoloading files 11 years ago
Nicolas Grekas 00a6f8e38d dedicated scope isolation function for autoload_real 11 years ago
Nils Adermann aef0483cc9 Merge pull request #2667 from nicolas-grekas/master
scope isolation for user includes
11 years ago
Nicolas Grekas 6d7b9afc4b scope isolation for user includes 11 years ago
Jérôme Macias 01cd990995 Fix PSR-4 autoload classmap generator 11 years ago
Andreas Hennings bbf6278905 AutoloadGenerator to support PSR-4. Tests included. 11 years ago
Andreas Hennings 2c98813431 Add unit tests for ClassLoader, covering PSR-0 and PSR-4. 11 years ago
Jordi Boggiano 11a0d16ccc CS fixes 11 years ago