Sylvain Filteau
51404659ef
Change the order of the include paths
...
Composer installed libraries should have precedence over other libraries in the
system (like PEAR installed libraries).
Made composer prepend it's include_path configuration instead of appending it.
12 years ago
Nils Adermann
d84273ee34
Merge pull request #833 from Seldaek/installmgr_cleanup
...
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
adaa788955
Require file autoloads after the autoloader is registered
12 years ago
Jordi Boggiano
b876dcbafb
Use the config object to define the vendor dir and not the installation manager
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Jordi Boggiano
1df9c62583
Cosmetic fixes to autoload generation
12 years ago
Benjamin Eberlei
5c5e962b5a
Add Files Autoloading key. This is a necessary feature to allow purely or partly functional libraries to be "autoloadable" by composer by calling require_once on every file in the "autoload"."files" list.
13 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Jordi Boggiano
1a255420b0
Ignore aliases in autoload generator
13 years ago
Jordi Boggiano
aff7745231
Fix target-dir autoloader
13 years ago
Jordi Boggiano
15ab5868a3
Move composer metafiles back in a composer dir, except autoload.php
13 years ago
Jordi Boggiano
51711c2f73
Fix multi-prefix handling
13 years ago
Jordi Boggiano
66135538c1
Allow root packages packages with target-dir to be autoloaded, fixes #139
13 years ago
Jordi Boggiano
244a7fd37b
Add missing test fixture
13 years ago
Jordi Boggiano
b999d18365
Improve include_paths generation, fixes #596
13 years ago
Jordi Boggiano
3c07b4338a
Rename include-paths to include-path, add deprecated warnings, only generate file if it is needed
13 years ago
Christoph Hochstrasser
af52c8118e
Some tests for include path setting
13 years ago
Jordi Boggiano
2d9739bd05
Add support for files in classmap autoload config, fixes #463
13 years ago
Jordi Boggiano
30cfb69739
Add support for mapping a namespace prefix onto many dirs in the autoload config
13 years ago
Martin Hasoň
fde38dacec
Added test for generated classmap files
13 years ago
Martin Hasoň
81e8261692
Added tests for traits
13 years ago
Jordi Boggiano
edf93f1fcc
Fix test & behavior
13 years ago
Jordi Boggiano
f8a09eaa3f
Make classmaps relative instead of absolute for file portability
13 years ago
Jordi Boggiano
27eb249aab
Merge remote-tracking branch 'beberlei/ClassMaps'
13 years ago
till
23902023e5
fix namespace
13 years ago
Benjamin Eberlei
671cd5ee08
Add tests for ClassMapGenerator
13 years ago
Wookieb
f93135b3bd
Cosmetic tests fix - remove test directories
13 years ago
Wookieb
8d3b40ff8e
Tests should remove created directories after testing process
13 years ago
Jordi Boggiano
5da021ffa7
Moved Filesystem to base Util namespace
13 years ago
Jordi Boggiano
d18e749f85
Test fix, fixes #274
13 years ago
Jordi Boggiano
15d78e6ad1
Fix autoload generator with vendor-dir = working-dir
13 years ago
Martin Hasoň
d27989c808
Fixed obscure code
13 years ago
Beau Simensen
fd5124a632
Standards fixes per @stof (continued, my bad)
13 years ago
Beau Simensen
e8fcf281fa
Autoload Generator handles multiple PSR-0 paths
...
The Autoload Generator was not behaving exactly as expected.
This PR is an alternate version of #203 based on some of
@stof's input on that PR.
The main differences are:
* The main package is added first instead of last
* parseAutoloads returns a different structure:
array('psr-0' => array('Ns\\Foo' => array('installDir')))
* dump and createLoader updated to account for new structure
13 years ago
Jordi Boggiano
116b17dfc0
Fix test suite for OSX
13 years ago
Jordi Boggiano
21d74328e3
Cosmetic fixes
13 years ago
Jordi Boggiano
abb926a60c
Add tests for autoloader
13 years ago