laravel / pint

Laravel Pint is an opinionated PHP code style fixer for minimalists.

Home Page:https://laravel.com/docs/pint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The rules contain unknown fixers: "ordered_types"

andrey-helldar opened this issue · comments

Pint Version

1.10.0

PHP Version

8.1.19

Description

The ordered_types rule was added in PHP-CS-Fixer version 3.17. Pint is currently running version 3.16.

Therefore, when using this rule, an error is displayed in the console:

The rules contain unknown fixers: "ordered_types"

Steps To Reproduce

Create a configuration file using the ordered_types rule and run:

{
    "preset": "psr12",
    "rules": {
        "ordered_types": {
            "null_adjustment": "always_last",
            "sort_algorithm": "alpha"
        }
    }
}