forked from elabftw/elabftw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
55 lines (55 loc) · 1.67 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
filter:
excluded_paths:
- tests/*
- src/commands/PopulateDatabase.php
dependency_paths:
- vendor/
checks:
php:
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
no_goto: true
more_specific_types_in_doc_comments: true
fix_line_ending: true
symfony_request_injection: false
no_exit: false
build:
environment:
docker:
remote_engine: true
php:
version: 8.1
nodes:
analysis:
dependencies:
override:
- echo do nothing here
before:
- echo do nothing here
tests:
override:
- php-scrutinizer-run
tests:
dependencies:
override:
- echo do nothing here
before:
- sudo install -m 0755 -d /etc/apt/keyrings
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
- sudo chmod a+r /etc/apt/keyrings/docker.gpg
- echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
- sudo apt-get update
- sudo apt-get install docker-buildx-plugin docker-compose-plugin
tests:
override:
- command: tests/run.sh
idle_timeout: 500
coverage:
file: coverage.xml
format: clover