<commit_before><?php namespace App\Providers;

use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    protected $listen = [
        'eloquent.saved: App\City' => ['App\Listeners\ForgetTripsCache'],
        'eloquent.deleted: App\Photo' => ['App\Listeners\DeletePhotoFiles'],
        'eloquent.saved: App\Trip' => [
            'App\Listeners\ToggleTripPhotosStatus',
            'App\Listeners\ForgetTripsCache',
        ],
        'eloquent.updated: App\Trip' => ['App\Listeners\TripPhotosSlugPrefixUpdate'],

        'App\Events\DomainWhoisUpdated' => ['App\Listeners\EmailWhoisChanges'],

        'Illuminate\Auth\Events\Login' => [
            'App\Listeners\UserEmptySalt',
            'App\Listeners\LogUserLogin',
        ],

        'Ivacuum\Generic\Events\LimitExceeded' => [
            'Ivacuum\Generic\Listeners\TelegramLimitExceeded',
        ],
    ];
}
<commit_msg>Удаление кэша городов при удалении города<commit_after><?php namespace App\Providers;

use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    protected $listen = [
        'eloquent.saved: App\City' => ['App\Listeners\ForgetTripsCache'],
        'eloquent.deleted: App\City' => ['App\Listeners\ForgetTripsCache'],
        'eloquent.deleted: App\Photo' => ['App\Listeners\DeletePhotoFiles'],
        'eloquent.saved: App\Trip' => [
            'App\Listeners\ToggleTripPhotosStatus',
            'App\Listeners\ForgetTripsCache',
        ],
        'eloquent.updated: App\Trip' => ['App\Listeners\TripPhotosSlugPrefixUpdate'],

        'App\Events\DomainWhoisUpdated' => ['App\Listeners\EmailWhoisChanges'],

        'Illuminate\Auth\Events\Login' => [
            'App\Listeners\UserEmptySalt',
            'App\Listeners\LogUserLogin',
        ],

        'Ivacuum\Generic\Events\LimitExceeded' => [
            'Ivacuum\Generic\Listeners\TelegramLimitExceeded',
        ],
    ];
}

{'fraction_non_alphanumeric': 0.13431372549019607, 'fraction_numerical': 0.0, 'mean_word_length': 3.0019607843137255, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, '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': '2873207', 'n_tokens_mistral': 613, 'n_tokens_neox': 627, 'n_words': 74}