Fixed
Project:
Feedback
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2026 at 23:17 UTC
Updated:
24 Apr 2026 at 23:55 UTC
Jump to comment: Most recent
PHPStan is a tool that does static analysis on a codebase to find bugs. PHPStan is run in our CI pipeline. PHPStan groups its lints into rule levels.
Currently PHPStan doesn't report any issues, possibly because we don't have a configuration file for it yet.
It does find a common lint ("Unsafe usage of new static()") at levels 0 and 1 when I run PHPStan locally.
Add a PHPStan configuration file (i.e.: phpstan.neon) and generate a baseline file. Ignore the "Unsafe usage of new static()" lint like Drupal core does.
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 #3
mparker17Created a merge request
Comment #5
mparker17Merged! I will update this issue when the code added here is released.