forked from hauptsacheNet/typo3-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
27 lines (26 loc) · 1.22 KB
/
Copy pathphpstan.neon
File metadata and controls
27 lines (26 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
includes:
- phpstan-baseline.neon
- vendor/phpat/phpat/extension.neon
# TYPO3 v14 PHPStan rules (saschaegerer/phpstan-typo3) — TCA, FormEngine,
# DataHandler, Extbase ObjectManager / repository typing, deprecated calls.
- vendor/saschaegerer/phpstan-typo3/extension.neon
# phpstan-strict-rules — overloaded comparisons, dynamic property access, etc.
- vendor/phpstan/phpstan-strict-rules/rules.neon
# phpstan-deprecation-rules — flag use of @deprecated APIs (TYPO3 v14 cleanups).
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
# Level "max" = maximum strictness. New errors must be either fixed or
# explicitly excluded; the baseline below is the historical residue we
# are working through, not a license to ignore new findings.
level: max
paths:
- Classes
- Tests/Architecture
excludePaths:
- Classes/Domain/Model/*
scanFiles:
# The optional paywall package intentionally cannot be installed in
# this dependency tree until it drops mcp/sdk. Keep its conditional
# adapter type-checked against the exact API surface we consume.
- Build/PHPStan/typo3-x402-paywall.php
treatPhpDocTypesAsCertain: false