Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
4ce9252255
Avoid passing args to CLI handlers when none are needed, fixes #3332
10 years ago
Artur Eshenbrener
56482cff0a
Changed short array syntzx to long
10 years ago
Artur Eshenbrener
ad1d0be420
Accessing to option 'optimize-autoloder' inside 'post-autoload-dump' script event.
10 years ago
Jordi Boggiano
0ce0cf42e8
Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
...
Conflicts:
src/Composer/EventDispatcher/EventDispatcher.php
10 years ago
Jordi Boggiano
4dfa3c469e
Fix class map generator handling of missing files
10 years ago
Jordi Boggiano
a227523c4f
Fix php_strip_whitespace bugginess, fixes #3030
10 years ago
Jordi Boggiano
799876dd55
Allow dashes in class names for HHVM support, fixes #2967
10 years ago
François Pluchino
8b5c00bff0
Fix phpdoc
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago
jakoch
a0e5ead9b0
removed unused variables $baseDir and $vendorDir from "autoloader_real.php" generated by AutoloadGenerator. adjusted tests accordingly.
10 years ago
Jordi Boggiano
05d9912f97
Ignore classes in ClassMapGenerator
10 years ago
Fabien Potencier
12421dd6b7
fixed class map generator when using a heredoc with spaces
10 years ago
Jordi Boggiano
14f35e812c
Merge pull request #2912 from ckwalsh/master
...
Support generating class map for XHP classes
10 years ago
Jordi Boggiano
49d4054e51
Handle files with no php at all, fixes #2910
10 years ago
Cullen Walsh
57d9e9852d
Support generating class map for XHP classes
10 years ago
Denis Sokolov
836534067b
Avoid ambiguity warning for example directories as well
...
In particular, PEAR repositories use a classmap and example directories trigger
multiple false positive warnings.
10 years ago
Jordi Boggiano
0902305196
Fix classmap generator warnings and tests
10 years ago
Jordi Boggiano
8974a1ac92
Ignore ambiguous classes in tests/fixtures dirs, fixes #2858
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
Jordi Boggiano
781c97fa9b
Refactor to avoid global static state
10 years ago
Jordi Boggiano
c3ab09750d
Merge remote-tracking branch 'johnikx/ambiguous-reference-warning'
10 years ago
Jan Brecka
b94838169d
show warning only instead of throwing exception
10 years ago
Jordi Boggiano
fc9e1d0cff
CS fixes, refs #2823
10 years ago
Jan Brecka
a41370b021
fix plural in exception message
10 years ago
Jan Brecka
ea7717c8e5
improve exception message
10 years ago
Jan Brecka
13b57112a9
Throw RuntimeException when ambiguous reference was found.
10 years ago
Fred Emmott
7d3274224a
Only look for .hh files at runtime if using HHVM
...
The ClassMap generator will look regardless, but that's not a runtime
cost, so seems desirable (in case composer install/update needs to be
called with php5 for some resaon)
10 years ago
Fred Emmott
734e5e2f2b
Add autoload support for .hh files (HHVM)
...
HHVM is adding support for an alternative extension for files using
HHVM-specific features. Support them in the Class Map and PSR4
autoloaders.
Trivial example: https://github.com/fredemmott/hh_extension_toolset
10 years ago
Jordi Boggiano
5fb005631a
Tweaking dispatchScript method to be in line with the rest, and add devMode to *_AUTOLOAD_DUMP events
10 years ago
Jordi Boggiano
023ff131aa
Merge remote-tracking branch 'bamarni/autoload-dev'
10 years ago
Jordi Boggiano
cea7c07cf2
Fix CS
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
Dave Hulbert
81aa3a850c
Fix some PHP doc blocks
11 years ago
Nicolas Grekas
00a6f8e38d
dedicated scope isolation function for autoload_real
11 years ago
Jordi Boggiano
ed02997a7b
Fix mode and add docblock, refs #2644
11 years ago
Jordi Boggiano
d26dda5c95
Merge remote-tracking branch 'olvlvl/improved_package_sorting_alone'
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
Olivier Laviale
17278999ba
Coding style compliance
11 years ago
Olivier Laviale
46776c8e23
Improved package sorting
11 years ago
Jordi Boggiano
3c5000ad7f
CS tweaks and cleanups, allow "" to set fallback dirs, refs #2459
11 years ago
Jordi Boggiano
b23742e30c
Merge remote-tracking branch 'donquixote/feature/psr4-complete'
11 years ago
Stan Lemon
5fd3223aec
Updates per @stof
11 years ago
Stan Lemon
d6c46f2091
Allow the autoloader suffix to be configured from a project's composer.json
11 years ago
Andreas Hennings
c0aad84d8b
Validation to make the combination of target-dir with psr-4 illegal.
11 years ago
Andreas Hennings
39c09d5192
Add psr-4 stuff in a few more places.
11 years ago
Andreas Hennings
bbf6278905
AutoloadGenerator to support PSR-4. Tests included.
11 years ago