2021-12-13 15:05:13 +08:00
|
|
|
includes:
|
2024-12-15 08:38:40 +08:00
|
|
|
- utils/phpstan-baseline/loader.neon
|
2021-12-13 15:05:13 +08:00
|
|
|
|
2020-08-13 17:15:33 +07:00
|
|
|
parameters:
|
2022-10-12 08:14:06 +09:00
|
|
|
phpVersion: 80100
|
2020-09-20 10:09:29 -04:00
|
|
|
tmpDir: build/phpstan
|
2023-07-17 16:46:27 +08:00
|
|
|
level: 6
|
|
|
|
bootstrapFiles:
|
|
|
|
- phpstan-bootstrap.php
|
2020-09-20 10:09:29 -04:00
|
|
|
paths:
|
2024-03-21 11:32:25 +09:00
|
|
|
- admin/starter/tests
|
2020-09-20 10:09:29 -04:00
|
|
|
- app
|
|
|
|
- system
|
2024-03-21 13:11:49 +09:00
|
|
|
- tests
|
2021-11-01 15:56:01 +07:00
|
|
|
excludePaths:
|
2020-09-20 10:09:29 -04:00
|
|
|
- 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
|
2020-09-20 10:09:29 -04:00
|
|
|
- system/ThirdParty/*
|
|
|
|
- system/Validation/Views/single.php
|
2024-03-21 13:11:49 +09:00
|
|
|
- tests/system/View/Views/*
|
2020-09-20 10:09:29 -04:00
|
|
|
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
|
2023-09-15 08:45:54 +09:00
|
|
|
disallowedLooseComparison: true
|
2023-09-15 08:51:56 +09:00
|
|
|
booleansInConditions: true
|
2024-12-15 08:38:40 +08:00
|
|
|
disallowedBacktick: true
|
|
|
|
disallowedEmpty: true
|
|
|
|
disallowedImplicitArrayCreation: true
|
|
|
|
disallowedShortTernary: true
|
2023-09-12 08:30:42 +09:00
|
|
|
matchingInheritedMethodNames: true
|
2024-05-15 12:24:30 -04:00
|
|
|
codeigniter:
|
|
|
|
additionalServices:
|
|
|
|
- AfterAutoloadModule\Config\Services
|
2024-12-15 08:38:40 +08:00
|
|
|
shipmonkBaselinePerIdentifier:
|
|
|
|
directory: %currentWorkingDirectory%
|