93 Commits (24c4322672a7c2e659dcf5ac81d93347786cb9d3)

Author SHA1 Message Date
elazar 6c029a850c Resolves #4138: Removed *Test.php filtering from AutoloadGenerator->dump() 9 years ago
Jordi Boggiano 27aac31970 Fix tests for autocrlf=true checkouts, fixes #4049 9 years ago
Jordi Boggiano 0b4a9235f4 CS fixes 9 years ago
Bryan Davis 0f2558dab3 Use assertContains in ClassMapAuthoritative checks
Use assertContains instead of assertRegExp when checking for
ClassMapAuthoritative settings.
10 years ago
Bryan Davis 92455759fc Fix AutoloadGeneratorTest for PHP 5.3.x 10 years ago
Bryan Davis ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
10 years ago
Jordi Boggiano 790a25c348 Adjust dump command, add another test, update docs, refs #1344 10 years ago
Bilal Amarni db91454a13 added an autoload-dev section 10 years ago
Jordi Boggiano 75cd91657a Merge remote-tracking branch 'jeromemacias/fix_psr4_classmap_generator' 11 years ago
Andreas Hennings fcf8e7f515 Random docblock improvements in AutoloadGeneratorTest. 11 years ago
Andreas Hennings 6a9fd1dd60 rename \$package to \$mainPackage in AutoloadGeneratorTest::testOverrideVendorsAutoloading() for clarity. 11 years ago
Andreas Hennings bb26152de2 docblock comments on properties in AutoloadGeneratorTest 11 years ago
Andreas Hennings cab6943df0 AutoloadGeneratorTest::testOverrideVendorsAutoloading() - break autoload definitions to multiple lines. 11 years ago
Andreas Hennings 084c11ef51 AutoloadGeneratorTest::testMainPackageAutoloadingWithTargetDir() - Remove PSR-4 from the package in target-dir test, since it is incompatible with target-dir. 11 years ago
Jérôme Macias 01cd990995 Fix PSR-4 autoload classmap generator 11 years ago
Jordi Boggiano 3c5000ad7f CS tweaks and cleanups, allow "" to set fallback dirs, refs #2459 11 years ago
Andreas Hennings 0a4b18ce86 More interesting generator tests for PSR-4. 11 years ago
Andreas Hennings bda2bcac13 Fix indentation of assignment in AutoloadGeneratorTest 11 years ago
Andreas Hennings 8966376f40 Verify generation of autoload_psr4.php even if empty. 11 years ago
Andreas Hennings bbf6278905 AutoloadGenerator to support PSR-4. Tests included. 11 years ago
Martin Hasoň 3c0a620ad5 Fixed path analysis 11 years ago
Jordi Boggiano 38917c2047 Add parallel build to travis script 11 years ago
Nils Adermann 242c58c789 Merge pull request #2179 from naderman/plugins
Plugins
11 years ago
Nils Adermann 3960edd64e Turn EventDispatcher into generic solution handling plugins as well 11 years ago
Firehed 046d55e886 Change 'generated' notice to @phpdoc-style annotation
While it isn't an official part of the syntax, it integrates better with other
tools that ignore diffs on generated code.
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 8d0b7f278e CS fixes 11 years ago
Taylor Otwell 60cd875cc2 Added "pre-autoload-dump" event.
This event is fired before the autoload file is generated, for either
an install or update command.
11 years ago
Jordi Boggiano dc71ba557b Consistently use arrays as paths for a given namespace prefix 11 years ago
Jordi Boggiano 5264d0637b Fix regression added in 33af9eea95, fixes #1841 11 years ago
Jordi Boggiano 3ce71466f1 Treat empty paths in autoloader as ".", fixes #1727 11 years ago
Martin Hasoň 07d2f17afe [Autoload] Make all paths relative for file portability 11 years ago
Martin Hasoň 3499610631 Fixed tests for autoloader generator 11 years ago
Martin Hasoň 48444a028c Added support for vendor dir excluded from working dir 11 years ago
Jordi Boggiano 3cc5698e7b Allow PHP 5.2 autoloaders to consume namespace, classmap and include path files, fixes #1730 11 years ago
Jordi Boggiano 8d55b9cced Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
Conflicts:
	tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Jordi Boggiano b4c2347b24 Test fixes 12 years ago
Jordi Boggiano 5a484cb3a9 Make sure target-dir plays well with classmap and files autoload, for root and deps, refs #1550 12 years ago
Jordi Boggiano ab1256e135 Merge remote-tracking branch 'cmodijk/master' 12 years ago
Cliff Odijk 5127fe8359 added type check to autoloader fixes #1504 12 years ago
Pierre du Plessis 255c0be7fc Added tests for include path flag 12 years ago
Pierre du Plessis 84b34b70e0 Add config option to set if the PHP include path should automatically be used when generating the autoloader 12 years ago
Ronny López e5cbf83185 Added post-autoload-dump script event. 12 years ago
Martin Hasoň 45d7eb5b53 Fixed generating packageMap in AutoloaderGenerater (fixes generating include_paths.php file) 12 years ago
Martin Hasoň 03e355f063 Fixed topological sorting of packages in AutoloadGenerator 12 years ago
Jordi Boggiano c5f3a6febd Fix optimized autoloader generation for PSR-0 configs that include non-existent dirs, fixes #1286 12 years ago
Jordi Boggiano de3188ca7d Remove target dir for classmap autoloads of the root package, fixes #1308 12 years ago
Jordi Boggiano 487e66d0a9 Allow loading of multiple composer autoloaders concurrently, fixes #1248 12 years ago
Martin Hasoň 1ff1b8ac1f Sorted generated classmap 12 years ago