Completed
Push — master ( 286d1c...6e83ed )
by P.R.
04:21
created

Checkout Config

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

    tests:
      environment:
        mysql: 5.7

      tests:
        before:
          - mysql --version
          - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

        override:
          - command:      './bin/phing unit'
            idle_timeout: 500
            coverage:
              file:   'test/coverage.xml'
              format: 'php-clover'

Global Config

filter:
  excluded_paths:
    - 'test/*'
checks:
    javascript: true
    php: true

coding_style:
  php:
    indentation:
      general:
        size: 2
    spaces:
      around_operators:
        equality: false
    braces:
      classes_functions:
        class:    new-line
        function: new-line
        closure:  new-line
      if:
        opening:          new-line
        always:           false
        else_on_new_line: true
      for:
        opening: new-line
        always:  false
      while:
        opening: new-line
        always:  false
      do_while:
        opening:           new-line
        always:            false
        while_on_new_line: true
      switch:
        opening: new-line
      try:
        opening:             new-line
        catch_on_new_line:   true
        finally_on_new_line: true
    upper_lower_casing:
      keywords:
        general: lower
      constants:
        true_false_null: lower
build:
  nodes:
    tests: true
    analysis:
      dependencies:
        after:
          - 'composer require --dev "squizlabs/php_codesniffer=3.5.4"'
      tests:
        override:
          - php-scrutinizer-run
          - command:            'phpcs-run'
            use_website_config: true