ShiraNai7
a2b647a99e
Handle absolute phar:// paths in autoload_static.php
5 years ago
Rob Bast
25e3f6d4b9
expand regex and testcases
5 years ago
Rob Bast
971528916b
fix regex for heredoc/nowdoc
...
* take into account relaxed changes introduced in php 7.3
* see: 4887357269
* allow " as well as ', which was introduced in php 5.3
closes #8080
5 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
3b9d6769bf
Fix class names in comments being parsed in short_open_tags files, fixes #7289
6 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
6 years ago
Petr /Peggy/ Sládek
8d06832077
Update ClassMapGenerator to work better with symlinks, fixes #7252 , closes #7251
6 years ago
Gabriel Caruso
885da4c8ef
Refactoring tests
7 years ago
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
7 years ago
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
7 years ago
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Jordi Boggiano
1dcb2b5758
Merge remote-tracking branch 'nicolas-grekas/apcu'
8 years ago
Jordi Boggiano
e9d04f2b2d
Merge branch '1.2'
8 years ago
Hans-Joachim Michl
817b2747c7
Fix #5672
...
This fixes the issue reported in #5672 .
It just makes sure the ZendGuard encoded files can be autoloaded correctly.
8 years ago
Nicolas Grekas
6d4e60b991
Add --apcu-autoloader option to enable APCu caching of found/not-found classes
8 years ago
Konstantin.Myakshin
dc70b40d34
Use implode instead of join
8 years ago
Jordi Boggiano
c540dace8c
Merge pull request #5765 from fabpot/remove-obsolete-code
...
removed obsolete code
8 years ago
Fabien Potencier
2853e82400
removed obsolete code
8 years ago
Rob Bast
4213fbc8c6
does not apply for hhvm
8 years ago
Rob Bast
181b172e77
test cases for #5701
8 years ago
Jordi Boggiano
68861c48ed
Merge branch '1.2'
8 years ago
SpacePossum
2ae0800cd3
Remove useless concat.
8 years ago
Jordi Boggiano
f0f932fca4
Fix classmap test on windows
8 years ago
Vyacheslav Pavlov
108560b9c4
Clean up temp files after a test.
8 years ago
Vyacheslav Pavlov
03995d6caa
Added test for 'dump' method of ClassMapGenerator class
8 years ago
Jordi Boggiano
05fab170a7
Merge branch '1.0'
8 years ago
Jordi Boggiano
f0d67923a5
Fix classmap generator over anonymous classes extending/implementing something, fixes #5239
8 years ago
Jordi Boggiano
4f6693ad70
Fix regression in 0b44662087
, fixes #5199
8 years ago
Jordi Boggiano
0b44662087
Disable static autoloader on HHVM, fixes #5192
8 years ago
Jordi Boggiano
1dc65a40d3
Fix tests, refs #5174
8 years ago
Nicolas Grekas
fd2f51cea8
Speedup autoloading on PHP 5.6 & 7.0+ using static arrays
8 years ago
Niels Keurentjes
0b55a0ca91
Can't use error_clear_last as it was introduced in PHP7.
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
1fe690f810
Autoload generator cleanups
9 years ago
Jordi Boggiano
3748c11709
Simplify files autoload include function, and make sure files are included once per package even if exactly the same, refs #4186
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
Jordi Boggiano
f1b0c073ad
Tweaked exclude-from-classmap: windows support, normalize paths and make sure they are all package-relative and do not leak to other packages, refs #1607
9 years ago
Jordi Boggiano
084f6de24e
Merge remote-tracking branch 'trivago/add_exclude'
...
Conflicts:
doc/04-schema.md
src/Composer/Autoload/AutoloadGenerator.php
9 years ago