Passed
Pull Request — master (#36)
by
unknown
07:56
created

Checkout Config

#language: php
checks:
  php: true
filter:
  excluded_paths:
    - tests
build:
  nodes:
    analysis:
      environment:
        php: 7.4
        postgresql: false
        redis: false
        mongodb: false
      tests:
        override:
            - phpcs-run src
            - command: php -d memory_limit=4G vendor/bin/phpstan analyze --error-format=checkstyle | sed '/^\s*$/d' > phpstan-checkstyle.xml
              analysis:
                file: phpstan-checkstyle.xml
                format: 'general-checkstyle'
            - php-scrutinizer-run

Global Config

build_failure_conditions:
    - 'elements.rating(<= D).exists'                                 # No classes/methods with a rating of D or worse
    - 'issues.severity(>= MAJOR).new.exists'                         # New issues of major or higher severity
    - 'project.metric_change("scrutinizer.quality", < -0.3)'         # Code quality drops more than 3%
    - 'project.metric_change("scrutinizer.test_coverage", < -0.02)'  # Code coverage drops more than 2%
tools:
    external_code_coverage: true