mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
* refactor: split phpstan-baseline into smaller files * Checkout base branch to resolve codeigniter4/framework * Fix rector changes
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
includes:
|
|
- utils/phpstan-baseline/loader.neon
|
|
|
|
parameters:
|
|
phpVersion: 80100
|
|
tmpDir: build/phpstan
|
|
level: 6
|
|
bootstrapFiles:
|
|
- phpstan-bootstrap.php
|
|
paths:
|
|
- admin/starter/tests
|
|
- app
|
|
- system
|
|
- tests
|
|
excludePaths:
|
|
- app/Views/errors/cli/*
|
|
- app/Views/errors/html/*
|
|
- system/Commands/Generators/Views/*
|
|
- system/Debug/Toolbar/Views/toolbar.tpl.php
|
|
- system/Images/Handlers/GDHandler.php
|
|
- system/Test/Filters/CITestStreamFilter.php
|
|
- system/ThirdParty/*
|
|
- system/Validation/Views/single.php
|
|
- tests/system/View/Views/*
|
|
scanDirectories:
|
|
- system/Helpers
|
|
ignoreErrors:
|
|
-
|
|
identifier: missingType.generics
|
|
checkMissingCallableSignature: true
|
|
treatPhpDocTypesAsCertain: false
|
|
strictRules:
|
|
allRules: false
|
|
disallowedLooseComparison: true
|
|
booleansInConditions: true
|
|
disallowedBacktick: true
|
|
disallowedEmpty: true
|
|
disallowedImplicitArrayCreation: true
|
|
disallowedShortTernary: true
|
|
matchingInheritedMethodNames: true
|
|
shipmonkBaselinePerIdentifier:
|
|
directory: %currentWorkingDirectory%
|