Closed (fixed)
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2026 at 10:24 UTC
Updated:
25 Feb 2026 at 23:29 UTC
Jump to comment: Most recent
Let's see if we can fix some of the PHPStan warnings we get in Gitlab CI.
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
berdirsimilar to how we did it on redirect, I propose to disable phpstan job on previous major.
It tends to be really hard to get them all green with deprecations and can be confusing. unsure on next minor, we might want to know if there are upcoming changes that will break it, especially if we enforce that it must pass.
Comment #4
mably commentedOk, I'll have a look at how it was done on redirect module to disable phpstan on previous major.
Comment #5
mably commentedComment #6
berdirLeft some comments, I think a few suggestions are worth doing, such as return an explicit FALSE instead of ignoring it and simplifying the docblock.
Then I think it's fine to merge this.
Comment #7
mably commentedI have added that
return FALSE;.Comment #9
mably commented