Skip to content

phpstan 1.12.0 introduces final classes, breaking ReadWriteConfigPropertiesRule #30

Description

@JamesDPC

Hi

phpstan 1.12 made the class PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule final.

Here's the change which mentions v2: phpstan/phpstan-src@4010b73

This affects ReadWriteConfigPropertiesRule: Class Syntro\SilverstripePHPStan\Rule\ReadWriteConfigPropertiesRule cannot extend final class PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule

I don't know if there is an easy fix for this? workaround is to use 1.11 for now

Thanks
James

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