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
Jordi Boggiano
d173af2d7a
Fix check-platform-reqs command to take into account provide/replace from the root package
4 years ago
Jordi Boggiano
6a6ea6057f
Handle provider/replacer packages and avoid checking extensions which are provided by packages, refs #8546
4 years ago
Jordi Boggiano
d494df61ff
Make sure platform-check returns a non-0 exit code if it fails
4 years ago
Jordi Boggiano
f34ec13253
Upadte changelog/upgrade to latest master state
4 years ago
Jordi Boggiano
d89342dc43
Fix tests
4 years ago
Jordi Boggiano
755a73baa9
Only check for pcntl on cli SAPI, fixes #8828
4 years ago
Jordi Boggiano
df0cada93f
Add test for #8669
4 years ago
PirxDanford
3a7ea25289
Introduce --no-install option for the update, require and remove commands
...
Closes #8669 , fixes #8551
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
effulgentsia
46efcefefa
Added --json and --merge options to ConfigCommand ( #8779 )
4 years ago
Jordi Boggiano
1d4185b844
Recommend ocramius/package-versions fork if needed to solve dependencies
4 years ago
Jordi Boggiano
34801239f1
Tweak problem wording slightly
4 years ago
Jordi Boggiano
d8678fc8f2
Update CONTRIBUTING.md
4 years ago
Jordi Boggiano
b67dd2e201
Add coc file to appease the github UI
4 years ago
Carsten Brandt
8f8840bfda
Update 04-schema.md to reflect package naming in 2.0 ( #8777 )
4 years ago
Jordi Boggiano
cdc6a87e8d
Fix docblock
4 years ago
Jordi Boggiano
9b8694bc0b
Show suggestions from root package in suggest, and lists them in count only on first install of a project, fixes #8805
4 years ago
Jordi Boggiano
6529fabb24
Add isFresh to InstalledRepositoryInterface and make sure local repo is always an InstalledRepositoryInterface
4 years ago
Jordi Boggiano
8a1e9744a0
Fix tests
4 years ago
Jordi Boggiano
fa14cd1353
Show number of additional suggestions when not using --all, fixes #8788
4 years ago