Jordi Boggiano
|
7049bbb714
Switch require_once to require for autoload_static as the once variant seems unnecessary
|
4 years ago |
Yanick Witschi
|
e23710f92d
Implemented php version check in autoload.php (#8546)
|
4 years ago |
Markus Staab
|
e47aa38ad4
Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() (#8393)
|
5 years ago |
Hans-Joachim Michl
|
817b2747c7
Fix #5672
|
8 years ago |
Jordi Boggiano
|
4f6693ad70
Fix regression in 0b44662087a6cbf0838fccc30d4453c7329e953d, 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
|
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 |
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 |
jakoch
|
a0e5ead9b0
removed unused variables $baseDir and $vendorDir from "autoloader_real.php" generated by AutoloadGenerator. adjusted tests accordingly.
|
10 years ago |
Nicolas Grekas
|
00a6f8e38d
dedicated scope isolation function for autoload_real
|
11 years ago |
Nicolas Grekas
|
6d7b9afc4b
scope isolation for user includes
|
11 years ago |
Andreas Hennings
|
bbf6278905
AutoloadGenerator to support PSR-4. Tests included.
|
11 years ago |
Jordi Boggiano
|
9b70b89b8f
Merge pull request #2210 from Firehed/master
|
11 years ago |
Alan Hollis
|
1892f57e47
Fix file layout in unit tests
|
11 years ago |
Firehed
|
046d55e886
Change 'generated' notice to @phpdoc-style annotation
|
11 years ago |
Andreas Hennings
|
5369904dd3
autoload_files.php should return an array of files, instead of directly including them.
|
11 years ago |
Andreas Hennings
|
f98a8f472e
Generate an autoload_files.php next to autoload_namespaces.php and autoload_classes.php
|
11 years ago |
Jordi Boggiano
|
5ba147663d
Use ClassLoader::set to initialize the class loader paths
|
11 years ago |
Jordi Boggiano
|
d929a0813a
Prepend the ClassLoader autoloader to avoid calling other previously registered autoloaders, fixes #1699
|
12 years ago |
Cliff Odijk
|
5127fe8359
added type check to autoloader fixes #1504
|
12 years ago |
Jordi Boggiano
|
c80cb76b9b
Always prepend autoloaders to avoid tools (i.e. phpunit) taking precedence over the project autoloader
|
12 years ago |
Jordi Boggiano
|
1beccf9f0f
Fix access of the static loader property
|
12 years ago |
Martin Hasoň
|
03e355f063
Fixed topological sorting of packages in AutoloadGenerator
|
12 years ago |
Jordi Boggiano
|
487e66d0a9
Allow loading of multiple composer autoloaders concurrently, fixes #1248
|
12 years ago |
Adrien Brault
|
fd58c24a9f
ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton
|
12 years ago |