Passed
Push — master ( c5a660...8d284d )
by Petr
02:17
created

Checkout Config

filter:
  excluded_paths:
    - 'vendor/*'
    - 'examples/*'
    - '.github/*'
    - 'php-tests/*'
  paths: {  }

build:
  environment:
    php:
      version: '7.4'
  dependencies:
    before:
      - wget -O composer.phar https://getcomposer.org/composer.phar
      - chmod +x composer.phar
      - ./composer.phar install
  nodes:
    analysis:
      tests:
        override:
          - php-scrutinizer-run
    coverage:
      tests:
        override:
          - command: XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-clover php-tests/data/clover.xml
            coverage:
              file:  php-tests/data/clover.xml
              format: php-clover

coding_style:
  php:
    spaces:
      around_operators:
        concatenation: true
      ternary_operator:
        in_short_version: false
      other:
        after_type_cast: true

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
filter: {  }