-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
22 lines (21 loc) · 928 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
22 lines (21 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
includes:
- vendor/larastan/larastan/extension.neon
- vendor/pestphp/pest/extension.neon
parameters:
level: max
# PARSE AT THE MINIMUM SUPPORTED VERSION, not at whatever the developer happens to run. Every package
# declares `php: ^8.3`, and PHP 8.4's `new Foo()->bar()` (no parentheses) is a PARSE ERROR on 8.3 — so a
# file using it is broken for the framework's own floor while analysing and testing perfectly on 8.5.
# That is exactly what happened: ten call sites across two test files shipped green locally and turned
# the 8.3 CI job red with "Parse error", which is the least actionable failure a contributor can get.
phpVersion: 80300
universalObjectCratesClasses:
- Pest\Mixins\Expectation
paths:
- packages
- tests
- samples/lumen/src
- samples/lumen/tests
excludePaths:
- packages/*/vendor
tmpDir: .phpstan-cache