<commit_before><?php
/**
 * Created by PhpStorm.
 * @author calmacil
 *
 * This file is a part of the Mf project. All rights reserved.
 */

namespace Mf;


use Composer\Script\Event;

class InstallScript
{
    public static function postInstall(Event $event)
    {
        echo "Ça marche mon gros roudoudou\n";
    }
}<commit_msg>Added some actions in install script<commit_after><?php
/**
 * Created by PhpStorm.
 * @author calmacil
 *
 * This file is a part of the Mf project. All rights reserved.
 */

namespace Mf;


use Composer\Script\Event;

class InstallScript
{
    public static function postInstall(Event $event)
    {
        $dirs = array(
            "cache",
            "config",
            "logs",
            "templates",
            "web",
        );

        foreach ($dirs as $dir) {
            if (!file_exists($dir))
                mkdir($dir, 0755);
        }
    }
}
{'fraction_non_alphanumeric': 0.1106145251396648, 'fraction_numerical': 0.004469273743016759, 'mean_word_length': 2.0580204778157, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4700665', 'n_tokens_mistral': 283, 'n_tokens_neox': 276, 'n_words': 84}