CodeIgniter4/phpstan.neon.dist

46 lines
1.1 KiB
Plaintext
Raw Normal View History

includes:
- utils/phpstan-baseline/loader.neon
parameters:
phpVersion: 80100
tmpDir: build/phpstan
2023-07-17 16:46:27 +08:00
level: 6
bootstrapFiles:
- phpstan-bootstrap.php
paths:
- admin/starter/tests
- app
- system
2024-03-21 13:11:49 +09:00
- tests
2021-11-01 15:56:01 +07:00
excludePaths:
- app/Views/errors/cli/*
- app/Views/errors/html/*
- system/Commands/Generators/Views/*
- 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
2024-03-21 13:11:49 +09:00
- tests/system/View/Views/*
scanDirectories:
- system/Helpers
2024-05-14 01:01:39 +08:00
ignoreErrors:
-
identifier: missingType.generics
2023-07-17 16:46:27 +08:00
checkMissingCallableSignature: true
treatPhpDocTypesAsCertain: false
2023-09-09 17:48:01 +09:00
strictRules:
allRules: false
disallowedLooseComparison: true
2023-09-15 08:51:56 +09:00
booleansInConditions: true
disallowedBacktick: true
disallowedEmpty: true
disallowedImplicitArrayCreation: true
disallowedShortTernary: true
matchingInheritedMethodNames: true
codeigniter:
additionalServices:
- AfterAutoloadModule\Config\Services
shipmonkBaselinePerIdentifier:
directory: %currentWorkingDirectory%