|
1 | 1 | { |
2 | 2 | "preset": "laravel", |
| 3 | + "notPath": [ |
| 4 | + "tests/TestCase.php" |
| 5 | + ], |
3 | 6 | "rules": { |
| 7 | + "array_push": true, |
| 8 | + "backtick_to_shell_exec": true, |
| 9 | + "date_time_immutable": true, |
| 10 | + "declare_strict_types": true, |
| 11 | + "lowercase_keywords": true, |
| 12 | + "lowercase_static_reference": true, |
| 13 | + "final_class": true, |
| 14 | + "final_internal_class": true, |
| 15 | + "final_public_method_for_abstract_class": true, |
| 16 | + "fully_qualified_strict_types": true, |
| 17 | + "global_namespace_import": { |
| 18 | + "import_classes": true, |
| 19 | + "import_constants": true, |
| 20 | + "import_functions": true |
| 21 | + }, |
| 22 | + "mb_str_functions": true, |
| 23 | + "modernize_types_casting": true, |
| 24 | + "new_with_parentheses": false, |
| 25 | + "no_superfluous_elseif": true, |
| 26 | + "no_useless_else": true, |
| 27 | + "no_multiple_statements_per_line": true, |
| 28 | + "ordered_class_elements": { |
| 29 | + "order": [ |
| 30 | + "use_trait", |
| 31 | + "case", |
| 32 | + "constant", |
| 33 | + "constant_public", |
| 34 | + "constant_protected", |
| 35 | + "constant_private", |
| 36 | + "property_public", |
| 37 | + "property_protected", |
| 38 | + "property_private", |
| 39 | + "construct", |
| 40 | + "destruct", |
| 41 | + "magic", |
| 42 | + "phpunit", |
| 43 | + "method_abstract", |
| 44 | + "method_public_static", |
| 45 | + "method_public", |
| 46 | + "method_protected_static", |
| 47 | + "method_protected", |
| 48 | + "method_private_static", |
| 49 | + "method_private" |
| 50 | + ], |
| 51 | + "sort_algorithm": "none" |
| 52 | + }, |
| 53 | + "ordered_interfaces": true, |
| 54 | + "ordered_traits": true, |
| 55 | + "protected_to_private": true, |
| 56 | + "self_accessor": true, |
| 57 | + "self_static_accessor": true, |
| 58 | + "strict_comparison": true, |
| 59 | + "visibility_required": true, |
4 | 60 | "concat_space": { |
5 | 61 | "spacing": "one" |
6 | | - }, |
7 | | - "ordered_imports": { |
8 | | - "sort_algorithm": "alpha" |
9 | 62 | } |
10 | 63 | } |
11 | 64 | } |
0 commit comments