Skip to content

Incorrect rule count for set dropdown #3214

@mttsch

Description

@mttsch

https://getrector.com/find-rule?activeRectorSetGroup=php&rectorSet=php-php-85 looks like this:

Image

Problem: The select dropdown mentions 7 rules, but the results only show 3 rules.

Expected result: Both numbers are consistent. (Alternatively: Remove the number from the set dropdown. There is also no number when only a group is selected, i.e. for "All sets".)

Probable cause: php85.php configures 7 rules, but only 3 of those are PHP 8.5 specific, the others are generic rules configured with configuration specific to PHP 8.5 changes.

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