forked from briannesbitt/Carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
33 lines (33 loc) · 1.54 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
26
27
28
29
30
31
32
33
parameters:
ignoreErrors:
- '#^Call to an undefined static method#'
- '#^Static call to instance method#'
- '#^Method Carbon\\Carbon(Immutable)?::(add|sub)[A-Z][A-Za-z]+\(\) invoked with 1 parameter, 0 required\.#'
excludes_analyse:
- '*/src/Carbon/Laravel/ServiceProvider.php'
- '*/tests/Laravel/*.php'
- '*/tests/Carbon/InstanceTest.php'
- '*/tests/Carbon/GenericMacroTest.php'
- '*/tests/Carbon/MacroTest.php'
- '*/tests/Carbon/SettersTest.php'
- '*/tests/Carbon/GettersTest.php'
- '*/tests/Carbon/IsTest.php'
- '*/tests/Carbon/ObjectsTest.php'
- '*/tests/Carbon/StrictModeTest.php'
- '*/tests/Carbon/Fixtures/Mixin.php'
- '*/tests/CarbonImmutable/InstanceTest.php'
- '*/tests/CarbonImmutable/GenericMacroTest.php'
- '*/tests/CarbonImmutable/MacroTest.php'
- '*/tests/CarbonImmutable/ObjectsTest.php'
- '*/tests/CarbonImmutable/SettersTest.php'
- '*/tests/CarbonImmutable/GettersTest.php'
- '*/tests/CarbonImmutable/Fixtures/Mixin.php'
- '*/tests/CarbonInterval/GettersTest.php'
- '*/tests/CarbonInterval/SettersTest.php'
- '*/tests/CarbonInterval/MacroTest.php'
- '*/tests/CarbonInterval/StrictModeTest.php'
- '*/tests/CarbonInterval/Fixtures/Mixin.php'
- '*/tests/CarbonPeriod/MacroTest.php'
- '*/tests/CarbonPeriod/FilterTest.php'
- '*/tests/CarbonPeriod/StrictModeTest.php'
- '*/tests/CarbonPeriod/Fixtures/filters.php'