forked from badgeteam/Hatchery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
25 lines (25 loc) · 1.23 KB
/
phpstan.neon
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
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
- bootstrap
- config
- public
- routes
- tests
# The level 8 is the highest level
level: 8
inferPrivatePropertyTypeFromConstructor: true
ignoreErrors:
- '#Static method Illuminate\\Support\\Testing\\Fakes\\EventFake::assertDispatched\(\) invoked with 3 parameters, 1-2 required.#'
- '#Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\ExpectsHigherOrderMessage::twice\(\).#'
- '#Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\ExpectsHigherOrderMessage::andReturns\(\).#'
- '#Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\ExpectsHigherOrderMessage::andReturn\(\).#'
- '#Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\ExpectsHigherOrderMessage::once\(\).#'
- '#Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\ExpectsHigherOrderMessage::never\(\).#'
- '#Called .* on Laravel collection, but could have been retrieved as a query.#'
excludePaths:
- tests/_support/*
- tests/Feature/EdgeCases*
- tests/Helpers.php