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

class Php70Msgpack < AbstractPhp70Extension
  init
  desc "MessagePack serialization"
  homepage "https://pecl.php.net/package/msgpack"
  head "https://github.com/msgpack/msgpack-php.git", :branch => "php7"

  def install
    Dir.chdir "msgpack-#{version}" unless build.head?
<commit_msg>Update php70-msgpack.rb<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php70Msgpack < AbstractPhp70Extension
  init
  desc "MessagePack serialization"
  homepage "https://pecl.php.net/package/msgpack"
  head "https://github.com/msgpack/msgpack-php.git", :branch => "master"

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

{'fraction_non_alphanumeric': 0.14507772020725387, 'fraction_numerical': 0.014248704663212436, 'mean_word_length': 4.6838235294117645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5595744', 'n_tokens_mistral': 259, 'n_tokens_neox': 252, 'n_words': 45}