Passed
Push — master ( 257e8e...d00b29 )
by Max
04:25
created

Checkout Config

filter:
  excluded_paths:
    - 'examples/*'
build:
  nodes:
    analysis:
      environment:
        php:
          version: 7.1
      cache:
        disabled: false
        directories:
        - ~/.composer/cache
      project_setup:
        override: true
      tests:
        override:
        - php-scrutinizer-run

  dependencies:
    override:
    - composer install --ignore-platform-reqs --no-interaction

tools:
  external_code_coverage:
    timeout: 900

build_failure_conditions:
- 'elements.rating(<= C).new.exists'                        # No new classes/methods with a rating of C or worse allowed
- 'issues.label("coding-style").new.exists'                 # No new coding style issues allowed
- 'issues.severity(>= MAJOR).new.exists'                    # New issues of major or higher severity
- 'project.metric_change("scrutinizer.test_coverage", < 0)' # Code Coverage decreased from previous inspection

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
        tests: true
filter:
    excluded_paths:
        - 'tests/*'
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                additive: false
                concatenation: true