<commit_before><?php
namespace Apps\CronManager\Php;

use Apps\Core\Php\DevTools\AbstractInstall;
use Apps\Core\Php\PackageManager\App;

class Install extends AbstractInstall
{
    protected function run(App $app)
    {
        // Insert permissions
        $permissions = json_decode(file_get_contents(__DIR__ . '/Install/UserPermissions.json'), true);
        $this->createUserPermissions($permissions);

        // Insert roles
        $roles = json_decode(file_get_contents(__DIR__ . '/Install/UserRoles.json'), true);
        $this->createUserRoles($roles);
    }<commit_msg>Updated to reflect new life cycle "events" and package.json dependencies.<commit_after><?php

namespace Apps\CronManager\Php;

use Apps\Core\Php\PackageManager\App;

class Install extends \Apps\Core\Php\DevTools\LifeCycle\Install
{
    public function run(App $app)
    {
        parent::run($app);

        // Insert permissions
        $permissions = json_decode(file_get_contents(__DIR__ . '/Install/UserPermissions.json'), true);
        $this->createUserPermissions($permissions);

        // Insert roles
        $roles = json_decode(file_get_contents(__DIR__ . '/Install/UserRoles.json'), true);
        $this->createUserRoles($roles);
    }
{'fraction_non_alphanumeric': 0.12296416938110749, 'fraction_numerical': 0.0, 'mean_word_length': 3.5350553505535056, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2680567', 'n_tokens_mistral': 369, 'n_tokens_neox': 365, 'n_words': 66}