Passed
Push — master ( 0dfcce...5ed5da )
by Paul
02:55
created

Checkout Config

filter:
  excluded_paths:
    - assets/
    - languages/
    - node_modules/
    - tests/
    - vendor/
    - wordpress/
    - gulpfile.js

build:
  nodes:
    analysis:
      cache:
        disabled: false
        directories:
          - ~/.composer/cache
      dependencies:
        before:
          - composer require --dev johnpbloch/wordpress
      environment:
        elasticsearch: false
        memcached: false
        mongodb: false
        neo4j: false
        node: false
        php: '7.2.0'
        postgresql: false
        rabbitmq: false
        redis: false
      tests:
        override:
          - php-scrutinizer-run --enable-security-analysis

tools:
  php_code_sniffer:
    config:
      standard: WordPress
  sensiolabs_security_checker: true

checks:
  php:
    no_exit: false
    simplify_boolean_return: true
    check_method_contracts:
      verify_interface_like_constraints: true
      verify_documented_constraints: true
      verify_parent_constraints: true
    return_doc_comments: true
    return_doc_comment_if_not_inferrable: true

coding_style:
  php:
    indentation:
      general:
        use_tabs: true
    spaces:
      before_parentheses:
        if: false
        for: false
        while: false
        switch: false
        catch: false
      around_operators:
        concatenation: true
      within:
        brackets: true
        array_initializer: true
        grouping: true
        function_call: true
        function_declaration: true
        if: true
        for: true
        while: true
        switch: true
        catch: true
    braces:
      classes_functions:
        class: new-line
        function: new-line
        closure: new-line
      if:
        else_on_new_line: true
      do_while:
        while_on_new_line: true
      try:
        catch_on_new_line: true
        finally_on_new_line: true
    upper_lower_casing:
      keywords:
        general: lower
      constants:
        true_false_null: lower

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
            environment:
                node:
                    version: 6.0.0
checks:
    php: true
    javascript: true
coding_style:
    php:
        indentation:
            general:
                use_tabs: true
        spaces:
            around_operators:
                bitwise: false
filter: {  }