checks:
  php:
    code_rating: true

filter:
  excluded_paths:
    - tests/*
    - vendor/*

build:

  environment:
    php: '7.3'

  dependencies:
    before:
      - composer install
      - mkdir -p build/logs

  tests:
    override:
      -
        command: 'vendor/bin/phpunit --coverage-clover build/logs/clover.xml'
        coverage:
          file: 'build/logs/clover.xml'
          format: 'clover'

checks:
  php:
    code_rating: true

filter:
  excluded_paths:
    - tests/*
    - vendor/*

build:

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

  environment:
    php: '7.3'

  dependencies:
    before:
      - composer install
      - mkdir -p build/logs

  tests:
    override:
      -
        command: 'vendor/bin/phpunit --coverage-clover build/logs/clover.xml'
        coverage:
          file: 'build/logs/clover.xml'
          format: 'clover'

Upgrade to new PHP Analysis
Upgrade to new PHP Analysis

See: https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis
