Jordi Boggiano
9c04f9bfd8
Update changelog
2022-12-22 15:33:49 +01:00
Jordi Boggiano
cf8ce82aa1
Fix preg match type error in svn version guessing, fixes #11231
2022-12-22 15:28:49 +01:00
Jordi Boggiano
cbb7c91223
Fix ClassLoader to be serializable ( #11237 )
...
* Fix ClassLoader to be serializable
* Fix CI to use the source bin/composer as process for "composer" runs incl within simple-phpunit
* Store the closure statically to avoid serialization issues in a cleaner way
2022-12-22 15:17:04 +01:00
PrinsFrank
7290f5b437
Document recovering from invalid merges on composer.lock and composer.json ( #11154 )
2022-12-21 10:16:02 +01:00
Jeffrey Cafferata
da611e089a
Docs: fix documention deep links ( #11233 )
...
* Docs: Fixed the deep links to the documentation website.
Search scope: `src/Composer/Command`.
* Docs: Fixed the deep links to the documentation website.
2022-12-21 09:32:50 +01:00
Jordi Boggiano
737fd0fca8
Reverting release version changes
2022-12-20 10:44:09 +01:00
Jordi Boggiano
09ef0e3acb
Release 2.5.0
2022-12-20 10:44:08 +01:00
Jordi Boggiano
5d659bee1b
Update changelog
2022-12-18 15:23:26 +01:00
Jordi Boggiano
be053cb18e
Allow underscores in cache keys to avoid conflicts with package names containing underscore vs dashes, fixes #11224 ( #11229 )
2022-12-18 00:03:48 +01:00
Jordi Boggiano
5e6ccae116
Improve version selection in archive command, fixes #4794 ( #11230 )
2022-12-18 00:02:43 +01:00
Jordi Boggiano
685ec29573
Increase disk size warning to 100MB minimum, closes #11190
2022-12-17 23:50:47 +01:00
Jordi Boggiano
3534499c6b
Add test covering edge case of composer repo format, closes #11206
2022-12-17 23:15:40 +01:00
Jordi Boggiano
8969f8062a
Update baseline (1739, 93)
2022-12-17 23:14:48 +01:00
Ondřej Mirtes
2aa33aaafa
Update PHPStan ( #11222 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-12-17 23:12:38 +01:00
Jordi Boggiano
957e7a9165
Merge pull request #11218 from localheinz/fix/patch
...
Fix preserving of major.minor.patch version when running `composer bump` and installed patch version is `0`, and add bumping of >=x to >=latest
2022-12-17 23:05:21 +01:00
Jordi Boggiano
ef7ba73a6a
Add support for bumping >=x to >=latest, fixes #11179
2022-12-17 23:02:52 +01:00
Jordi Boggiano
7f9638f65a
Fix implementation to fix tests, fixes #11220
2022-12-17 22:50:19 +01:00
Markus Staab
a94a7512d6
Conditional return type for `IOInterface::select()` ( #11219 )
2022-12-17 22:03:19 +01:00
PrinsFrank
6d1b36be3b
Check missing-from-lock-file required packages when running install and fail when there are any ( #11195 )
2022-12-16 16:48:24 +01:00
PrinsFrank
b1f3f8b8fa
Prompt users in interactive mode for where to store the credentials if a local auth config file exists ( #11188 )
2022-12-16 14:31:28 +01:00
Andreas Möller
caebfe14ee
Fix: Add test case for not dropping patch version
2022-12-12 17:25:20 +01:00
Ion Bazan
8ff237afb6
[Tests] Use static data providers ( #11197 )
2022-11-24 14:39:08 +01:00
Elias Häußler
0cf57255d4
Make possible return type in `IOInterface::select()` more explicit ( #11171 )
...
`IOInterface::select()` either returns any of `int`, `string`, `bool` or an
array of `string` values. However, since the returned array is always a
list, we can safely change the return type annotation to `list<string>`,
making it more explicit in terms of static code analysis.
2022-11-24 13:59:33 +01:00
Jordi Boggiano
bd6a5019b3
Update to composer/pcre 2.1 ( #11189 )
2022-11-17 11:34:54 +01:00
Tom
5f1ec99e4a
Update how-to-install-untrusted-packages-safely.md ( #11187 )
2022-11-16 13:42:58 +01:00
Buk Bukowski
b44e39cc8c
Update 05-repositories.md ( #11180 )
...
* Update 05-repositories.md
consistency with previous example
* Update 05-repositories.md
2022-11-13 15:27:23 +01:00
Jordi Boggiano
5b28754602
Avoid normalizing to absolute paths if base dir is /toplevel to improve docker portability, fixes #11165 , fixes #4404 ( #11169 )
2022-11-10 16:32:18 +01:00
Jordi Boggiano
6c85b875f2
Update to PHPStan 1.9
2022-11-03 21:53:42 +01:00
Grzegorz Korba
7dfe4a38c8
Use binary-only images for installing Composer ( #11170 )
...
Document optimal way of copying Composer binary using `COPY --from` in Dockerfiles by using binary-only image.
2022-11-03 21:50:22 +01:00
Jordi Boggiano
7c1aa8e0ef
Fix regression in run-script/exec commands prompting when used with --list
2022-11-03 13:37:00 +01:00
PrinsFrank
0fca3e5521
Allow the 'composer remove --unused' command to run in non-interactive mode ( #11166 )
2022-11-03 13:11:34 +01:00
Jordi Boggiano
45af4e3e20
Do not prompt for binary/script args if they are provided, fixes #11167
2022-11-01 16:21:30 +01:00
Jordi Boggiano
36bc30ffab
Make the require command guess versions more accurately by delegating to the solver (except with --no-update) ( #11160 )
2022-11-01 15:48:52 +01:00
എതിരാളിക്കൊരു പോരാളി
723f700bea
Update Code of Conduct to Contributor Covenant v2.1 ( #11161 )
2022-11-01 10:46:06 +01:00
Jordi Boggiano
6bf945017e
Add interactive prompt for which script/binary to run if run-script/exec is called without arg, fixes #11128 ( #11157 )
2022-10-28 14:25:18 +02:00
Jordi Boggiano
6e55cb36d8
Add support for adding Command classes as scripts, ( #11151 )
...
* Add support for adding Command classes as scripts, fixes #11134
* Allow all options to be forwarded and allow using references to other scripts with args
* Fix build
* Add more checks
* Ensure exceptions are not swallowed, and remove naming restriction by using a single-command app
* Update docs
* Add tests, fix issue merging params when combining nested scripts and CLI params
2022-10-28 14:24:55 +02:00
PrinsFrank
0430722e66
Fix output inconsistencies when aliases are being used and '0 installs, 0 updates 0 removals' was being shown when any alias was present compared to 'Nothing to install, update or remove' when no alias is being used. ( #11159 )
2022-10-28 09:11:55 +02:00
Jordi Boggiano
bc29ffa500
Add network timeout issue to troubleshooting docs, fixes #11036
2022-10-27 16:58:21 +02:00
Jordi Boggiano
c65687604e
Fix react promise usage for forward compatibility
2022-10-27 16:51:10 +02:00
Jordi Boggiano
a63ce7cf96
Add message when doing composer outdated --direct and there is nothing to show, fixes #11152 ( #11156 )
2022-10-27 16:21:53 +02:00
Jordi Boggiano
ec82a1236d
Merge branch '2.4'
2022-10-27 14:45:59 +02:00
Jordi Boggiano
177f4cc4a9
changelog fixes
2022-10-27 14:45:54 +02:00
Jordi Boggiano
1c4ca10c1f
Merge branch '2.4'
2022-10-27 14:40:45 +02:00
Jordi Boggiano
cc2e8b05e6
Reverting release version changes
2022-10-27 14:39:29 +02:00
Jordi Boggiano
e8d9087229
Release 2.4.4
2022-10-27 14:39:29 +02:00
Jordi Boggiano
4900a14c3e
Update changelog
2022-10-27 14:38:51 +02:00
Jordi Boggiano
bb726b8a61
Fix status command reporting differences when source reference is a tag name, fixes #11155
2022-10-27 14:23:51 +02:00
Jordi Boggiano
ee0ec9ebc8
Merge branch '2.4'
2022-10-26 13:42:18 +02:00
Alex Theobold
97f4fbc4b0
Adds test coverage to the Fund Command ( #11150 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-26 13:40:01 +02:00
Jordi Boggiano
10e757d6b0
Add extra debug info when running GH Actions and an archive extraction fails, refs #11148
2022-10-26 12:27:24 +02:00