9481 Commits (1d2df5ef55553747e7f187dca45675b3d520db99)
 

Author SHA1 Message Date
Jordi Boggiano 1d2df5ef55
Add output to remove/require command to highlight the fact it is running an update command, refs #8910 4 years ago
Jordi Boggiano af6444353f
Refactor hint generation and whitespace handling in SolverProblemsException 4 years ago
Jordi Boggiano 98e5f81a5f
Fix detection of fixed package problems to include more cases, fixes #8910 4 years ago
Jordi Boggiano 106289e5dc
Fix lowest 8 build to use ignore platform reqs 4 years ago
Cees-Jan Kiewiet b5f8f750c2
Test PHP 8.0 with lowest dependencies (#8878) 4 years ago
Jordi Boggiano beded906ba
Merge branch '1.10' 4 years ago
Jean-Michel DELEHAYE 42fc372e52
Add function_exists() for 'pcntl_signal' 4 years ago
Matěj Kmínek a074819a51
Add support for gitlab deploy token (#8867)
* feat: Added ability to work with GitLab deploy tokens: https://docs.gitlab.com/ee/user/project/deploy_tokens/

Deploy tokens can be specified two ways:
1) GIT CONFIG:
git config --add gitlab.deploytoken.user USERNAME && git config --add gitlab.deploytoken.token TOKEN
2) Auth.json:
"gitlab-token": {
    "gitlab.com": {"username": "USERNAME", "token": "TOKEN"}
}
4 years ago
Jordi Boggiano ec3f18ee92
Remove workaround as it is not working anyway 4 years ago
Jordi Boggiano 1ef352751c
Fix display issue in create-project when installing dev-master 4 years ago
Jordi Boggiano 88ced66f2c
Fix issue with PHPUnitBridge autoload 4 years ago
Jordi Boggiano cb2fca5d13
Try to workaround react/promise php8 issue 4 years ago
Jordi Boggiano a8cd2941e5
Fix phar compilation test 4 years ago
Jordi Boggiano 22622372bc
Fix complete test suite for v2 4 years ago
Jordi Boggiano 4b1e386fff
Make sure php8 runs tests, and that 7.3 runs complete test suite 4 years ago
Jordi Boggiano b7dd5b0680
PHP8 again 4 years ago
Jordi Boggiano 9c0f7d4bce
Try fixing php8 build 4 years ago
Jordi Boggiano 592b05df11
Add one more use case to InstalledVersions docs 4 years ago
Jordi Boggiano ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
Add (default) base name of archive into composer.json
4 years ago
Jordi Boggiano f73c8c419c
Merge pull request #8869 from naderman/replace-semver-test
Adding a test to verify replace version overlap with unbound constraints and single versions
4 years ago
Jordi Boggiano dd0c8b4278
Merge pull request #8723 from helhum/fix-package-sorting
Fix package sorting
4 years ago
Jordi Boggiano 3134466b42
Merge branch '1.10' 4 years ago
Jordi Boggiano ff27fdf4ea
Update changelog 4 years ago
Jordi Boggiano 7d87688032
Fix 5.3 build 4 years ago
Jordi Boggiano 73b9a3960f
Fix 5.3 build 4 years ago
Jordi Boggiano 4ce492d01d
Fix detection of gitlab URLs, fixes #8402, closes #8868 4 years ago
Jordi Boggiano ebefcdbd7e
Update to latest semver, refs #8783 4 years ago
Nils Adermann 5d5515348a
Merge pull request #8860 from Seldaek/update-with
Add --with to update command to allow downgrading to a specific version / applying custom temporary constraints
4 years ago
Nils Adermann ff0717ad66
Merge pull request #8859 from Seldaek/deduplicate-problems
Deduplicate require/conflict rules which are the same but for different versions of the same package
4 years ago
Nils Adermann 678abdbc9f
Merge pull request #8873 from Seldaek/version_selector_platform
Use all PlatformRepo packages in VersionSelector checks
4 years ago
Nils Adermann a9ae54d1bb
Merge pull request #8874 from Seldaek/cache_successes
Cache successful requests to make sure subsequent loadPackages calls do not do the same requests for nothing
4 years ago
Jordi Boggiano 1d68e85433
Fix usage 4 years ago
Jordi Boggiano ef3797cdd6
Cache successful requests to make sure subsequent loadPackages calls do not do the same requests for nothing 4 years ago
Jordi Boggiano 8a2dd1baef
Adjust all usages of VersionSelector to the new API 4 years ago
Jordi Boggiano 419567ba6d
Update VersionSelector to take all platform requirements into account when selecting packages 4 years ago
Jordi Boggiano b11f43f59e
Merge remote-tracking branch 'origin/1.10' 4 years ago
Jordi Boggiano c86c3f4516
Merge pull request #8871 from Seldaek/version-selector-respect-composer-versions
Make the VersionSelector take Composer API/Runtime versions into account
4 years ago
Jordi Boggiano e5a5a9175d
Fix php8 build bootstrap 4 years ago
Jordi Boggiano 21aeef1365
Allow php 8 tests to run, require latest semver dev 4 years ago
Jordi Boggiano 92aed041e4
Make the VersionSelector take Composer API/Runtime versions into account, refs getsentry/sentry-php#1008 4 years ago
Markus Staab 11930001fb
Added phpdoc types for PoolBuilder (#8862) 4 years ago
Nils Adermann d15447c454 Add test for replace version overlap 4 years ago
Michael Chekin c23670c3ec
Add Util\AuthHelper unit test coverage (#8863)
* Add AuthHelper::addAuthenticationHeader() test on missing authentication credentials.

* Add AuthHelper::addAuthenticationHeader() test on bearer password.

* Add AuthHelper::addAuthenticationHeader() test on Github token.

* Add AuthHelper::addAuthenticationHeader() test on Gitlab Oauth token.

* Add $authenticationDisplayMessage write expectation to AuthHelper::addAuthenticationHeader() tests.

* Add AuthHelper::addAuthenticationHeader() test on Gitlab private token.

* Add AuthHelper::addAuthenticationHeader() test on Bitbucket Oauth token.

* Add AuthHelper::addAuthenticationHeader() test on Bitbucket public urls.

* Add AuthHelper::addAuthenticationHeader() test on Basic Http Authentication.

* Add AuthHelper::isPublicBitBucketDownload() tests.

* Rename AuthHelperTest $credentials variable to $auth.

* Add AuthHelper::storeAuth() test for auto-store option.

* Add AuthHelper::storeAuth() test for user prompt and y(es) answer.

* Add AuthHelper::storeAuth() test for user prompt and n(o) answer.

* Add AuthHelper::storeAuth() test for user prompt with invalid answer.

* Add AuthHelper::promptAuthIfNeeded() test for Github authentication failure.

- add GitHub hard dependency mock (new GitHub(...) mock)

* Run AuthHelper::promptAuthIfNeeded() tests only with PHP > 5.3

* Run AuthHelper::promptAuthIfNeeded() tests only with PHP >= 5.4

* Run AuthHelper::promptAuthIfNeeded() tests only with PHP 5.4

* Exclude PHPStan analyses of '../tests/Composer/Test/Util/Mocks/*'

* Exclude AuthHelper::promptAuthIfNeeded() tests from current pull request.

* Extract repetitive AuthHelperTest authentication expectation into a method.
4 years ago
Jordi Boggiano c39391323d
Merge pull request #8865 from Ayesh/regex-improvements
Regex improvements with unnecessary `.*` matchers
4 years ago
Ayesh Karunaratne aa20413990
Improve regex in \Composer\Downloader\SvnDownloader::getCommitLogs() by removing unnecessary greedy operator 4 years ago
Ayesh Karunaratne d4c8478df5
Improve regex in \Composer\Repository\ComposerRepository::fetchFile() by removing unnecessary greedy operator 4 years ago
Helmut Hummel 7c891701e6 Fix package sorting
PackageSorter weighs the importance of a package
by counting how many times it is required by other packages.
This works by calculating the weight for each package name.

However currently the package index of the package array
is currently passed the weigh function, which basically
disables package sorting.

The reason for that is, that a package repository previously
returned the package list as associative array with  package name as keys,
but currently just as an array with integer keys.

Therefore we must extract the package name from the package
before passing it to the weigh function.
4 years ago
Jordi Boggiano 1d077ede70
Merge branch '1.10' 4 years ago
Jordi Boggiano bfe71fb952
Fix support for --self --name-only, fixes #8844 4 years ago
Jordi Boggiano 4ce3836f51
Fix creation of a php: dir when running create-project, fixes #8849 4 years ago