Jordi Boggiano
6e3e801c6a
Update deps
2023-02-03 23:07:37 +01:00
Jordi Boggiano
2f2d6c9de7
Fix package sorting logic, fixes #11287
2023-02-03 22:48:18 +01:00
Andor
50cded331c
Default exclude patterns for the "archive" command ( #11239 )
...
* Issue #11235 - Adds default exclude patterns for the "archive" command based on the target file name
2023-01-27 17:16:33 +01:00
Jordi Boggiano
ad7bc18028
Fix self.version requirements failing the lock file integrity check if on a different version, fixes #11274 ( #11283 )
2023-01-27 16:54:45 +01:00
Jordi Boggiano
0a2846cb24
Fix autoloading on PHP 5.6 ( #11285 )
...
* Add a CI check to ensure the autoloader can run on php5.6+
* Fix autoloading on PHP 5.6
2023-01-27 16:26:04 +01:00
Jordi Boggiano
5165792f9c
Fix security advisory parsing when filter repo is used, fixes #11281
2023-01-27 11:09:34 +01:00
Jordi Boggiano
f6f972a699
Fix require regression with --fixed, fixes #11247
2023-01-19 21:42:22 +01:00
Jordi Boggiano
0d96fd8149
Warn when require ends up auto-selecting a feature branch, fixes #11264 ( #11270 )
2023-01-19 21:42:09 +01:00
Conrad Lara
c7f32820d7
Allow v2 metadata target to provide security advisories without releases. ( #11257 )
2023-01-13 22:20:03 +01:00
Jordi Boggiano
70b1863480
Update deps
2023-01-13 14:19:18 +01:00
Alex Theobold
2431b12230
Test home command ( #11254 )
...
Co-authored-by: alex.theobold <alex.theobold@sykescottages.co.uk>
2023-01-13 09:34:03 +01:00
Jordi Boggiano
f21cc3ab25
Merge pull request #11162 from yesdevnull/feat-more-tests
...
Tests for Audit/Remove/Suggests Commands
2023-01-13 08:49:05 +01:00
Dan Barrett
ca9fb64691
Added tests for the Suggests command
2023-01-06 12:38:47 +11:00
Dan Barrett
7560873740
Added tests for the Remove command
2023-01-06 12:38:47 +11:00
Dan Barrett
29ae7b632a
Add "missing lockfile" test for the Audit command
2023-01-06 12:38:40 +11:00
Dan Barrett
b2304d0b12
Exclude PHPStan extensions from PHPUnit coverage
2023-01-03 18:57:00 +11:00
dependabot[bot]
f07614f1c9
Bump actions/stale from 6 to 7 ( #11244 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 14:38:27 +01:00
Jordi Boggiano
d047f38f73
Make sure autoloader closures do not have a scope class set
2022-12-22 21:01:38 +01:00
Jordi Boggiano
2e71896168
Reverting release version changes
2022-12-22 15:33:55 +01:00
Jordi Boggiano
923278ad13
Release 2.5.1
2022-12-22 15:33:54 +01:00
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