Completed
Push — master ( 85924c...e4d1e5 )
by Christopher
11:51
created

Repository Config

checks:
    php:
        code_rating: true
        remove_extra_empty_lines: true
        remove_php_closing_tag: true
        remove_trailing_whitespace: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: true
            order_alphabetically: true
        fix_php_opening_tag: true
        fix_linefeed: true
        fix_line_ending: true
        fix_identation_4spaces: true
        fix_doc_comments: true
tools:
    php_analyzer: true
    php_analyzer:
        filter:
            paths: ["src/*", "tests/*"]
    php_code_coverage:
        enable: true
        filter:
            paths: ["src/*", "tests/*"]
    external_code_coverage: true
    # Analyzes the size and structure of a PHP project.
    php_loc:
        enabled: true
        excluded_dirs: ["vendor", "tests"]
    # Copy/Paste Detector
    php_cpd:
        enabled: true
        excluded_dirs: ["vendor", "tests"]
    # PHP Mess Detector (http://phpmd.org).
    php_mess_detector:
        enabled: true
        config:
            rulesets:
                - codesize
                - unusedcode
                - naming
                - design
            naming_rules:
                short_variable: { minimum: 2 }
        filter:
            excluded_paths:
                - 'tests/*'
                - 'vendor/*'
    # Analyzes the size and structure of a PHP project.
    php_pdepend:
        enabled: true
        excluded_dirs: ["vendor", "tests"]
    php_hhvm:
        enabled: true
        filter:
            paths: ["src/*", "tests/*"]
    # Security Advisory Checker
    sensiolabs_security_checker: true