Skip to content

Replace Psalm with PHPStan ? #324

Closed
Closed

Description

@arhimede

"use one static analysis tool and Doctrine projects will use PHPStan going forward. For now Psalm checks will be removed from repositories over the next weeks.

This is mainly because PHPStan has outpaced Psalm in depth and quality in the last few years and it feels unlikely that Psalm can point to a problem that PHPStan did not detect before. If in the future Psalm catches up to PHPStan we may reconsider adding it."

Activity

  1. arhimede commented on Nov 12, 2024

    @arhimede
    MemberAuthor

    @MarioRadu maybe we will need to create a separate library
    phpstan-mezzio
    to handle custom mezzio logic

  2. arhimede commented on Nov 13, 2024

    @arhimede
    MemberAuthor
  3. arhimede commented on Nov 13, 2024

    @arhimede
    MemberAuthor
  4. arhimede commented on Nov 15, 2024

    @arhimede
    MemberAuthor

    so the decision of Dotkernel TSC was to swith to phpstan and drop psalm
    and create a *.neo files with temporary exceptions

    https://github.com/doctrine/orm/blob/3.3.x/phpstan.neon
    https://github.com/doctrine/orm/blob/3.3.x/phpstan-params.neon

    Level 5 for the moment

  5. alexmerlin commented on Nov 20, 2024

    @alexmerlin
    Member

    Implemented in #348 #349 #350 and #351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

⌂ Proxy