---
# inherit the next configuration down the chain (see above for the order)
inherit: true
filter:
  paths: ["src/"]

imports:
  - php
build:
  environment:
    php: '5.6.16'
tools:
  php_mess_detector:
    config:
       ruleset: 'phpmd.xml'
checks:
  php_code_sniffer:
    filter:
      excluded-paths: [ spec/*, examples/* ]
    config:
      ruleset_path: 'phpcs.xml'

  php_analyzer:
    filter:
      excluded-paths: [ 'spec/*', 'examples/*' ]

  php_sim:
    filter:
      excluded-paths: [ 'spec/*', 'examples/*' ]

build_failure_conditions:
    - 'issues.label("coding-style").new.exists'

filter:
  paths: [ src/* ]
  excluded_paths:
    - docs/*
    - vendor/*

---
# inherit the next configuration down the chain (see above for the order)
inherit: true
filter:
  paths: ["src/"]

imports:
  - php
build:
  environment:
    php:
      version: 7.0
tools:
  php_mess_detector:
    config:
       ruleset: 'phpmd.xml'
checks:
  php_code_sniffer:
    filter:
      excluded-paths: [ spec/*, examples/* ]
    config:
      ruleset_path: 'phpcs.xml'

  php_analyzer:
    filter:
      excluded-paths: [ 'spec/*', 'examples/*' ]

  php_sim:
    filter:
      excluded-paths: [ 'spec/*', 'examples/*' ]

build_failure_conditions:
    - 'issues.label("coding-style").new.exists'

filter:
  paths: [ src/* ]
  excluded_paths:
    - docs/*
    - vendor/*

Bump default php to 7.0 in scrut
Bump default php to 7.0 in scrut
