Jordi Boggiano
6fb5d26474
Revert "Add test and some fixes to allow absolute paths, refs #869"
...
This reverts commit a2a2f4af59
.
12 years ago
Jordi Boggiano
a2a2f4af59
Add test and some fixes to allow absolute paths, refs #869
12 years ago
Jordi Boggiano
adaa788955
Require file autoloads after the autoloader is registered
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
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
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
Benjamin Eberlei
671cd5ee08
Add tests for ClassMapGenerator
13 years ago
Jordi Boggiano
15d78e6ad1
Fix autoload generator with vendor-dir = working-dir
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
abb926a60c
Add tests for autoloader
13 years ago