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.fileNotLoadable

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3635620

Command icon 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

mondrake created an issue. See original summary.

mondrake’s picture

mondrake’s picture

Issue summary: View changes

mondrake’s picture

Status: Active » Needs review

The new version does not require a different baseline, so the MR is quite straightforward.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Let's do it.

mondrake’s picture

Status: Reviewed & tested by the community » Needs review

Bumped mglaman/phpstan-drupal to 2.3.0

quietone’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

The 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.