Skip to content

Commit 653f237

Browse files
authored
Create .scrutinizer.yml (#16)
1 parent 8c00fac commit 653f237

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.scrutinizer.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
build:
2+
nodes:
3+
analysis:
4+
tests:
5+
override:
6+
- php-scrutinizer-run
7+
filter:
8+
excluded_paths:
9+
- tests/*
10+
- vendor/*
11+
checks:
12+
php:
13+
code_rating: true
14+
remove_extra_empty_lines: true
15+
remove_php_closing_tag: true
16+
remove_trailing_whitespace: true
17+
fix_use_statements:
18+
remove_unused: true
19+
preserve_multiple: false
20+
preserve_blanklines: true
21+
order_alphabetically: true
22+
fix_php_opening_tag: true
23+
fix_linefeed: true
24+
fix_line_ending: true
25+
fix_identation_4spaces: true
26+
fix_doc_comments: true
27+
tools:
28+
php_code_sniffer:
29+
config:
30+
standard: PSR2
31+
filter:
32+
paths: ['src']
33+
php_loc:
34+
enabled: true
35+
excluded_dirs: [vendor, tests, examples]
36+
php_cpd:
37+
enabled: true
38+
excluded_dirs: [vendor, tests, examples]

0 commit comments

Comments
 (0)