Problem/Motivation
phpunit 9.6.7 is required by drupal/core-dev 10.2.4. This package requires sebastian/resource-operations. The problem is that sebastian/resource-operations was abandoned and "composer audit" flags this as a security problem.
Proposed resolution
Work out what to do.
Do eet.
Remaining tasks
Work out what to do.
Do eet.
User interface changes
n/a
API changes
n/a
Data model changes
n/a
Release notes snippet
TBD
Comments
Comment #2
damienmckennaFYI this can be handled on a per-project basis by modifying the composer.json file:
https://getcomposer.org/doc/06-config.md#abandoned
or
Comment #3
damienmckennaThis can probably be closed as-is, if nothing else it'll be documentation for the next person who searches for this.
Comment #4
dave reidhttps://github.com/sebastianbergmann/phpunit/issues/4828 was updated with a new release adding
abandoned: falseto prevent this error on composer audit going forward. I think this can be closed as fixed now.Comment #5
dave reidAlso if you are not pushing your site's dev dependencies to your hosting/production code, you can also use
composer audit --no-dev.Comment #6
cilefen commentedBut according to the maintainer, it is actually abandoned in all respects, except for that attribute, correct?
Comment #7
dave reidThe library is not getting any more updates, no, and PHPUnit 9 is also not getting any more bug fixes either. Ideally updating to PHPUnit 10 or 11 removes the dependency on the abandoned package.
Comment #8
dave reidComment #9
cilefen commentedThe library is
essentiallyliterally an array.