filter:
    excluded_paths:
        - 'tests/*'
checks:
    php:
        overriding_parameter: false
        check_method_contracts:
            verify_interface_like_constraints: true
            verify_documented_constraints: true
            verify_parent_constraints: true
        remove_extra_empty_lines: true
        properties_in_camelcaps: true
        simplify_boolean_return: true
        no_short_variable_names:
            minimum: '3'
        no_short_method_names:
            minimum: '3'
        no_long_variable_names:
            maximum: '20'
        no_goto: true
build:
    cache:
        directories:
            - vendor/  # Without prefix, the path is relative to your repository root.
            - ~/.npm/
    environment:
        php:
            version: 7.0.20
        node:
            version: 10.0
    nodes:
        analysis:
            tests:
                override:
                    -
                        command: phpcs-run
                        use_website_config: true
                    - php-scrutinizer-run