summaryrefslogtreecommitdiffstats
path: root/.scrutinizer.yml
blob: 47ed1569acd879e3ad334858dfdfc682ff2990e2 (plain)
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
filter:
    excluded_paths:
        - 'vendor/*'
        - 'js/vendor/*'
        - 'js/build/*'
        - 'l10n/*'
        - 'templates/*'
        - 'img/*'
        - 'css/*'
        - 'bin/*'
        - 'tmp/*'
        - 'appinfo/routes.php'
        - 'appinfo/application.php'
        - 'tests/*'

imports:
    #- javascript  disabled because of es6 producing tons of errors
    - php
    - javascript

tools:
    external_code_coverage:
        timeout: 300

checks:
    php:
        # not helpful because there is no setting to tweek the threshold
        duplication: false
        # this is not working properly with core exceptions
        catch_class_exists: false
        avoid_tab_indentation: true
        line_length:
            max_length: '80'