9505 Commits (0a3d87512dd16cb6bc22c140f387e70e9bd8b9a3)
 

Author SHA1 Message Date
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
Jordi Boggiano 7f308d986e
Add --with to update command to allow downgrading to a specific version/applying custom temporary constraints, fixes #8756 4 years ago
Jordi Boggiano 3a64acb53e
Make sure versions are ordered also in the satisfied by package lists 4 years ago
Jordi Boggiano 56a11b9c2c
Deduplicate require/conflict rules which are the same but for different versions of the same package, fixes #8851 4 years ago
Jordi Boggiano fc8be2bed8
Add --no-dev to recommended check-platform-reqs command for prod deploy 4 years ago
Jordi Boggiano 54d8cbe5f8
Merge pull request #8855 from naderman/document-update-mirrors-lock-nothing
Documentation: Clarify composer update mirrors/nothing/lock
4 years ago
Jordi Boggiano 56811b4c8f
Exclude platform require/provides from InstalledVersions as concrete ones are also not listed 4 years ago
Jordi Boggiano 0071bc1ec0
Add docs about new runtime features 4 years ago
Jordi Boggiano 557fb873ee
Add a way to retrieve the Loop instance from Composer to be able to wait on promises to integrate things 4 years ago
Jordi Boggiano 3c593b0d12
Remove duplicate use statement 4 years ago
Jordi Boggiano 74a63b4d6b
Merge branch '1.10' 4 years ago
Jordi Boggiano 3c2889672b
Merge pull request #8847 from Jean85/add-composer-runtime-api
Add composer-runtime-api version constant
4 years ago
Jordi Boggiano 81bf47ffa2
Use fully qualified calls in hot classes 4 years ago
Nils Adermann 1cb6bbe550 Clarify composer update mirrors/nothing/lock
Addresses https://github.com/composer/composer/issues/7459 by listing these special arguments in the documentation.
4 years ago
Jordi Boggiano 00e1deec90
Annotate phpstan errors in pull requests (#8852)
Utilizing https://github.com/staabm/annotate-pull-request-from-checkstyle
4 years ago
Jordi Boggiano 11cd3e0a28
Update lock file 4 years ago
Jordi Boggiano a5f86a494e
Add a conflict on latest phpunit-bridge 4 years ago
Markus Staab 3c1757575e
Annotate phpstan errors in pull requests
Utilizing https://github.com/staabm/annotate-pull-request-from-checkstyle
4 years ago
Alessandro Lai ff05150c4e Add composer-runtime-api version constant 4 years ago
Basil Peace 6140897d08 feat: add archive.name config option 4 years ago
Alessandro Lai 270c7c3262
Backport validation support for composer-runtime-api (#8842)
Fixes #8841
4 years ago
Nils Adermann 56edd53046 Remove unnecessary implementation of interface method in abstract class 4 years ago
Michael Chekin b9be78b689
Additional Util\Bitbucket class test coverage (#8835) 4 years ago
Jordi Boggiano a63913c245
Merge pull request #8836 from kbacia7/master
close #8784, Added --locked option to composer show command. Displaying locked packages with --all option
4 years ago
Jordi Boggiano 6e7d7097e8
Add flag to docs 4 years ago
Kamil Bacia 0779308076
close #8784, Added --locked option to composer show command. Displaying locked packages with --all option 4 years ago
Nils Adermann 994a5b41c2
Provide default impl for abstract method in interface for PHP < 5.3.9 (#8837) 4 years ago