+
Skip to content

Migrate to non-zero exit status before upgrading PHPStan #9410

@dmitryuk

Description

@dmitryuk

Feature request

While running PHPStan analyze I can see warning message:

! [NOTE] No files found to analyse. 
 [WARNING] This will cause a non-zero exit code in PHPStan 2.0.  

There is no way to hide it or migrate to non-zero exit code.

Possible solution: add some config variable to phpstan.neon file that will cause positive exit status and let us to migrate transparently + hide warning.
What do you think?

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载