<commit_before>filter:
    excluded_paths:
        - tests/*
build:
    environment:
        php: 7.0
    cache:
        disabled:             false
        directories:
            - ~/.composer/cache
            - tmp/
            - vendor/
    dependencies:
        override:
            - composer self-update
            - composer update --with-dependencies -v -o
    tests:
        override:
            - jshint-run $(ls public_html/js/*.js)
            - shellcheck-run -s bash $(ls scripts/*/*.sh)
            - csslint-run --exclude-list=public_html/css/domains.css,public_html/css/minified,public_html/css/reset.css,public_html/css/price_win.css public_html/css
            -
                command: 'vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
                #command: 'phpdbg -qrr vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
                coverage:
                    file: 'coverage.xml'
                    format: 'clover'
checks:
    php:
        uppercase_constants: true
        return_doc_comment_if_not_inferrable: true
        return_doc_comments: true
        remove_extra_empty_lines: true
        phpunit_assertions: true
        avoid_fixme_comments: true
        param_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true<commit_msg>updates commenting out some of the linting<commit_after>filter:
    excluded_paths:
        - tests/*
build:
    environment:
        php: 7.0
    cache:
        disabled:             false
        directories:
            - ~/.composer/cache
            - tmp/
            - vendor/
    dependencies:
        override:
            - composer self-update
            - composer update --with-dependencies -v -o
    tests:
        override:
            #- jshint-run $(ls public_html/js/*.js)
            #- shellcheck-run -s bash $(ls scripts/*/*.sh)
            #- csslint-run --exclude-list=public_html/css/domains.css,public_html/css/minified,public_html/css/reset.css,public_html/css/price_win.css public_html/css
            -
                command: 'vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
                #command: 'phpdbg -qrr vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
                coverage:
                    file: 'coverage.xml'
                    format: 'clover'
checks:
    php:
        duplication: true
        uppercase_constants: true
        return_doc_comment_if_not_inferrable: true
        return_doc_comments: true
        remove_extra_empty_lines: true
        phpunit_assertions: true
        avoid_fixme_comments: true
        param_doc_comment_if_not_inferrable: true
        parameter_doc_comments: true
{'fraction_non_alphanumeric': 0.09398756046993781, 'fraction_numerical': 0.00138217000691085, 'mean_word_length': 1.770334928229665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2830902', 'n_tokens_mistral': 856, 'n_tokens_neox': 828, 'n_words': 169}