Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 13, 2025

Pull Request Type

  • I have checked there is no other PR open for the same change.

Detailed Description

The roave/security-advisories package was an inventive method to block installation of known insecure versions of other dependencies (via a conflict annotation).

As of Composer 2.9, using the roave/security-advisories package for this purpose is no longer needed as Composer will now natively block installation of known insecure versions of dependencies.

And while not all contributors to this repo may be using Composer 2.9+ (yet), Composer 2.9+ will be used in CI and CI failing on Composer blocking an insecure dependency offers the same level of protection as the package previously offered.

Refs:

The `roave/security-advisories` package was an inventive method to block installation of known insecure versions of other dependencies (via a `conflict` annotation).

As of Composer 2.9, using the `roave/security-advisories` package for this purpose is no longer needed as Composer will now natively block installation of known insecure versions of dependencies.

And while not all contributors to this repo may be using Composer 2.9+ (yet), Composer 2.9+ **_will_** be used in CI and CI failing on Composer blocking an insecure dependency offers the same level of protection as the package previously offered.

Refs:
* https://blog.packagist.com/composer-2-9/
* https://github.com/composer/composer/releases/tag/2.9.0
@jrfnl jrfnl added this to the 2.0.x Next milestone Nov 13, 2025
@jrfnl jrfnl mentioned this pull request Nov 14, 2025
25 tasks
@schlessera schlessera merged commit d5139b7 into develop Nov 20, 2025
16 of 34 checks passed
@schlessera schlessera deleted the feature/composer-remove-roave-security-advisories branch November 20, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants