Passed
Push — develop ( 64261a...779495 )
by Reüel
04:25
created

Checkout Config

filter:
  excluded_paths:
    # Exclude `assets` folder, it only contains external libraries.
    - 'assets/*'
    # Exclude the external `xmlseclibs.php` library.
    - 'includes/xmlseclibs/*'
    # Exclude the `js` folder, it is a copy of `src/js`.
    - 'js/*'
    # Exclude minified JavaScript files.
    - '*.min.js'

checks:
  php:
    coding_standard:
      name: WordPress
    code_rating: true
    duplication: true

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: false
                    -
                        command: jshint-run
                        use_website_config: false
            environment:
                node:
                    version: 6.0.0
filter:
    excluded_paths:
        - 'tests/*'
        - '*.min.js'
checks:
    php:
        fix_php_opening_tag: false
        remove_php_closing_tag: false
        no_mixed_inline_html: false
        require_braces_around_control_structures: false
        psr2_control_structure_declaration: false
        avoid_superglobals: false
        security_vulnerabilities: false
        no_exit: false
        avoid_closing_tag: false
    javascript: true