<commit_before>@test "php is the correct version" {
  run docker run smizy/php:${TAG} php -v
  [ $status -eq 0 ]
  [ "${lines[0]:0:5}" = "PHP 5" ]
}

@test "xdebug flag is correctly set" {
  run docker run -e XDEBUG_REMOTE=1 -e XDEBUG_PROFILER=1 smizy/php:${TAG} sh -c "php -i | grep xdebug.remote_enable"
  echo "${output}"  

  [ $status -eq 0 ]
  [ "${lines[0]}" = "xdebug.remote_enable => On => On" ]
}<commit_msg>check VERSION variable<commit_after>@test "php is the correct version" {
  run docker run smizy/php:${TAG} php -v
  [ $status -eq 0 ]
  [ "${lines[0]:0:5}" = "PHP ${VERSION}" ]
}

@test "xdebug flag is correctly set" {
  run docker run -e XDEBUG_REMOTE=1 -e XDEBUG_PROFILER=1 smizy/php:${TAG} sh -c "php -i | grep xdebug.remote_enable"
  echo "${output}"  

  [ $status -eq 0 ]
  [ "${lines[0]}" = "xdebug.remote_enable => On => On" ]
}
{'fraction_non_alphanumeric': 0.18618266978922718, 'fraction_numerical': 0.01990632318501171, 'mean_word_length': 3.572192513368984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3469411', 'n_tokens_mistral': 356, 'n_tokens_neox': 340, 'n_words': 96}