<commit_before>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php55SplTypes < AbstractPhp55Extension
  init
  homepage "https://pecl.php.net/package/SPL_Types"
  url "https://pecl.php.net/get/SPL_Types-0.4.0.tgz"
  sha256 "b44101401b2664822fd17e6f491d912203496108ff9d0b86b043bff67c5f724f"

  def install
    Dir.chdir "SPL_Types-#{version}"
<commit_msg>php55-spl-types: add 0.4.0 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php55SplTypes < AbstractPhp55Extension
  init
  homepage "https://pecl.php.net/package/SPL_Types"
  url "https://pecl.php.net/get/SPL_Types-0.4.0.tgz"
  sha256 "b44101401b2664822fd17e6f491d912203496108ff9d0b86b043bff67c5f724f"

  bottle do
    cellar :any_skip_relocation
    sha256 "f33b4049c4e032dfc3e2eab93fc7c0fbf3570bced50f4a7924fe40a168d1aba2" => :el_capitan
    sha256 "d2cf616b7444f975dc0f22d78f48415592784d37cecfea68bbc167b46a5dadfd" => :yosemite
    sha256 "b46c05419cdc25fb7a079a4b8ce760c0bff2582d152238d19b9e0bb3bbd6ea5c" => :mavericks
  end

  def install
    Dir.chdir "SPL_Types-#{version}"

{'fraction_non_alphanumeric': 0.108348134991119, 'fraction_numerical': 0.2069271758436945, 'mean_word_length': 5.590643274853801, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 4, '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': '2942370', 'n_tokens_mistral': 619, 'n_tokens_neox': 503, 'n_words': 51}