<commit_before>---
- name: install taps
  homebrew_tap: tap={{ item }} state=present
  with_items:
    - homebrew/dupes
    - homebrew/homebrew-php
    - homebrew/versions

- name: install brews
  homebrew: name={{ item }} state=present install_options={{ "with-apache" if not lookup("env", "CI") else "" }}
  ignore_errors: yes
  with_items:
    - php56
    - php56-intl
    - php56-xdebug
    - composer
  notify: restart apache

- name: configure PHP
  template: src=templates/php.ini.j2 dest=/usr/local/etc/php/5.6/conf.d/php.ini
  become: yes
  notify: restart apache
  tags:
     - configuration<commit_msg>Fix with-httpd for PHP installation<commit_after>---
- name: install taps
  homebrew_tap: tap={{ item }} state=present
  with_items:
    - homebrew/dupes
    - homebrew/homebrew-php
    - homebrew/versions

- name: install brews
  homebrew: name={{ item }} state=present install_options={{ "with-httpd" if not lookup("env", "CI") else "" }}
  ignore_errors: yes
  with_items:
    - php56
    - php56-intl
    - php56-xdebug
    - composer
  notify: restart apache

- name: configure PHP
  template: src=templates/php.ini.j2 dest=/usr/local/etc/php/5.6/conf.d/php.ini
  become: yes
  notify: restart apache
  tags:
     - configuration
{'fraction_non_alphanumeric': 0.12910986367281477, 'fraction_numerical': 0.014434643143544507, 'mean_word_length': 3.0258064516129033, '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': '3186222', 'n_tokens_mistral': 443, 'n_tokens_neox': 428, 'n_words': 101}