-
Notifications
You must be signed in to change notification settings - Fork 18
/
.scrutinizer.yml
45 lines (45 loc) · 1.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
# package mirror: https://php-package-mirror.scrutinizer-ci.com/$VER.tar.bz2
build:
image: default-bionic
environment:
php:
version: 8.3.3
ini:
xdebug.mode: coverage
nodes:
analysis:
dependencies:
before:
- 'sudo git clone https://github.com/grommunio/mapi-header-php.git /usr/share/php-mapi'
project_setup:
override:
- true
tests:
override:
- php-scrutinizer-run
- command: phpcs-run
use_website_config: true
tests:
dependencies:
before:
- 'sudo git clone https://github.com/grommunio/mapi-header-php.git /usr/share/php-mapi'
filter:
excluded_paths:
- "*/build/**"
- "*/vendor/**"
- "*.min.js"
- "*.tpl.php"
- "client/dompurify/**"
- "client/tinymce/**"
- "client/filepreviewer/pdfjs/**"
- "client/filepreviewer/ViewerJS/**"
- "plugins/files/php/Files/Backend/Webdav/sabredav/**"
checks:
php:
code_rating: true
duplication: true
excluded_dependencies:
- phpunit/phpunit
tools:
php_cs_fixer:
config: .phpcs