<commit_before>#!/usr/bin/env php
<?php
namespace MkPackage;

require_once 'PEAR/PackageFileManager2.php';
require_once 'symfony/yaml/sfYaml.php';

\PEAR::setErrorHandling(PEAR_ERROR_DIE);
date_default_timezone_set('UTC');

define('PACAGE_XML', __DIR__ . '/package.xml');
define('PACAGE_YML', __DIR__ . '/package.yml');

if ($argc > 1 && $argv[1] === 'make') {
    $debug = false;
} else {
    $debug = true;
}
main($debug);

// {{{ main()

/**
 * Create package.xml
 *
 * @param   boolean $debug
 * @return  void
 */
function main($debug = true)
{
    if (file_exists(PACAGE_XML)) {
        fputs(STDOUT, 'ignore existing package.xml? [y/N]: ');
        $noChangeLog = (0 === strncasecmp(trim(fgets(STDIN)), 'y', 1));
    } else {
        $noChangeLog = false;<commit_msg>[php] Changed to use SymfonyComponents/YAML/sfYaml.php.<commit_after>#!/usr/bin/env php
<?php
namespace MkPackage;

require_once 'PEAR/PackageFileManager2.php';
require_once 'SymfonyComponents/YAML/sfYaml.php';

\PEAR::setErrorHandling(PEAR_ERROR_DIE);
date_default_timezone_set('UTC');

define('PACAGE_XML', __DIR__ . '/package.xml');
define('PACAGE_YML', __DIR__ . '/package.yml');

if ($argc > 1 && $argv[1] === 'make') {
    $debug = false;
} else {
    $debug = true;
}
main($debug);

// {{{ main()

/**
 * Create package.xml
 *
 * @param   boolean $debug
 * @return  void
 */
function main($debug = true)
{
    if (file_exists(PACAGE_XML)) {
        fputs(STDOUT, 'ignore existing package.xml? [y/N]: ');
        $noChangeLog = (0 === strncasecmp(trim(fgets(STDIN)), 'y', 1));
    } else {
        $noChangeLog = false;
{'fraction_non_alphanumeric': 0.18898623279098872, 'fraction_numerical': 0.006257822277847309, 'mean_word_length': 3.9504643962848296, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '5474451', 'n_tokens_mistral': 623, 'n_tokens_neox': 606, 'n_words': 111}