<commit_before>#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"

code=0
commands=(
#    validate-composer
#    validate-composer-security
#    validate-behat-features
#    validate-doctrine-schema
#    validate-twig
#    validate-yarn-packages
#    test-phpspec
#    test-phpunit
#    test-fixtures
#    test-behat-without-javascript
    test-behat-with-javascript
#    test-behat-with-cli
)

for command in ${commands[@]}; do
    "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/script/${command}" || code=$?
done

exit ${code}<commit_msg>Reenable all tests<commit_after>#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"

code=0
commands=(
    validate-composer
    validate-composer-security
    validate-behat-features
    validate-doctrine-schema
    validate-twig
    validate-yarn-packages
    test-phpspec
    test-phpunit
    test-fixtures
    test-behat-without-javascript
    test-behat-with-javascript
    test-behat-with-cli
)

for command in ${commands[@]}; do
    "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/script/${command}" || code=$?
done

exit ${code}
{'fraction_non_alphanumeric': 0.18728813559322033, 'fraction_numerical': 0.005084745762711864, 'mean_word_length': 3.390334572490706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5511925', 'n_tokens_mistral': 423, 'n_tokens_neox': 411, 'n_words': 69}