Skip to content

Internal Error Running Phpstan #15063

Closed
Closed

Description

@oleibman

Bug report

Failure is happening on Win11. It runs okay on GitHub/ubuntu. Following instructions from failure to run with -v and report results here.

phpstanfailure.txt

Code snippet that reproduces the problem

No response

Expected output

No error.

Did PHPStan help you today? Did it make you happy in any way?

Today it leaves me confused.

Activity

  1. mergeable commented on Aug 9, 2026

    @mergeable

    This bug report is missing a link to reproduction at phpstan.org/try.

    It will most likely be closed after manual review.

  2. staabm commented on Aug 9, 2026

    @staabm
    Contributor

    Please show us the output of phpstan diagnose

  3. oleibman commented on Aug 9, 2026

    @oleibman
    Author

    Failing run uses Phpstan 2.2.7, after adding reportIgnoresWithoutComments: true to phpstan.neon.dist. Github PR is PHPOffice/PhpSpreadsheet#4952
    Getting results of additional command now, but I am going to reboot first.

  4. staabm commented on Aug 9, 2026

    @staabm
    Contributor

    Please also try whether it reproduces on 2.2.8

  5. oleibman commented on Aug 9, 2026

    @oleibman
    Author

    Here's the file you requested for 2.2.7.

    phpstan.diagnose.txt

  6. oleibman commented on Aug 9, 2026

    @oleibman
    Author

    Reboot didn't help.
    2.2.8 completes successfully.

  7. ondrejmirtes commented on Aug 9, 2026

    @ondrejmirtes
    Member

    This was fixed by phpstan/phpstan-src#6179 in 2.2.8.

  8. github-actions commented on Sep 10, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  9. locked as resolved and limited conversation to collaborators on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions