Skip to content

Commit ea3afdc

Browse files
committed
Use new scrutinizer environment and add some extra checks.
1 parent b2ca6ae commit ea3afdc

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

.scrutinizer.yml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,40 @@
1+
build:
2+
nodes:
3+
analysis:
4+
tests:
5+
override:
6+
- php-scrutinizer-run
7+
18
filter:
2-
paths: [src/*]
9+
paths:
10+
- src/
11+
dependency_paths:
12+
- lib/
313

414
checks:
515
php:
6-
remove_extra_empty_lines: true
7-
remove_php_closing_tag: true
8-
remove_trailing_whitespace: true
16+
check_method_contracts:
17+
verify_interface_like_constraints: true
18+
verify_documented_constraints: true
19+
verify_parent_constraints: true
20+
fix_doc_comments: true
21+
fix_identation_4spaces: true
22+
fix_line_ending: true
23+
fix_linefeed: true
24+
fix_php_opening_tag: true
925
fix_use_statements:
1026
remove_unused: true
1127
preserve_multiple: false
1228
preserve_blanklines: true
1329
order_alphabetically: true
14-
fix_php_opening_tag: true
15-
fix_linefeed: true
16-
fix_line_ending: true
17-
fix_identation_4spaces: true
18-
fix_doc_comments: true
30+
more_specific_types_in_doc_comments: true
31+
no_goto: true
32+
param_doc_comment_if_not_inferrable: true
33+
parameter_doc_comments: true
34+
remove_extra_empty_lines: true
35+
return_doc_comment_if_not_inferrable: true
36+
return_doc_comments: true
37+
simplify_boolean_return: true
1938

2039
tools:
2140
external_code_coverage:

0 commit comments

Comments
 (0)