<commit_before>inherit: true

build:
    project_setup:
    tests:
        override:
            - ./vendor/bin/phpspec run --format=dot
            - ./vendor/bin/phpunit

filter:
    paths: [src/*]
    excluded_paths:
        - Tests/*
        - Spec/*

build_failure_conditions:
    - 'elements.rating(<= B).new.exists'
    - 'issues.label("coding-style").new.exists'
    - 'issues.severity(>= MAJOR).new.exists'

checks:
    php:
        code_rating: true
        duplication: true<commit_msg>Enable PHP tools<commit_after>inherit: true

build:
    project_setup:
    tests:
        override:
            - ./vendor/bin/phpspec run --format=dot
            - ./vendor/bin/phpunit

filter:
    paths: [src/*]
    excluded_paths:
        - Tests/*
        - Spec/*

build_failure_conditions:
    - 'elements.rating(<= B).new.exists'
    - 'issues.label("coding-style").new.exists'
    - 'issues.severity(>= MAJOR).new.exists'

checks:
    php:
        code_rating: true
        duplication: true

tools:
    php_code_sniffer: { config: { standard: psr2 } }
    php_cs_fixer: { config: { level: psr2 } }
    external_code_coverage: false
    php_code_coverage: false
    php_changetracking: true
    php_sim: true
    php_mess_detector: true
    php_pdepend: true
    php_analyzer: true
    sensiolabs_security_checker: true
{'fraction_non_alphanumeric': 0.1230188679245283, 'fraction_numerical': 0.0015094339622641509, 'mean_word_length': 2.274074074074074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3776993', 'n_tokens_mistral': 462, 'n_tokens_neox': 445, 'n_words': 82}