From dbb2a2c74245de74c91d9d77ae2ab69a677106de Mon Sep 17 00:00:00 2001 From: Lucas Michot Date: Thu, 7 Sep 2023 20:25:40 +0200 Subject: [PATCH] Add the pint.json file --- pint.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pint.json diff --git a/pint.json b/pint.json new file mode 100644 index 0000000..b5a32c8 --- /dev/null +++ b/pint.json @@ -0,0 +1,20 @@ +{ + "preset": "laravel", + "rules": { + "binary_operator_spaces": { + "operators": { + "=>": "align" + } + }, + "is_null": true, + "no_superfluous_elseif": true, + "no_superfluous_phpdoc_tags": false, + "no_useless_else": true, + "yoda_style": { + "always_move_variable": true, + "equal": false, + "identical": false, + "less_and_greater": false + } + } +}