Graham Campbell
a4f4101346
Phpdoc tweaks
4 years ago
Jordi Boggiano
0d369c87bc
Merge pull request #8975 from ffraenz/pr
...
Composer 2: Allow plugins to override the URL before triggering the download
4 years ago
Jordi Boggiano
5aae7f4f20
Merge remote-tracking branch 'jderusse/optimize-compile'
4 years ago
Nils Adermann
ec9ca9e739
Merge pull request #8952 from Seldaek/parallel-installs
...
Parallel zip installs
4 years ago
Jordi Boggiano
aea074308c
Update batching to install plugin deps before the plugin (alone an own batch)
4 years ago
Jordi Boggiano
ee58f25c00
Fix ZipDownloaderTest
4 years ago
Jordi Boggiano
085fe4e7e5
Add --no-progress support and a few more fixes
4 years ago
Jordi Boggiano
9c78eda7db
Fix FileDownloader::update impl to handle promises
4 years ago
Jordi Boggiano
87a0fc5506
Execute operations in batches to make sure plugins install in the expected order
4 years ago
Jordi Boggiano
9f380d606c
Add basic progress bar capability while waiting for jobs to complete
4 years ago
Jordi Boggiano
b1e15c7725
Fix a couple async bugs
4 years ago
Jordi Boggiano
3af617efe8
Parallelize zip extraction using async unzip processes
4 years ago
Jordi Boggiano
8f6e82f562
Add support for aborting running promises cleanly
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
d5286d0cb8
Add a way for FileDownloader subclasses to add paths to the cleanup stage
4 years ago
Nils Adermann
cda9849d19
Merge pull request #8982 from Seldaek/fix-inline-aliases-when-extracting-dev-reqs
...
Fix inline aliases not being loaded when extracting dev requirements
4 years ago
Jordi Boggiano
a797ee1322
Fix inline aliases not being loaded when extracting dev requirements, fixes #8954
4 years ago
Jordi Boggiano
da6c0635d2
Merge pull request #8980 from stucki/discard-using-git-clean
...
Discard changes is incomplete if Git project has additional folders
4 years ago
Jonas Drieghe
8da2811dc3
Add new summary format for licenses ( #8973 )
...
* Add new summary format to render the number of dependencies for each used license
* Array dereferencing wasn't available on php 5.3
* Add summary format to documentation
4 years ago
Ayesh Karunaratne
d906ff12c9
PHPStan fixes: `autoload_files`, and `ignoreErrors` ( #8974 )
...
* PHPStan: Remove autoload_files directive as it is not necessary anymore
* PHPStan: Add error exclusions for sapi_windows_set_ctrl_handler function
* PHPStan: Add error exclusions for ZipArchive::LIBZIP_VERSION
* PHPStan: Require phpstan ^0.12.26
* Ensure zip ext is available on gh actions
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Michael Chekin
6d9bf42655
Additional Util\RemoteFileSystem tests ( #8960 )
...
* RemoteFilesystemTest: simplifying some mock expectations calls
- will($this->returnValue()) to willReturn()
- will($this->returnCallBack()) to willReturnCallback()
* RemoteFilesystemTest: extracting identical mocks for IOInterface into a separate getIOInterfaceMock() method
* RemoteFilesystemTest: converting protected helper methods to private.
* RemoteFilesystemTest: moving getConfigMock() private method after the public methods (with other private methods)
* adding RemoteFileSystemTest::testCopyWithRetryAuthFailureFalse() unit test.
* Allow optional injecting of AuthHelper into RemoteFilesystem constructor.
* adding RemoteFileSystemTest::testCopyWithSuccessOnRetry() unit test.
* using backward compatible @expectedException in RemoteFilesystemTest.php
* RemoteFilesystemTest: extracting RemoteFilesystem with mocked method creation into a separate method.
* RemoteFilesystemTest: extracting AuthHelper with mocked method creation into a separate method.
4 years ago
Fränz Friederes
5c13c97428
Implement type and context properties in PreFileDownloadEvent
4 years ago
Michael Stucki
ae59047166
Clean Git repos during discard
4 years ago
Fränz Friederes
907367ff43
Fix PHPDoc issue
4 years ago
johnstevenson
54debe8210
Respect disable-tls in Versions::getLatest
...
Use http to get the latest version when disable-tls is true and error-
trap DiagnoseCommand::checkVersion so that all checks can complete.
Fixes #8657 .
4 years ago
Jordi Boggiano
a17bbec842
Avoid double warnings about composer.json when running outdated, fixes #8958
4 years ago
Fränz Friederes
13bdf8553a
Add setProcessedUrl method to PreFileDownloadEvent
4 years ago
Graham Campbell
a97d13fc6d
Fixed typo
...
Co-authored-by: ZhangWei <zhwei.yes@gmail.com>
4 years ago
Graham Campbell
491067f253
Fixed wording
4 years ago
Graham Campbell
fa799970ad
Replace whitelist with allow list
4 years ago
Jordi Boggiano
2fa58ccf96
Reduce amount of packages loaded by avoiding extensions of the constraint beyond the root constraint
4 years ago
Jordi Boggiano
4b9b499ce5
Fix issue loading aliases and fix markPackageNameForLoading when called twice in a row for same package it would overwrite the constraint the second time
4 years ago
Jordi Boggiano
b7f1550896
Add test covering replacer unfixing
4 years ago
Jordi Boggiano
f2befc46c9
Avoid storing duplicate packages when loading the same package twice
4 years ago
Jordi Boggiano
67a88880ec
Get rid of EmptyConstraint
4 years ago
Jordi Boggiano
cb19347031
Update to latest master
4 years ago
Yanick Witschi
b6c436598b
Updated to latest semver intervals
4 years ago
Yanick Witschi
6ef47baca1
Added a todo for package dupes
4 years ago
Yanick Witschi
014e9d5dd1
Fixed last remaining pool builder test
4 years ago
Yanick Witschi
5097ed6480
Fixed another test
4 years ago
Yanick Witschi
5a835db24d
Fixed another partial update test
4 years ago
Yanick Witschi
7be24dccd9
Fixed some of the partial update tests
4 years ago
Yanick Witschi
225a6a0a82
Improved variable naming
4 years ago
Yanick Witschi
c7f10bdd90
Fixed RuleTest
4 years ago
Yanick Witschi
0955d38374
Simplify package loading
4 years ago
Yanick Witschi
779b56ab2b
Fixed psalm annotations
4 years ago
Yanick Witschi
b00291cf21
CS
4 years ago
Yanick Witschi
00500f83c0
Using the current subset branch of @Seldaek to fix subset tests
4 years ago
Yanick Witschi
26877285ad
Filter duplicate packages
4 years ago
Yanick Witschi
bde9502473
Made the constraint argument in Link mandatory
4 years ago