- Issue created by @spokje
In
📌
Fix PHPStan L1 error "Relying on entity queries to check access by default is deprecated..."
Fixed
we discovered that \Drupal\content_moderation\ModeratedNodeListBuilder::getEntityRevisionIds
is either not sufficiently tested, or even completely untested.
I was wrong about the content moderation list builder, it should be TRUE, because it's a list builder so destined for the UI, made a commit to the MR to change it back. The fact we're not getting a deprecation error from that one on tests means that method is likely completely untested (or if not something else is wrong), so tagging for a follow-up.
Make sure \Drupal\content_moderation\ModeratedNodeListBuilder::getEntityRevisionIds
has sufficient test coverage.
Active
10.1 ✨