Closed (fixed)
Project:
Domain
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2026 at 13:32 UTC
Updated:
7 Sep 2026 at 18:30 UTC
Jump to comment: Most recent
Some phpstan findings were fixed, but the @phpstan-ignore-next-line remains in the code. This excludes the code from analysis and makes phpstan less reliable
See https://git.drupalcode.org/project/domain/-/blob/4.x/phpstan.neon?ref_ty...
Remove reportUnmatchedIgnoredErrors from phpstan configuration
None
None
None
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
Comment #4
idebr commentedThe
module_set_weightdeprecation is preferably fixed with theDrupal\Component\Utility\DeprecationHelperso the code is forward compatible and phpstan has nothing to report, see https://www.drupal.org/node/3379306Comment #5
mably commentedDeprecationHelperfixes the deprecation, butModuleWeight::classis itself a compile-time reference to a class that doesn't exist on 11.4 — that produced 8class.notFound.Comment #7
idebr commentedI see, that is annoying. Big improvement as is
Comment #9
mably commentedThanks @idebr for the review! Merged.