Skip to content

Conversation

@glaubinix
Copy link
Contributor

@glaubinix glaubinix commented Oct 15, 2025

Implements #12568

Appears this was causing issue in Drupal because of doctrine/annotations being abandoned and people running composer audit as part of their builds with "abandoned": "fail" which now fails without an easy path to upgrade

@cruno91
Copy link

cruno91 commented Oct 15, 2025

We just started adding composer audit as a check that will fail pipelines and prevent merges to find out we can't add abandoned packages as exceptions. Is there a way we can apply this patch via the composer CLI in our pipeline to allow for this temporarily?

@glaubinix
Copy link
Contributor Author

@cruno91 no there isn't.

@Seldaek Seldaek added this to the 2.9 milestone Oct 27, 2025
Copy link
Member

@Seldaek Seldaek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from the few minor comments

@glaubinix glaubinix force-pushed the audit-ignore-abandoned-packages branch from cc9ea6f to 18453f0 Compare October 28, 2025 10:14
@glaubinix glaubinix requested a review from Seldaek October 28, 2025 10:16
@Seldaek Seldaek merged commit 028e057 into composer:main Oct 28, 2025
21 checks passed
@Seldaek
Copy link
Member

Seldaek commented Oct 28, 2025

Thanks

@PhilETaylor
Copy link

PhilETaylor commented Oct 28, 2025

When running snapshot now Im getting this error - is this related?

In Auditor.php line 75:

  [TypeError]
  Composer\Advisory\Auditor::audit(): Argument #9 ($ignoreUnreachable) must be of type bool, array given, called in phar:///usr/local/bin/composer/src/Composer/Installer.php on line 436

Composer version 2.9-dev+028e057787298cc0881ecb706406802e4c1c7791 (2.9-dev) 2025-10-28 10:23:57
PHP version 8.4.14 (/opt/homebrew/Cellar/php/8.4.14/bin/php)

@glaubinix
Copy link
Contributor Author

Yes, see #12579

@PhilETaylor
Copy link

Awesome, thanks - thought it best to mention it sooner rather than later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants