Jordi Boggiano
07b8c23f02
Merge branch '1.10'
4 years ago
Jordi Boggiano
92313447d6
Filter out exclude-from-classmap rules to avoid generating very long regexes, fixes #9487
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
b574f10d9d
Rename mainPackage to rootPackage in AutoloadGenerator and ensure we use RootPackageInterface
4 years ago
Jordi Boggiano
56c65a58e2
Make platform-check only check non-dev requires, refs #9412
4 years ago
Jordi Boggiano
0775e261c5
Merge remote-tracking branch 'lstrojny/apcu-prefix'
4 years ago
Michael Telgmann
a4509d28e7
Introduce constants for Composer\Package\Link types
4 years ago
Lars Strojny
0b6abf3b96
APCu prefix as a separate option
4 years ago
Lars Strojny
de0085767c
Sanitize prefix
4 years ago
Lars Strojny
dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix
4 years ago
Jordi Boggiano
d942c65e0c
Fix more warnings
4 years ago
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
4 years ago
Jordi Boggiano
67a88880ec
Get rid of EmptyConstraint
4 years ago
Yanick Witschi
bde9502473
Made the constraint argument in Link mandatory
4 years ago
Jordi Boggiano
537402f814
Add tests for #8861
4 years ago
Jordi Boggiano
21e708f2c4
Remove upper bound PHP version checks from platform-check as there is not enough value added and it risks causing issues
4 years ago
Jordi Boggiano
6a6ea6057f
Handle provider/replacer packages and avoid checking extensions which are provided by packages, refs #8546
4 years ago
Jordi Boggiano
0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions
5 years ago
Jordi Boggiano
2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer
5 years ago
Yanick Witschi
e23710f92d
Implemented php version check in autoload.php ( #8546 )
5 years ago
Jordi Boggiano
24a5a0dacb
Skip invalid PSR-0/4 classes from optimized autoloader, fixes #8403
5 years ago
remorhaz
8df263a756
Test added for issue #8622 fix
5 years ago
Jordi Boggiano
4d74f5ba95
Fix exclude-from-classmap handling to avoid foo matching foo* directories, fixes #8563 , refs #8575
5 years ago
Jordi Boggiano
c7ba751319
Merge commit 'refs/pull/8575/head' of github.com:composer/composer
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Jeroen Versteeg
cabf373bf4
Added test for exclude-from-classmap (see issue #8563 )
5 years ago
Jordi Boggiano
502b68967a
Fix tests for PSR-fix in optimized autoloader, refs #8397
5 years ago
Jordi Boggiano
c3f034e33b
Fix tests for PSR-fix in optimized autoloader, refs #8397
5 years ago
Andriy Maletsky
ec293adabc
make optimized autoloader respect PSR standards
5 years ago
ShiraNai7
a2b647a99e
Handle absolute phar:// paths in autoload_static.php
6 years ago
Nils Adermann
386382503d
Add a test for autoloading if a package is only required via replacing name
6 years ago
Den Girnyk
3b6b63784f
Fix: Keep replaced packages for autoload dumping with --no-dev
6 years ago
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
eedbd218f5
Make sure circular dependencies do not break the autoload dumper, refs #7316 , refs #7348
6 years ago
Philipp Fritsche
b0be87177d
Filter dev-dependencies from "dump-autoload --no-dev" , fixes #4343
6 years ago
Jordi Boggiano
78ae0a97f7
Terminate quoted strings
6 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 years ago
Petr /Peggy/ Sládek
8d06832077
Update ClassMapGenerator to work better with symlinks, fixes #7252 , closes #7251
7 years ago
Gabriel Caruso
885da4c8ef
Refactoring tests
7 years ago
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
7 years ago
Nicolas Grekas
6d4e60b991
Add --apcu-autoloader option to enable APCu caching of found/not-found classes
8 years ago
Nicolas Grekas
fd2f51cea8
Speedup autoloading on PHP 5.6 & 7.0+ using static arrays
9 years ago
Rob Bast
adf3b956d0
try to use unique test directories
...
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Alexander Loutsenko
fa5de786ff
clean garbage dirs in tmp after composer tests #4694
9 years ago
Jordi Boggiano
8072448cf3
Adjust deduplication of files autoloads, refs 9710b26d3f
9 years ago
Jordi Boggiano
9710b26d3f
Merge remote-tracking branch 'jeskew/feature/require_files_but_once'
9 years ago
Jordi Boggiano
c0b49d09f3
Merge remote-tracking branch 'cw-ozaki/no-script-dump-autoload'
...
Conflicts:
src/Composer/Autoload/AutoloadGenerator.php
src/Composer/Command/DumpAutoloadCommand.php
9 years ago
Omer Karadagli
4046ae042d
Up-level relative paths in exclude-from-classmap
9 years ago
Jordi Boggiano
6c16510743
Add support for wildcards in exclude-from-classmap, refs #1607
9 years ago