9679 Commits (ea0ce9dd7dbdab2a35c25b6ff0ba68d2a68fe321)
 

Author SHA1 Message Date
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
Yanick Witschi 63906171f0
Cleanup EmptyConstraint output 4 years ago
Yanick Witschi 2427bef238
Typo 4 years ago
Yanick Witschi b935a76bc6
Removed already covered test 4 years ago
Yanick Witschi 8b4e834675
Added another poolbuilder test to show issue with constraint matching 4 years ago
Yanick Witschi 71fde80048
Fixed test 4 years ago
Yanick Witschi 29611a4d27
Fixed test descriptions 4 years ago
Yanick Witschi 8e2dd62d10
Fixed tests related to constraint changes 4 years ago
Yanick Witschi bca88bdd4b
Fixed PoolBuilder running endlessly when packages do not exist 4 years ago
Yanick Witschi 28f82032cd
And here's the key test :) 4 years ago
Yanick Witschi b87fc5bbfd
Added more poolbuilder test 4 years ago
Yanick Witschi d78c37edd2
Cleanup and added some more improvements, tests still failing 4 years ago
Nils Adermann 43888cae8c
PoolBuilder: failing test for partial update with multiple deps 4 years ago
Nils Adermann 4f13875f3f
PoolBuilderTest: add new fixtures for partial updates with locked packages 4 years ago
Nils Adermann 5dd4b456b9
PoolBuilder: Do not load any alternatives to pkgs replaced by fixed pkg 4 years ago
Nils Adermann 85ea29d241
PoolBuilder failing test: do not load alternatives for pkg replaced by fixed pkg 4 years ago
Nils Adermann bb4cabc0b9
PoolBuilder: Avoid loading any alternatives to fixed packages 4 years ago
Nils Adermann 208a735645
PoolBuilder Failing test: fixed package is not only pkg loaded for that name 4 years ago