CodeIgniter4/phpstan.neon.dist

41 lines
892 B
Plaintext
Raw Normal View History

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
scanDirectories:
- system/Helpers
dynamicConstantNames:
- APP_NAMESPACE
- CI_DEBUG
- ENVIRONMENT