Issue #3612201: Suppress the entity-storage phpstan rules on 3.x (removal lands in 4.0.0)

Backport companion to !402 (merged) (which fixes the rules properly on 4.x).

3.x is a maintenance branch, so the BC-breaking storage refactor cannot land here (it removes protected storage-cache properties from public base classes). Instead this suppresses the two new phpstan-drupal rules so the branch pipeline stays green:

  • drupal.entityStoragePropertyAssignment
  • drupal.entityStorageDirectInjection

The actual removal lands in 4.0.0 (see !402 (merged)). reportUnmatchedIgnoredErrors is already false, so the ignores are harmless if a rule does not fire.

@deprecated docblocks were intentionally not added: the storage properties are still used internally on this branch, so marking them deprecated would make phpstan's deprecation rule flag that internal access and generate new violations.

Merge request reports

Loading