Drupal Version

9.4.x -- see https://www.drupal.org/node/3201242

Domain module version

8.x-1.x-dev

Expected Behavior

Run drupal-check with no errors.

Actual Behavior

Error returned.

Steps to reproduce

Run phpstan without suppressing the error "Missing explicit access check on entity query".

Issue fork domain-3291184

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

agentrickard created an issue. See original summary.

quadrexdev made their first commit to this issue’s fork.

quadrexdev’s picture

Status: Active » Needs review

I've created a merge request with the fix of this warning. Please, review.

agentrickard’s picture

Nice. Let me run this through phpstan and see what we get.

  • agentrickard committed 6838c0a on 8.x-1.x
    Issue #3291184 by quadrexdev: Fix "Missing explicit access check on...
agentrickard’s picture

Status: Needs review » Fixed

Committed!

I also added a ### Code linting section to the README.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.