Passed
Push — master ( cab919...875b8a )
by sam
02:39
created

Checkout Config

imports:
  - php

filter:
  excluded_paths: [vendor/*, test/*]

build:
  environment:
    php: 7.2
  dependencies:
    before:
      - command: "mkdir build"
    after:
      - "composer require --dev phpunit/phpunit"

  nodes:
    coverage:
      tests:
        override:
        - command: "vendor/bin/phpunit --configuration .phpunit.xml"
          coverage:
            file: "build/coverage.clover"
            format: "php-clover"

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
    
        coverage:
          tests:
            override:
              - command: 'make test'
                coverage:
                  file: coverage/index.html   # <- Set this to where we find the coverage data.
                                              #    The path is relative to the current directory.
                  format: clover
filter:
    excluded_paths:
        - 'test/*'
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true