This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
forked from ComuneFI/BiCoreBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
81 lines (78 loc) · 2.1 KB
/
.scrutinizer.yml
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
checks:
php:
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
optional_parameters_at_the_end: true
no_short_variable_names:
minimum: '3'
no_short_method_names:
minimum: '3'
no_long_variable_names:
maximum: '20'
no_goto: true
newline_at_end_of_file: true
more_specific_types_in_doc_comments: true
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
avoid_multiple_statements_on_same_line: true
align_assignments: true
code_rating: true
build:
nodes:
analysis:
dependencies:
override:
- composer install --no-interaction --no-scripts
tests:
override:
- php-scrutinizer-run
# - phpcs-run
environment:
php:
version: 8.0
ini:
'memory_limit': '4G'
pecl_extensions:
- zip
#node: "v16.13.0"
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
paths:
- 'src/*'
tools:
external_code_coverage:
timeout: 3600 # Timeout in seconds.
php_code_sniffer:
enabled: true
config:
standard: PSR2
filter:
paths: ["src/*", "tests/*"]
php_cpd:
enabled: true
excluded_dirs: ["build", "tests", "vendor"]
php_cs_fixer:
enabled: true
config:
level: all
filter:
paths: ["src/*", "tests/*"]
php_loc:
enabled: true
excluded_dirs: ["build", "tests", "vendor"]
php_mess_detector:
enabled: true
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
excluded_dirs: ["build", "tests", "vendor"]
php_analyzer:
filter:
paths: ["src/*", "tests/*"]
sensiolabs_security_checker: true