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

class Php55Yaf < AbstractPhp55Extension
  init
  homepage "https://pecl.php.net/package/yaf"
  url "https://pecl.php.net/get/yaf-2.3.3.tgz"
  sha1 "dc2bf8d875a659b0159abea317b87e4651dc50d9"
  head "https://svn.php.net/repository/pecl/yaf/trunk/"

  depends_on "pcre"

  def install
    Dir.chdir "yaf-#{version}" unless build.head?

    ENV.universal_binary if build.universal?
<commit_msg>php55-yaf: covert from sha1 to sha256<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php55Yaf < AbstractPhp55Extension
  init
  homepage "https://pecl.php.net/package/yaf"
  url "https://pecl.php.net/get/yaf-2.3.3.tgz"
  sha256 "fb59db901008b157d11c255f1a1492ccd02df2e2ab9869aa4f9fa9fc73272298"
  head "https://svn.php.net/repository/pecl/yaf/trunk/"

  depends_on "pcre"

  def install
    Dir.chdir "yaf-#{version}" unless build.head?

    ENV.universal_binary if build.universal?

{'fraction_non_alphanumeric': 0.13806706114398423, 'fraction_numerical': 0.08678500986193294, 'mean_word_length': 4.259067357512953, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '2929664', 'n_tokens_mistral': 454, 'n_tokens_neox': 402, 'n_words': 57}