<commit_before><?php

namespace NUSWhispers\Providers;

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

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        'NUSWhispers\Events\ConfessionWasCreated' => [
            'NUSWhispers\Listeners\SyncConfessionTags',
        ],
        'NUSWhispers\Events\ConfessionWasUpdated' => [
            'NUSWhispers\Listeners\SyncConfessionTags',
        ],
        'NUSWhispers\Events\ConfessionWasDeleted' => [
            'NUSWhispers\Listeners\DeleteConfessionFromFacebook',
        ],
        'NUSWhispers\Events\ConfessionStatusWasChanged' => [
            'NUSWhispers\Listeners\FlushConfessionQueue',
            'NUSWhispers\Listeners\LogConfessionStatusChange',
        ],
        'NUSWhispers\Events\ConfessionWasApproved' => [
            'NUSWhispers\Listeners\PostConfessionToFacebook',
        ],
        'NUSWhispers\Events\ConfessionWasFeatured' => [
            'NUSWhispers\Listeners\PostConfessionToFacebook',
        ],
        'NUSWhispers\Events\ConfessionWasRejected' => [
            'NUSWhispers\Listeners\DeleteConfessionFromFacebook',
        ],
    ];

    /**
     * Register any events for your application.
     *
     * @return void
     */<commit_msg>Fix filter confession listener not triggering<commit_after><?php

namespace NUSWhispers\Providers;

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

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        'NUSWhispers\Events\ConfessionWasCreated' => [
            'NUSWhispers\Listeners\SyncConfessionTags',
            'NUSWhispers\Listeners\FilterConfessionViaWordBlacklist',
        ],
        'NUSWhispers\Events\ConfessionWasUpdated' => [
            'NUSWhispers\Listeners\SyncConfessionTags',
        ],
        'NUSWhispers\Events\ConfessionWasDeleted' => [
            'NUSWhispers\Listeners\DeleteConfessionFromFacebook',
        ],
        'NUSWhispers\Events\ConfessionStatusWasChanged' => [
            'NUSWhispers\Listeners\FlushConfessionQueue',
            'NUSWhispers\Listeners\LogConfessionStatusChange',
        ],
        'NUSWhispers\Events\ConfessionWasApproved' => [
            'NUSWhispers\Listeners\PostConfessionToFacebook',
        ],
        'NUSWhispers\Events\ConfessionWasFeatured' => [
            'NUSWhispers\Listeners\PostConfessionToFacebook',
        ],
        'NUSWhispers\Events\ConfessionWasRejected' => [
            'NUSWhispers\Listeners\DeleteConfessionFromFacebook',
        ],
    ];

    /**
     * Register any events for your application.
     *
     * @return void
     */
{'fraction_non_alphanumeric': 0.09965277777777778, 'fraction_numerical': 0.0, 'mean_word_length': 2.614805520702635, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2633732', 'n_tokens_mistral': 836, 'n_tokens_neox': 844, 'n_words': 96}