49 Commits (48758c02076c22bdbb97cf4c8974bc9539923f98)

Author SHA1 Message Date
Jordi Boggiano 6ed3aeb343
Remove setExpectedException wrapper 3 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 095c36ecf8
Fix some PHPStan errors/.. 3 years ago
Jordi Boggiano bf72afec44
Fix Symfony6 compat 3 years ago
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 3 years ago
megubyte 8b7e2b600d
phpstan: update tests/Composer/Test/Downloader/* to level 6 standard (#10238) 3 years ago
Jordi Boggiano 4c9e75c6e5
Fix CS 3 years ago
Jordi Boggiano 8bf0ddf905
Clean up ZipDownloader, always do async first if possible then fallback to non-async 3 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano 1593b67230
Fix warnings on higher phpunit versions 4 years ago
Jordi Boggiano ee58f25c00
Fix ZipDownloaderTest 4 years ago
Jordi Boggiano 3af617efe8
Parallelize zip extraction using async unzip processes 4 years ago
Jordi Boggiano 0dad963cd8
Add executeAsync to ProcessExecutor and allow Loop class to wait on it in addition to HttpDownloader 4 years ago
Jordi Boggiano a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Jordi Boggiano 1b1d59ee6c
Make FileDownloader always download file first in vendor-dir/composer/$tmp instead of next to install path to avoid issues with custom installers not being loaded when downloading on first install, and use cleanup method properly 4 years ago
Jordi Boggiano f6b3f12107
Merge branch 'master' into 2.0 5 years ago
Sergii Bondarenko bb127aa3e7 Resolves #8461: [ZipDownloader] Print `unzip` exit code when the command is failed 5 years ago
Jordi Boggiano 53d2ab2253
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903 5 years ago
Gabriel Caruso 6c8ddd4d57
Remove unused private properties 5 years ago
CZechBoY a062cd1a31
added phpstan on level 0 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 6 years ago
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 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 066351c5b9 Remove use of deprecated getMock method 6 years ago
John Stevenson 02fbbd5a42 Skip MockedZipDownloader tests if zip is missing (#6917)
* Skip MockedZipDownloader tests if zip is missing
7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Jordi Boggiano c917c52f81 Message tweak, refs #6341 7 years ago
AjiYakin 8858b27ced Warn identical names w/ different capitalization - extract zip archive
Warn about identical names with different capitalization on zip archive
extract failure (Not a directory)

Issue #5938
7 years ago
Jordi Boggiano 61511cfed6 Fix CS issues, refs #6159 7 years ago
Guillaume ZITTA f89e01d622 switch first / fallback order 7 years ago
Guillaume ZITTA abf06913a2 remove useless expect (already done by docstring) 7 years ago
Guillaume ZITTA 921ffe741f Cleaner fallback Algorithm 7 years ago
Jordi Boggiano 1818b95149 CS fixes 9 years ago
Jordi Boggiano 783e0aec8a Merge remote-tracking branch 'alcohol/unique-test-directories' 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
Rob Bast 446f1b3e31 fix zip test 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Alexander Loutsenko 397ae2d7c8 review fixes 9 years ago
Alexander Loutsenko fa5de786ff clean garbage dirs in tmp after composer tests #4694 9 years ago
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
10 years ago
Jordi Boggiano 77163f66fc Add support for mirrors in composer repos 10 years ago
Jordi Boggiano 32cd883daa Rename options to transport-options, refs #2189 10 years ago
Pádraic Brady 306ba77e93 Implement the RemoteFilesystem Factory everywhere...
- also fixes impacted test
10 years ago
Luís Otávio Cobucci Oblonczyk d4043b6b9a Package options must be passed as argument to downloader 11 years ago
Jordi Boggiano 7912253df6 Retry downloading when a corrupt zip is found, fixes #2133, fixes #2128, fixes #2125 11 years ago
Jordi Boggiano 7f2b321044 Fix tests 11 years ago
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 12 years ago
Grégoire Pineau f4e9dd4fb8 Fixed PSR rules 12 years ago
Jordi Boggiano beb4cbcd2b Add test for ZipDownloader 12 years ago