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 anni fa |
Jonathan Eskew
|
42b025776a
Move file identifier calculation to compile time
|
10 anni fa |
Jonathan Eskew
|
24c4322672
Use 5.3 compatible array syntax
|
10 anni fa |
Jonathan Eskew
|
868a872df2
Push the hash to $GLOBALS
|
10 anni fa |
Jonathan Eskew
|
61ed7a9547
Explicitly check if a file has already been required before requiring it
|
10 anni fa |
jakoch
|
a0e5ead9b0
removed unused variables $baseDir and $vendorDir from "autoloader_real.php" generated by AutoloadGenerator. adjusted tests accordingly.
|
11 anni fa |
Nicolas Grekas
|
00a6f8e38d
dedicated scope isolation function for autoload_real
|
11 anni fa |
Nicolas Grekas
|
6d7b9afc4b
scope isolation for user includes
|
11 anni fa |
Andreas Hennings
|
bbf6278905
AutoloadGenerator to support PSR-4. Tests included.
|
11 anni fa |
Jordi Boggiano
|
9b70b89b8f
Merge pull request #2210 from Firehed/master
|
11 anni fa |
Alan Hollis
|
1892f57e47
Fix file layout in unit tests
|
11 anni fa |
Firehed
|
046d55e886
Change 'generated' notice to @phpdoc-style annotation
|
11 anni fa |
Andreas Hennings
|
5369904dd3
autoload_files.php should return an array of files, instead of directly including them.
|
12 anni fa |
Andreas Hennings
|
f98a8f472e
Generate an autoload_files.php next to autoload_namespaces.php and autoload_classes.php
|
12 anni fa |
Jordi Boggiano
|
5ba147663d
Use ClassLoader::set to initialize the class loader paths
|
12 anni fa |
Jordi Boggiano
|
d929a0813a
Prepend the ClassLoader autoloader to avoid calling other previously registered autoloaders, fixes #1699
|
12 anni fa |
Cliff Odijk
|
5127fe8359
added type check to autoloader fixes #1504
|
12 anni fa |
Jordi Boggiano
|
c80cb76b9b
Always prepend autoloaders to avoid tools (i.e. phpunit) taking precedence over the project autoloader
|
12 anni fa |
Jordi Boggiano
|
1beccf9f0f
Fix access of the static loader property
|
12 anni fa |
Martin Hasoň
|
03e355f063
Fixed topological sorting of packages in AutoloadGenerator
|
12 anni fa |
Jordi Boggiano
|
487e66d0a9
Allow loading of multiple composer autoloaders concurrently, fixes #1248
|
12 anni fa |
Adrien Brault
|
fd58c24a9f
ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton
|
12 anni fa |
Jordi Boggiano
|
2af2c27168
Add regression test for files autoload in root package, fixes #880
|
13 anni fa |
Jordi Boggiano
|
4f0ad98905
Always include the ClassLoader since autoload_real is included only once, refs #963
|
13 anni fa |
Jordi Boggiano
|
30fdf379aa
Minor consistency tweaks
|
13 anni fa |
Victor Berchet
|
d2dc73e361
[Autoload] Set $vendorDir et $baseDir in ComposerAutoloaderInitTargetDir::getLoader()
|
13 anni fa |
Victor Berchet
|
4c82c35dbc
[Autoload] Generate the autoloader_real file in the target directory
|
13 anni fa |
Victor Berchet
|
2c065416eb
[Autoload] generate an autoload_real.php file
|
13 anni fa |