/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
phpstan.dist.neon
39 строк
2 KB
Nicolas Grekas
feature #64766 [ErrorHandler] Redesign the exception page (javiereguiluz)
07 авг 2026, 16:48
07 авг 2026, 16:48
7196468
Код
Авторство
О чём код?
includes: - vendor/phpstan/phpstan-deprecation-rules/rules.neon - .github/sa-tools/rules.neon parameters: level: 5 reportUnmatchedIgnoredErrors: false treatPhpDocTypesAsCertain: false tmpDir: .github/sa-tools/phpstan-cache paths: - src excludePaths: - src/Symfony/*/Tests/* - src/Symfony/*/*/Tests/* - src/Symfony/*/*/*/Tests/* - src/Symfony/*/*/*/*/Tests/* - src/Symfony/Component/Intl/Resources/data/* - src/Symfony/Component/Emoji/Resources/data/* # these templates are include()'d in HtmlErrorRenderer's scope, so they can't be analyzed standalone - src/Symfony/Component/ErrorHandler/Resources/views/* ignoreErrors: # Added in PHP 8.4 - '#^Class BcMath\\Number not found\.$#' # DeferredBatchMessage::$acked aliases a bool that batch handlers flip during dispatch() - message: '#^If condition is always false\.$#' path: src/Symfony/Component/Messenger/Worker.php - message: '#^Negated boolean expression is always true\.$#' path: src/Symfony/Component/Messenger/Worker.php # @implements binds the transformer to one class, but the generated code calls transform() # with whatever the property holds, so each guard is reachable - message: '#^Instanceof between .+ and .+ will always evaluate to true\.$#' path: src/Symfony/Component/JsonStreamer/Transformer/*ValueObjectTransformer.php # private helpers are called from the .html.php templates, which run in the renderer's scope via include() - message: '#^Method Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer\:\:\w+\(\) is unused\.$#' path: src/Symfony/Component/ErrorHandler/ErrorRenderer/HtmlErrorRenderer.php