-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
39 lines (39 loc) · 1.16 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
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
checks:
php:
fix_php_opening_tag: true
remove_php_closing_tag: true
one_class_per_file: true
side_effects_or_types: true
no_mixed_inline_html: true
require_braces_around_control_structures: true
php5_style_constructor: true
no_global_keyword: true
avoid_usage_of_logical_operators: true
psr2_class_declaration: true
no_underscore_prefix_in_properties: true
no_underscore_prefix_in_methods: true
blank_line_after_namespace_declaration: true
single_namespace_per_use: true
psr2_switch_declaration: true
psr2_control_structure_declaration: true
avoid_superglobals: true
security_vulnerabilities: true
no_exit: false
coding_style:
php:
indentation:
general:
size: 2
filter: { }