grumphp:
  tasks:
    php71:
      metadata:
        task: shell
      scripts:
        - ["-c", "tests/php/php_syntax.sh $PHP71_EXEC_PATH"]
    php72:
      metadata:
        task: shell
      scripts:
        - ["-c", "tests/php/php_syntax.sh $PHP72_EXEC_PATH"]
    php73:
      metadata:
        task: shell
      scripts:
        - ["-c", "tests/php/php_syntax.sh $PHP73_EXEC_PATH"]
    php74:
      metadata:
        task: shell
      scripts:
        - ["-c", "tests/php/php_syntax.sh $PHP74_EXEC_PATH"]
    phpcsfixer:
      config: tests/php/.php-cs-fixer.dist.php
    phpstan:
      configuration: tests/php/phpstan.dist.neon
    eslint:
      bin: _dev/node_modules/.bin/eslint
      config: _dev/.eslintrc.js
    header-stamp:
      metadata:
        task: shell
      scripts:
        - [
          "-c",
          'vendor/bin/header-stamp --dry-run 
            --extensions="php,js,css,scss,tpl,html.twig,vue" --exclude="vendor,node_modules" --license="_dev/header-stamp/afl.txt"',
        ]
  fixer:
    fix_by_default: true
  environment:
    files:
      - tests/.env.dist
      - tests/.env

