Jordi Boggiano
a586a753df
Fix all remaining php8.1 test suite deprecations
3 years ago
Jordi Boggiano
b77fce8a4f
More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes
3 years ago
Jordi Boggiano
6aa2d15868
Introduce ProcessExecutorMock to fix deprecations and amount of mocking pain
3 years ago
Jordi Boggiano
5062619046
Fix deprecation warnings with strpos receiving null
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
40c7a725e1
Merge branch '2.0'
3 years ago
Jordi Boggiano
332c46af8b
Merge pull request from GHSA-h5h8-pc6h-jvvx
...
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
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, ..
4 years ago
Jordi Boggiano
46dde9453b
Fix tests
4 years ago
Markus Staab
4a6f1792ea
adjusted test expectations
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Chauncey McAskill
fcc072fdb6
Add test to check processed URL and cache key
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
7bcde1481d
Fix git downloader syntax for windows cmd when updating packages, fixes #9089
4 years ago
Jordi Boggiano
f70d527f4f
Fix git tests
4 years ago
Jordi Boggiano
04381c70fe
Merge branch '1.10'
4 years ago
Jordi Boggiano
fb7fc4a4ca
Fix git tests
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
d72a07db06
Fix tests
4 years ago
Jordi Boggiano
44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778
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
5d8dc48bd4
Fix test on windows
5 years ago
Jordi Boggiano
23efda9155
Try to fix windows build
5 years ago
Jordi Boggiano
7e142b5d6b
Use Upgrading for package installs too
5 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
58b34d13e8
fix risky tests (without any assertion)
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Jordi Boggiano
de189c1b80
Fix deps=high build
5 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
88b051c96b
Merge branch 'master' into 2.0
...
Update deps
5 years ago
johnstevenson
7e649fac41
Fix Windows test regression from commit 149250a
...
Commit: 149250ab92
ProcessExecutor::escape handled a false value inconsistently across
platforms, returning an emtpy string on Windows, otherwise `''`. This
is fixed to return `""` on Windows.
The GitDownloaderTest code has been appropriately updated.
5 years ago
Jordi Boggiano
f867c407c7
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
149250ab92
Remove credentials from git remotes in cache and vendor dirs
...
This only removes the credentials if they are managed by composer auth.json or equivalent, if the credentials were present in the package URL to begin with they might remain
Refs #8293
Fixes #3644
Closes #3608
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
Jordi Boggiano
0caa616e6c
Fix test warnings
6 years ago
Jordi Boggiano
799717f102
Tweak and fix some more phpstan reports
6 years ago
CZechBoY
a062cd1a31
added phpstan on level 0
6 years ago
Jordi Boggiano
0fd74d1cc4
Fix PerforceDownloader, fixes #7979
6 years ago
Jordi Boggiano
71193132a3
Fix test
6 years ago
Jordi Boggiano
4517c00d40
Merge branch 'master' into 2.0
6 years ago
Jordi Boggiano
98a15bc93c
Add output for metapackage installs/updates/.. fixes #7586
6 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
6 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago