Problem/Motivation
PHPStan 2.3.5 was released on Nov 3, 2026.
mglaman/phpstan-drupal released 2.2.3 on Nov 5, 2026, and that fixes #3624168: [upstream, likely] Fix loadIncludes.fileNotLoadable phpstan violations.
Proposed resolution
1) Bump PHPStan to version 2.3.5 and friends
composer update phpstan/phpstan mglaman/phpstan-drupal phpstan/phpstan-deprecation-rules phpstan/phpstan-phpunit spaze/phpstan-disallowed-calls jangregor/phpstan-prophecy
2) Resolve #3635620: Bump PHPStan to version 2.3.5 and friends , refer to #3635620-8: Bump PHPStan to version 2.3.5 and friends
Remove the following from core/phpstan.neon.dist and close #3635620: Bump PHPStan to version 2.3.5 and friends
# @todo Fix this in https://www.drupal.org/project/drupal/issues/3624168
- identifier: loadIncludes.fileNotLoadableRemaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3635620
Show commands
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 #2
mondrakeComment #3
mondrakeComment #5
mondrakeThe new version does not require a different baseline, so the MR is quite straightforward.
Comment #6
catchLet's do it.
Comment #7
mondrakeBumped mglaman/phpstan-drupal to 2.3.0
Comment #8
quietone commentedThe MR matches my local results for this update. Added info in the issue summary about also fixing #3635620: Bump PHPStan to version 2.3.5 and friends in this issue.