<commit_before><?php

use App\Auth\Exception\AccountNotFound;
use App\EventListener\Auth\Exception\PermissionDenied;

return [
    'displayErrors' => true,
    'enableReporters' => [ 'Html' ],

    'reporters' => [
        'Html' => [
            'class' => 'App\\ErrorReporter\\Html',
            'view' => 'App\\ViewEngine\\TwigView',
            'path' => __DIR__ . '/../view/error/',
            'file' => 'exception',
            'postfix' => '.twig',

            'displayExceptionInfo' => true,
            'displayFileInfo' => true,
            'displayStackTrace' => true,
            'displayErrorSourceLines' => true,

            'settings' => []
        ]
    ],

    'errorCodes' => [
        AccountNotFound::class => 403,
        PermissionDenied::class => 403,
    ]
];<commit_msg>[Closed #80] Change 404 HTTP status code when raise RoutePathNotFound exception<commit_after><?php

use App\Auth\Exception\AccountNotFound;
use App\EventListener\Auth\Exception\PermissionDenied;
use Prob\Router\Exception\RoutePathNotFound;

return [
    'displayErrors' => true,
    'enableReporters' => [ 'Html' ],

    'reporters' => [
        'Html' => [
            'class' => 'App\\ErrorReporter\\Html',
            'view' => 'App\\ViewEngine\\TwigView',
            'path' => __DIR__ . '/../view/error/',
            'file' => 'exception',
            'postfix' => '.twig',

            'displayExceptionInfo' => true,
            'displayFileInfo' => true,
            'displayStackTrace' => true,
            'displayErrorSourceLines' => true,

            'settings' => []
        ]
    ],

    'errorCodes' => [
        RoutePathNotFound::class => 404,
        AccountNotFound::class => 403,
        PermissionDenied::class => 403,
    ]
];
{'fraction_non_alphanumeric': 0.16361556064073227, 'fraction_numerical': 0.011441647597254004, 'mean_word_length': 2.0846560846560847, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, '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': '4354050', 'n_tokens_mistral': 529, 'n_tokens_neox': 506, 'n_words': 88}