-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.moo.yml-sample
139 lines (135 loc) · 3.41 KB
/
.moo.yml-sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
workspace: /Users/moo/workspace/
#faqs:
# source: local
# data:
# questions:
# - "A Question one?"
# - "A Question two?"
#
# answers:
# - |
# Details of the answer for question:
# A Question one?
# - |
# Details of the answer for question:
# A Question two?
#OR
# source: url
# data: http://domain.com/api.json
sites:
ip: 127.0.0.1 #IP address to use for list of sites instead of finding one
commit:
style: CategorisedStyle # options: ImperativeMoodStyle, CategorisedStyle
categories:
One: One
Bug: Bug
words:
- Invert
- Increase
- Refactor
- Change
- Add
- Create
- Update
- Build
- Remove
- Set
- Temporarily
- Rename
- Implement
- Reduce
- Combine
- Move
- Configure
- Limit
- Exclude
- Place
- Use
- Reset
- Fix
- Hide
- Clean
- Init
- Make
- Integrate
- Enable
- Disable
- Reinstate
- Populate
- Replace
- Ensure
- Adjust
- Override
- Improve
- Apply
- Allow
- Convert
- Show
- Revert
- Extend
# Option to define the qcode.phpstan commands per framework
# {path} to be populated with the path to file/directory to be analysed
# {site_root} to be populated with path to site root directory
qcode:
phpstan:
default: "{site_root}vendor/bin/phpstan analyse {path} --level 1 --memory-limit=5000M --ansi"
laravel: 'php artisan code:analyse --paths="{path}"'
silverstripe: '{site_root}vendor/bin/phpstan analyse {path} -c {site_root}phpstan.neon -a {site_root}vendor/symbiote/silverstripe-phpstan/bootstrap.php --level 1 --memory-limit=5000M --ansi'
csfixes:
"@PSR2": true
"@PSR1": true
"@Symfony": true
"align_multiline_comment": true
"array_indentation": true
"mb_str_functions": true
"method_separation": false
"no_unreachable_default_argument_value": false
"no_useless_else": false
"no_useless_return": false
"blank_line_after_opening_tag": true
"blank_line_before_return": true
"cast_spaces": true
"concat_space":
"spacing": "one"
"function_typehint_space": true
"hash_to_slash_comment": true
"lowercase_cast": true
"magic_constant_casing": true
"new_with_braces": true
"no_singleline_whitespace_before_semicolons": true
"no_unused_imports": true
"phpdoc_align": true
"standardize_not_equals": true
"single_quote": true
"pre_increment": false
"array_syntax":
"syntax": "short"
"binary_operator_spaces":
"align_double_arrow": true
"align_equals": true
"linebreak_after_opening_tag": true
"no_trailing_comma_in_list_call": false
"ordered_imports": true
"phpdoc_add_missing_param_annotation": true
"phpdoc_no_empty_return": false
"semicolon_after_instruction": true
"phpdoc_annotation_without_dot": true
"phpdoc_summary": false
"protected_to_private": false
"phpdoc_separation": false
"no_extra_consecutive_blank_lines": false
"class_attributes_separation": false
"yoda_style": false
"no_extra_blank_lines": false
"combine_consecutive_issets": true
"combine_consecutive_unsets": true
"compact_nullable_typehint": true
"explicit_indirect_variable": true
"explicit_string_variable": true
"increment_style": false
"standardize_increment": false
"list_syntax":
"syntax": "short"
"method_chaining_indentation": true
"simple_to_complex_string_variable": true
"single_trait_insert_per_statement": false