Jordi Boggiano
4d20e6f5d6
Move Version util to Platform namespace, fix CS nitpicks, make regexes case insensitive for robustness, refs #9093
4 years ago
Jordi Boggiano
7e1ef19a5a
Expand library version checking capabilities ( closes #9093 )
4 years ago
Wissem Riahi
657ae5519e
Add support for TAR in Artifact packages ( #9105 )
4 years ago
Jordi Boggiano
7bcde1481d
Fix git downloader syntax for windows cmd when updating packages, fixes #9089
4 years ago
Jordi Boggiano
d8fa746433
Merge pull request #9058 from Seldaek/zip-cleanup
...
Clean up Zip Util to be more strict about what is a valid package archive
4 years ago
Wissem Riahi
c353ac835c
Add exception for multiple composer.json files ( #3 )
4 years ago
Jordi Boggiano
433968de17
Fix usage of create-project with local filesystem repos
4 years ago
Jordi Boggiano
942562c382
Clean up Zip Util to be more strict about what is a valid package archive, fixes #8931
4 years ago
Jordi Boggiano
212fbc516e
Fix test issues
4 years ago
Nils Adermann
3d2d33dd58
Solver: Add missing rules and replace some with %A for pcre length limit
4 years ago
Nils Adermann
de3931c742
Revert "Remove unnecessary duplicate rule output from expected test result"
...
This reverts commit c78eb49b5e
.
4 years ago
Nils Adermann
c78eb49b5e
Remove unnecessary duplicate rule output from expected test result
4 years ago
Nils Adermann
2cfb60e683
Solver: Add test case for github issue 7051
4 years ago
Jordi Boggiano
bee91155a1
Fix guessing of default branch when HEAD is a non-feature-branch
4 years ago
Jordi Boggiano
05dacbdabb
Rename DEV_MASTER_ALIAS to DEFAULT_BRANCH_ALIAS
4 years ago
Jordi Boggiano
74d89d7110
Get rid of default branch handling in version guesser as it is way too time intensive at every initialization
4 years ago
Jordi Boggiano
6d2b5c1950
Add missing class
4 years ago
Jordi Boggiano
7a37e78a30
Speed up installer tests by avoiding lots of bootstrapping and git processes
4 years ago
Jordi Boggiano
d19f5db568
Fix tests to use default-branch prop
4 years ago
Jordi Boggiano
6349764c2d
Fix root package handling of default-branch
4 years ago
Jordi Boggiano
6f0e5996de
Treat default branch name as a non-feature-branch no matter what it is called
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
93d4cf6f91
Add --no-show-signature where git supports it, fixes #8966
4 years ago
Jordi Boggiano
83c64a9d19
Reuse operation formatting logic in downloaders
4 years ago
Jordi Boggiano
e5fe35d554
Update test description
4 years ago
Jordi Boggiano
c8731598cc
Merge branch '1.10'
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
a797ee1322
Fix inline aliases not being loaded when extracting dev requirements, fixes #8954
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
Graham Campbell
fa799970ad
Replace whitelist with allow list
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Jordi Boggiano
a66a939b76
Merge pull request #8937 from Seldaek/optim-rules
...
Optimize rule creation for alias packages
4 years ago
Jordi Boggiano
fafa959933
Add test to assert prefer-lowest behavior when conflicting branches prevent absolute lowest version from being installed, closes #7408
4 years ago
Jordi Boggiano
5a4709c3d6
Optimize rule creation for alias packages
...
This mainly benefits projects running updates with minimum-stability: dev
4 years ago
Jordi Boggiano
1ea3111583
Use RULE_LEARNED instead of RULE_FIXED
4 years ago
Jordi Boggiano
5e5f9f8142
Remove unused RULE_INTERNAL_ALLOW_UPDATE
4 years ago
Jordi Boggiano
c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues
4 years ago
Jordi Boggiano
2ddf4346ef
Improve error reporting for RULE_PACKAGE_ALIAS
4 years ago
Jordi Boggiano
0ea9eafcaf
Add rules for aliased packages when an alias is added, fixes #8902
4 years ago
Jordi Boggiano
dfccf8c091
Add failing test reproducing the problem of #8902
4 years ago
Jordi Boggiano
537402f814
Add tests for #8861
4 years ago
Jordi Boggiano
e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861
4 years ago
Jordi Boggiano
21e708f2c4
Remove upper bound PHP version checks from platform-check as there is not enough value added and it risks causing issues
4 years ago
Jordi Boggiano
b72ac2d01a
Oops
4 years ago
Jordi Boggiano
863e7076ba
Bump to use composer/semver 3.x
4 years ago
Jordi Boggiano
d72a07db06
Fix tests
4 years ago