René's URL Explorer Experiment


Title: Replace roave/security-advisories with Composer's built-in advisory blocking · Issue #308 · wp-cli/.github · GitHub

Open Graph Title: Replace roave/security-advisories with Composer's built-in advisory blocking · Issue #308 · wp-cli/.github

X Title: Replace roave/security-advisories with Composer's built-in advisory blocking · Issue #308 · wp-cli/.github

Description: Since its update on 2026-10-29, roave/security-advisories also conflicts with PHP itself: php <8.2.35 | >=8.3,<8.3.36 | >=8.4,<8.4.27 | >=8.5,<8.5.12. Composer can no longer install the dependencies of a repository that requires it on an...

Open Graph Description: Since its update on 2026-10-29, roave/security-advisories also conflicts with PHP itself: php <8.2.35 | >=8.3,<8.3.36 | >=8.4,<8.4.27 | >=8.5,<8.5.12. Composer can no longer install the dependencie...

X Description: Since its update on 2026-10-29, roave/security-advisories also conflicts with PHP itself: php <8.2.35 | >=8.3,<8.3.36 | >=8.4,<8.4.27 | >=8.5,<8.5.12. Composer can no longer in...

Opengraph URL: https://github.com/wp-cli/.github/issues/308

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace roave/security-advisories with Composer's built-in advisory blocking","articleBody":"Since its update on 2026-10-29, `roave/security-advisories` also conflicts with PHP itself: `php \u003c8.2.35 | >=8.3,\u003c8.3.36 | >=8.4,\u003c8.4.27 | >=8.5,\u003c8.5.12`. Composer can no longer install the dependencies of a repository that requires it on any older PHP version. That breaks every CI job testing on PHP 7.2–8.1, as well as runners that lag a patch release.\n\n#305 works around this by removing the package in CI when the running PHP falls inside the conflict. It reads the conflict with `composer show --available`, which fails in wp-cli-dev because its path repositories are only cloned later. The step then reports `conflicts with php (none)`, keeps the package, and the unit tests on PHP 7.4–8.1 fail in every wp-cli-dev pull request (for example wp-cli/wp-cli-dev#85).\n\n## Proposal\n\nRemove `roave/security-advisories` from every repository, and remove the CI workaround.\n\nThe package no longer adds anything. Since [Composer 2.9](https://blog.packagist.com/composer-2-9/), Composer refuses to install or update to any package version with a known security advisory, by default. The release post says that if you use `roave/security-advisories`, \"this new feature replaces it fully and you can remove the dependency on this package.\" Composer 2.10 moved the setting into the `policy` config block, still enabled by default.\n\nComposer's check covers our dependencies, not the PHP version Composer runs on. That is the part we care about: we don't control the PHP version on a CI runner, we just need to test on it. The test runners are short-lived, are not reachable from outside, and setup-php ships builds with security fixes backported (shivammathur/setup-php#1139).\n\n## Composer 2.9 or later is required for this protection\n\nContributors need Composer 2.9 or later to keep this protection locally. Older Composer versions install without the check.\n\nThat is a reasonable requirement. Composer 2.9 and later require PHP 7.2.5, the same as every Composer 2.x release since 2.3, so any PHP version that can run current WP-CLI tooling can run it. I checked Composer 2.9.0 on PHP 7.2.34, 7.4.33, 8.0.30, 8.1.34, 8.2.35, 8.3.36, 8.4.27 and 8.5.12: it runs on each and blocks a package with known advisories (`guzzlehttp/guzzle 7.4.0`) on each. Only a PHP version older than 7.2.5 is stuck on an older Composer, and such a version gets no security patches anyway. CI already installs the latest Composer (2.11.1 at the moment).\n\n## Changes\n\n- [x] wp-cli/.github#309 (merge last): remove the \"Drop roave/security-advisories\" step from `reusable-unit.yml` and `reusable-functional.yml`\n- [x] wp-cli/wp-cli#6441\n- [x] wp-cli/wp-cli-bundle#1184\n- [x] wp-cli/wp-cli-dev#88, which also documents the Composer 2.9 requirement\n- [x] wp-cli/wp-cli-tests#396\n- [x] wp-cli/php-cli-tools#205\n\n","author":{"url":"https://github.com/schlessera","@type":"Person","name":"schlessera"},"datePublished":"2026-10-30T18:35:24Z","url":"https://github.com/wp-cli/.github/issues/308"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6fdf9dab-401a-0950-089b-b9d848595cd7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id968A:3D53D8:1360B55:1A79968:6AFB704C
html-safe-nonceb8918776aeb8dc14a55c723b25bb0d1c0d071da5ef789412e2741c0d3ccebcda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjhBOjNENTNEODoxMzYwQjU1OjFBNzk5Njg6NkFGQjcwNEMiLCJ2aXNpdG9yX2lkIjoiNjczOTU0MDQ5NTE1MzQ1OTI3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9775b25f6c5485e5df7a635589d9c9526933a362771f4f8b98867354f5275490
hovercard-subject-tagissue:6124909368
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/.github/308/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4ed9bc3cc790ebb453f012ac240db6faf349123c9da58ef6e679976363b41c92/wp-cli/.github/issues/308
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ed9bc3cc790ebb453f012ac240db6faf349123c9da58ef6e679976363b41c92/wp-cli/.github/issues/308
og:image:altSince its update on 2026-10-29, roave/security-advisories also conflicts with PHP itself: php <8.2.35 | >=8.3,<8.3.36 | >=8.4,<8.4.27 | >=8.5,<8.5.12. Composer can no longer install the dependencie...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameschlessera
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
go-importgithub.com/wp-cli/.github git https://github.com/wp-cli/.github.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id181716041
octolytics-dimension-repository_nwowp-cli/.github
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id181716041
octolytics-dimension-repository_network_root_nwowp-cli/.github
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/wp-cli/.github/issues/308#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2F.github%2Fissues%2F308
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2F.github%2Fissues%2F308
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=wp-cli%2F.github
Reloadhttps://github.com/wp-cli/.github/issues/308
Reloadhttps://github.com/wp-cli/.github/issues/308
Reloadhttps://github.com/wp-cli/.github/issues/308
wp-clihttps://github.com/wp-cli
.githubhttps://github.com/wp-cli/.github
Codehttps://github.com/wp-cli/.github
Issueshttps://github.com/wp-cli/.github/issues
Pull requests1 (1)https://github.com/wp-cli/.github/pulls
Actionshttps://github.com/wp-cli/.github/actions
Security and qualityhttps://github.com/wp-cli/.github/security
Insightshttps://github.com/wp-cli/.github/pulse
https://github.com/wp-cli/.github
New issuehttps://github.com/login?return_to=https://github.com/wp-cli/.github/issues/308
New issuehttps://github.com/login?return_to=https://github.com/wp-cli/.github/issues/308
Replace roave/security-advisories with Composer's built-in advisory blockinghttps://github.com/wp-cli/.github/issues/308#top
bugSomething isn't workinghttps://github.com/wp-cli/.github/issues?q=state%3Aopen%20label%3A%22bug%22
scope:testinghttps://github.com/wp-cli/.github/issues?q=state%3Aopen%20label%3A%22scope%3Atesting%22
https://github.com/schlessera
schlesserahttps://github.com/schlessera
on Oct 30, 2026https://github.com/wp-cli/.github/issues/308#issue-6124909368
#305https://github.com/wp-cli/.github/pull/305
wp-cli/wp-cli-dev#85https://github.com/wp-cli/wp-cli-dev/pull/85
Composer 2.9https://blog.packagist.com/composer-2-9/
shivammathur/setup-php#1139https://github.com/shivammathur/setup-php/issues/1139
Remove the roave/security-advisories workaround #309https://github.com/wp-cli/.github/pull/309
Remove roave/security-advisories wp-cli#6441https://github.com/wp-cli/wp-cli/pull/6441
Remove roave/security-advisories wp-cli-bundle#1184https://github.com/wp-cli/wp-cli-bundle/pull/1184
Remove roave/security-advisories and require Composer 2.9 wp-cli-dev#88https://github.com/wp-cli/wp-cli-dev/pull/88
Remove roave/security-advisories wp-cli-tests#396https://github.com/wp-cli/wp-cli-tests/pull/396
Remove roave/security-advisories php-cli-tools#205https://github.com/wp-cli/php-cli-tools/pull/205
github-actionshttps://github.com/apps/github-actions
bugSomething isn't workinghttps://github.com/wp-cli/.github/issues?q=state%3Aopen%20label%3A%22bug%22
scope:testinghttps://github.com/wp-cli/.github/issues?q=state%3Aopen%20label%3A%22scope%3Atesting%22
on Oct 30, 2026https://github.com/wp-cli/.github/issues/308#event-34721522929
https://github.com/schlessera
schlesserahttps://github.com/schlessera
on Oct 30, 2026https://github.com/wp-cli/.github/issues/308#issuecomment-6532333274
schlesserahttps://github.com/schlessera
completedhttps://github.com/wp-cli/.github/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 30, 2026https://github.com/wp-cli/.github/issues/308#event-34728086509
Sign up for freehttps://github.com/signup?return_to=https://github.com/wp-cli/.github/issues/308
Sign in to commenthttps://github.com/login?return_to=https://github.com/wp-cli/.github/issues/308
bugSomething isn't workinghttps://github.com/wp-cli/.github/issues?q=state%3Aopen%20label%3A%22bug%22
scope:testinghttps://github.com/wp-cli/.github/issues?q=state%3Aopen%20label%3A%22scope%3Atesting%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.