Passed
Pull Request — master (#305)
by Wilmer
03:39
created

Checkout Config

checks:
  php: true

filter:
  paths:
    - "/*"
  excluded_paths:
    - "/config/*"
    - "/runtime/*"
    - "/tests/Support/*"
    - "/vagrant/*"
    - "/vendor/*"

build:
  image: default-bionic

  environment:
    variables:
      YII_ENV: test

    php:
      version: 8.1.21
      ini:
        xdebug.mode: coverage

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

    codeception:
      dependencies:
        override:
          - composer self-update
          - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

      tests:
        override:
          - command: vendor/bin/codecept run --coverage-xml
            on_node: 1
            coverage:
              file: runtime/_output/coverage.xml
              format: php-clover

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:
                multiplicative: false
                concatenation: true