CodeIgniter4/phpstan.neon.dist

48 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-04-15 20:36:37 +07:00
conditionalTags:
PhpParser\NodeVisitor\NodeConnectingVisitor:
phpstan.parser.richParserNodeVisitor: true
services:
-
class: Utils\PHPStan\CheckUseStatementsAfterLicenseRule
tags:
- phpstan.rules.rule
-
class: Utils\PHPStan\CheckFrameworkExceptionInstantiationViaNamedConstructorRule
tags:
- phpstan.rules.rule
includes:
- phpstan-baseline.neon.dist
parameters:
phpVersion: 80100
tmpDir: build/phpstan
level: 5
paths:
- app
- system
- utils/PHPStan
treatPhpDocTypesAsCertain: false
bootstrapFiles:
- phpstan-bootstrap.php
2021-11-01 15:56:01 +07:00
excludePaths:
- app/Views/errors/cli/*
- app/Views/errors/html/*
- system/Commands/Generators/Views/*
- system/Config/Routes.php
- system/Debug/Toolbar/Views/toolbar.tpl.php
2020-11-27 14:59:14 +00:00
- system/Images/Handlers/GDHandler.php
2021-01-05 15:55:11 +00:00
- system/Test/Filters/CITestStreamFilter.php
- system/ThirdParty/*
- system/Validation/Views/single.php
parallel:
processTimeout: 300.0
scanDirectories:
- system/Helpers
dynamicConstantNames:
- APP_NAMESPACE
- CI_DEBUG
- ENVIRONMENT
2020-09-25 16:56:44 +08:00
- SODIUM_LIBRARY_VERSION