Closed (fixed)
Project:
Drupal core
Version:
main
Component:
extension system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Feb 2026 at 21:53 UTC
Updated:
23 Mar 2026 at 09:15 UTC
Jump to comment: Most recent
Comments
Comment #2
nicxvan commentedComment #3
berdirNovice instructions: Create a MR that removes the module_test.module file.
Comment #6
karthik_gundu commentedCreated merge request removing module_test.module as suggested in the novice instructions.
MR: https://git.drupalcode.org/project/drupal/-/merge_requests/14994
Comment #7
scontzen commentedComment #8
scontzen commentedThanks @karthik_gundu for working on this!
The file removal is correct.
However, the pipeline fails because the PHPStan baseline still references the deleted file:
Invalid entry in ignoreErrors:
Path "/builds/core/modules/system/tests/modules/module_test/module_test.module" is neither a directory, nor a file path, nor a fnmatch pattern.The corresponding entry in core/.phpstan-baseline.php (lines 28716-28721) also needs to be removed:
Setting to Needs work for the missing baseline cleanup.
Comment #10
thirteenthdown commentedI checked out the existing MR branch and removed the orphaned PHPStan baseline entry from core/.phpstan-baseline.php that was causing the pipeline to fail at the static analysis stage. The MR should now be green and the dead code removal is complete. Changing the status to Needs Review.
Comment #11
berdirMR is green, this looks good now.
Comment #13
catchCommitted/pushed to main, thanks!