Test Failed
Push — main ( 2b582c...894963 )
by Rafael
05:38
created

Checkout Config

build:
  image: default-bionic
  environment:
    variables:
      PHP_VERSION: 8.1
      SKIP_COPY_ASSETS: true
  dependencies:
    before:
      - composer install
  tests:
    override:
      - php-scrutinizer-run --enable-security-analysis
      # Run PHP-CS Beautifier and Fixer: to format some common non PSR code that can be auto-fixed.
      - command: vendor/bin/phpcbf --tab-width=4 --encoding=utf-8 --standard=phpcs.xml src/Core -s
      # Run PHP-CS.
      - command: vendor/bin/phpcs --tab-width=4 --encoding=utf-8 --standard=phpcs.xml src/Core -s
      # Run PHPUnit test.
      # - command: vendor/bin/phpunit --coverage-clover=reports/coverage.xml
filter:
  paths:
    - src/*

tools:
  php_analyzer: true
  external_code_coverage:
    enabled: false
    timeout: 600
    filter:
      excluded_paths:
        - 'vendor/*'

coding_style:
  php:
    indentation:
      general:
        use_tabs: false
        size: 4
      switch:
        indent_case: true
    spaces:
      around_operators:
        concatenation: true

Repository Config

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