1
0
Fork 0
Commit Graph

12418 Commits (68b1a1254afe6b7ed407390ca91f27f32cd6c3cc)

Author SHA1 Message Date
Jordi Boggiano 2ec8feb825
Merge branch '2.6' 2024-01-26 17:11:27 +01:00
Jordi Boggiano 952256247c
Only include installed versions class when plugins and scripts are allowed, as it is not needed otherwise 2024-01-26 17:11:16 +01:00
Jordi Boggiano 4e5be9ee7d
Emit warning instead of crashing on invalid security advisory API response, fixes #11767 2024-01-12 14:20:59 +01:00
Jordi Boggiano a29acbdd2e
Ensure repos declaring security-advisories have at least an API or a restricted set of packages to avoid too many wasteful requests 2024-01-12 13:17:05 +01:00
Jordi Boggiano 3491986ad3
Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var (#11791)
* Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var, fixes #530

* Address feedback

* Add warning in diagnose command when COMPOSER_IPRESOLVE is set
2024-01-11 17:13:54 +01:00
Jordi Boggiano c069174ac7
Merge remote-tracking branch 'origin/2.6' 2024-01-11 16:44:46 +01:00
Jordi Boggiano 75fd2bbeb2
Ensure we respect available-package-patterns and available-packages directives when fetching security advisories, fixes #11704 (#11773) 2024-01-11 16:44:27 +01:00
Jordi Boggiano 55db88f51b
Add error when composer show --direct <transient-dependency> is used to show a dependency which is not direct, fixes #11728 2024-01-11 09:53:00 +01:00
Jordi Boggiano 3427bee1f2
🤦 2024-01-10 13:47:26 +01:00
Jordi Boggiano 10667db1ba
Only override ist url if it is not handled gracefully already 2024-01-10 13:42:01 +01:00
Jordi Boggiano 547a635287
Fix build 2024-01-10 13:34:56 +01:00
Jordi Boggiano 042a8c2128
Ensure dist url/type/checksum remain the same when doing lock hash updates, refs #11787 2024-01-10 13:33:49 +01:00
Jordi Boggiano ca433076b1
Sync up docs from command, fixes #11787 2024-01-10 10:26:03 +01:00
James 5bc5c174a6
Update 01-basic-usage.md (#11788)
Changed a few clunky phrases
2024-01-09 21:21:34 +01:00
Jordi Boggiano 284821543a
Merge branch '2.6' 2024-01-08 16:10:20 +01:00
Jordi Boggiano 3ed4e16dea
Update deps 2024-01-08 16:05:46 +01:00
Sam L 44f02a5c86
Add COMPOSER_FUND=0 env var to disable calls for funding (#11779) 2024-01-08 15:10:49 +01:00
Jordi Boggiano be71bf056e
Fix support for versions with 4 components in VersionSelector, fixes #11716 2024-01-08 14:56:08 +01:00
Jordi Boggiano 071fbcf347
Fix warnings incorrectly being shown when using require with upper bound ignored on platform requirements, fixes #11722 (#11786) 2024-01-08 14:48:24 +01:00
Jordi Boggiano 534bc20beb
Add support for combining show --self with --installed or --locked (#11785) 2024-01-08 14:14:44 +01:00
theoboldalex 3be0ca8467
Adds a test for invalid arg combo (#11783) 2024-01-08 11:03:34 +01:00
rkpiii d00e38a038
[11744] handle missing hyphen when attempting to run self-update… (#11775)
* [11744] handle missing hyphen when attempting to run self-update command

* fix: [1744] silently fix the "self update" command
2024-01-04 17:02:34 +01:00
Quynh Anh 8246892d48
Fix PackageInterface parameter comments (#11777) 2024-01-04 14:49:27 +01:00
Jordi Boggiano efe6e44883
Perform audit on Composer and its dependencies during diagnose, fixes #11216 (#11761) 2024-01-04 10:55:59 +01:00
Jordi Boggiano 12ed21705d
Check for non-platform requirements before warning that no deps are installed on show command, fixes #11760 2023-12-22 17:48:47 +01:00
Roberto Guido 8e62977cb5
Exposing GitLab's project metadata (#11734)
* Exposing GitLab's project metadata

* Fixed check about GitLab project's metadata initialization
2023-12-20 16:50:24 +01:00
Zoli Szabó 6198fc1053
Fix typo in composer-platform-dependencies.md (#11757) 2023-12-20 16:42:45 +01:00
Jordi Boggiano 53a1f32061
Add --sort-by-age to show/outdated commands, and also release date for latest package in --latest mode (#11762) 2023-12-20 15:37:27 +01:00
Jordi Boggiano c8f1028ef9
Fix minor error msg issue 2023-12-20 15:16:12 +01:00
Stephan 86cd364901
Audit: add severity to plain and table output (#11702) 2023-12-19 19:11:50 +01:00
Jordi Boggiano 9b0f9b40a4
Show package source in very verbose updates, fixes #11733 (#11763) 2023-12-19 17:17:48 +01:00
Jordi Boggiano 4a209b7d3d
Fix bump command not bumping versions with a v prefix e.g. ^v2.4, fixes #11723 (#11764) 2023-12-19 17:17:32 +01:00
Jordi Boggiano 8941a00d1b
Update baseline 2023-12-19 16:43:00 +01:00
Jordi Boggiano 3cfd9bf51b
Ensure composer.json gets deleted after a dry run require, fixes #11747 2023-12-19 15:51:39 +01:00
Jordi Boggiano 83f831b011
Make wildcard path repos more visible in docs, fixes #11732 2023-12-19 15:29:45 +01:00
dependabot[bot] 8410643e65
Bump actions/stale from 8 to 9 (#11753)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [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/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:26:04 +01:00
Jordi Boggiano e0f75276a2
Switch default audit.abandoned to fail for 2.7 release 2023-12-18 15:02:10 +01:00
Jordi Boggiano 8f190fc090
Update baseline (1681, 92) 2023-12-18 11:19:05 +01:00
Jordi Boggiano bf6c7f8ea2
Merge branch '2.6' 2023-12-18 10:12:45 +01:00
Jordi Boggiano e14d28baec
Update deps 2023-12-18 10:11:33 +01:00
Jordi Boggiano 50f7c1d5b0
Merge branch '2.6' 2023-12-09 10:20:09 +01:00
Jordi Boggiano eaa7dd46f5
Reverting release version changes 2023-12-08 18:32:27 +01:00
Jordi Boggiano 683557bd24
Release 2.6.6 2023-12-08 18:32:26 +01:00
Jordi Boggiano 86c63b011f
Update changelog 2023-12-08 18:32:07 +01:00
theoboldalex aaff0ae4df
Adds a test for UpdateCommand (#11724)
* test: Interactive mode should throw if no package

* PHPStan fix. Missing return type on test method
2023-12-08 18:26:05 +01:00
dependabot[bot] d463df1021
Bump actions/github-script from 6 to 7 (#11718)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 18:25:33 +01:00
Juliette 6385079695
GH Actions: update the CI workflow for the release of PHP 8.3 (#11726)
PHP 8.4 has been added as experimental.
And the "high" PHP builds for the variations have been updated to use PHP 8.3.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2023-12-08 18:25:18 +01:00
Maxime Morlet cc2568216c
Update 01-basic-usage.md (#11729)
Broken link!
2023-12-08 18:24:33 +01:00
Marc Würth da83d29d8a
"URL" in caps (#11706) 2023-11-08 12:02:00 +01:00
Travis Carden aefa46dfba
Add support for "scripts-aliases" in composer.json (#11666) 2023-10-27 11:36:59 +02:00