before_commands:
  - 'git submodule update --init --recursive'

checks:
    php:
        excluded_dependencies:
            - etsy/phan

filter:
    excluded_paths:
        - '3rdparty/*'
        - 'apps/*/3rdparty/*'
        - 'apps/*/vendor/*'
        - 'l10n/*'
        - 'core/l10n/*'
        - 'apps/*/l10n/*'
        - 'apps/*/tests/*'
        - 'lib/l10n/*'
        - 'core/vendor/*'
        - 'core/js/tests/lib/*.js'
        - 'core/js/tests/specs/*.js'
        - 'core/js/jquery-showpassword.js'
        - 'core/js/jquery-tipsy.js'
        - 'core/js/placeholders.js'
        - 'settings/l10n/*'
        - 'tests/*'
        - 'build/*'
        - 'lib/composer/*'

imports:
    - javascript
    - php

before_commands:
  - 'git submodule update --init --recursive'

build:
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run

checks:
    php:
        excluded_dependencies:
            - etsy/phan

filter:
    excluded_paths:
        - '3rdparty/*'
        - 'apps/*/3rdparty/*'
        - 'apps/*/vendor/*'
        - 'l10n/*'
        - 'core/l10n/*'
        - 'apps/*/l10n/*'
        - 'apps/*/tests/*'
        - 'lib/l10n/*'
        - 'core/vendor/*'
        - 'core/js/tests/lib/*.js'
        - 'core/js/tests/specs/*.js'
        - 'core/js/jquery-showpassword.js'
        - 'core/js/jquery-tipsy.js'
        - 'core/js/placeholders.js'
        - 'settings/l10n/*'
        - 'tests/*'
        - 'build/*'
        - 'lib/composer/*'

imports:
    - javascript
    - php

Migrate Scrutinizer to new PHP Analysis
Migrate Scrutinizer to new PHP Analysis

See this article for details:
https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis

Signed-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>
