Skip to content

Commit 5f7cdbd

Browse files
committed
update pint rules
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent a18fe4c commit 5f7cdbd

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.idea/php.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pint.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
22
"preset": "per",
3-
"exclude": ["cli"],
3+
"exclude": [
4+
"cli"
5+
],
46
"rules": {
57
"array_push": true,
8+
"attribute_empty_parentheses": {
9+
"use_parentheses": false
10+
},
11+
"backtick_to_shell_exec": true,
612
"combine_consecutive_issets": true,
713
"combine_consecutive_unsets": true,
814
"combine_nested_dirname": true,
@@ -22,6 +28,12 @@
2228
"single_quote": true,
2329
"strict_param": true,
2430
"use_arrow_functions": true,
25-
"void_return": true
31+
"void_return": true,
32+
"no_unused_imports": true,
33+
"ordered_interfaces": true,
34+
"ordered_types": {
35+
"null_adjustment": "always_last"
36+
},
37+
"simplified_if_return": true
2638
}
2739
}

0 commit comments

Comments
 (0)