Skip to content

Incompatibility with new PHPStan #7803

@enumag

Description

@enumag

Bug Report

Subject Details
Rector version v0.15.17

After upgrading to PHPStan 1.10 and PHPStan strict-rules 1.5 I'm getting this error when trying to run Rector:

PHP Fatal error:  Uncaught _PHPStan_1f608dc6a\Nette\Schema\ValidationException: Unexpected item 'parameters › reportWrongPhpDocTypeInVarTag'. in phar:///app/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/schema/src/Schema/Processor.php:75

error.zip

Downgrading to phpstan/phpstan-strict-rules 1.4.x can be used as a workaround for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions