<commit_before>#!/usr/bin/env php
<?php

if (file_exists(__DIR__.'/vendor/autoload.php')) {
    require __DIR__.'/vendor/autoload.php';
} else {
    require __DIR__.'/../../autoload.php';
}

should_be_compatible();

define('VALET_HOME_PATH', $_SERVER['HOME'].'/.valet');

use Silly\Application;

/**
 * Create the application.
 */
$app = new Application('Laravel Valet', 'v1.0.2');

/**
 * Prune missing directories and symbolic links on every command.
 */
if (is_dir(VALET_HOME_PATH)) {
    Valet\Configuration::prune();
    Valet\Site::pruneLinks();
}

/**
 * Allow Valet to be run more conveniently by allowing the Node proxy to run password-less sudo.
 */
$app->command('install', function ($output) {
    should_be_sudo();

    Valet\LaunchDaemon::install();

    Valet\Configuration::install();

    Valet\DnsMasq::install($output);

    Valet\LaunchDaemon::restart();

    $output->writeln(PHP_EOL.'<info>Valet installed successfully!</info>');
});
<commit_msg>version<commit_after>#!/usr/bin/env php
<?php

if (file_exists(__DIR__.'/vendor/autoload.php')) {
    require __DIR__.'/vendor/autoload.php';
} else {
    require __DIR__.'/../../autoload.php';
}

should_be_compatible();

define('VALET_HOME_PATH', $_SERVER['HOME'].'/.valet');

use Silly\Application;

/**
 * Create the application.
 */
$app = new Application('Laravel Valet', 'v1.0.3');

/**
 * Prune missing directories and symbolic links on every command.
 */
if (is_dir(VALET_HOME_PATH)) {
    Valet\Configuration::prune();
    Valet\Site::pruneLinks();
}

/**
 * Allow Valet to be run more conveniently by allowing the Node proxy to run password-less sudo.
 */
$app->command('install', function ($output) {
    should_be_sudo();

    Valet\LaunchDaemon::install();

    Valet\Configuration::install();

    Valet\DnsMasq::install($output);

    Valet\LaunchDaemon::restart();

    $output->writeln(PHP_EOL.'<info>Valet installed successfully!</info>');
});

{'fraction_non_alphanumeric': 0.17927461139896372, 'fraction_numerical': 0.0031088082901554403, 'mean_word_length': 4.204851752021563, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '1289206', 'n_tokens_mistral': 675, 'n_tokens_neox': 646, 'n_words': 126}