-
-
Notifications
You must be signed in to change notification settings - Fork 635
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
50 lines (43 loc) · 2.06 KB
/
Copy pathphpstan.dist.neon
File metadata and controls
50 lines (43 loc) · 2.06 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
includes:
- vendor/larastan/larastan/extension.neon
- .phpstan/baseline.neon
parameters:
level: 0
paths:
- src
# Symbol-only stubs for optional runtime integrations that this package
# never requires as real dependencies (see .phpstan/stubs/debugbar.php).
scanFiles:
- .phpstan/stubs/debugbar.php
ignoreErrors:
-
identifier: class.notFound
message: '#^(Class|Instantiated class) Spatie\\LaravelIgnition\\Exceptions\\(ViewException|ViewExceptionWithSolution) not found\.$#'
path: src/View/Antlers/Language/Runtime/RuntimeParser.php
# composer/composer is an optional runtime integration (composer update hooks), not a real dependency.
-
identifier: class.notFound
message: '#^Parameter \$event of method Statamic\\Console\\Composer\\Scripts::preUpdateCmd\(\) has invalid type Composer\\Script\\Event\.$#'
path: src/Console/Composer/Scripts.php
# barryvdh/laravel-debugbar is an optional runtime integration, guarded by class_exists()/isEnabled() checks.
-
identifier: class.notFound
message: '#^Caught class DebugBar\\DebugBarException not found\.$#'
path: src/Forms/Tags.php
-
identifier: function.notFound
message: '#^Function debug not found\.$#'
path: src/Modifiers/CoreModifiers.php
# spatie/laravel-ignition is an optional runtime integration; ddd() is one of its helpers.
-
identifier: function.notFound
message: '#^Function ddd not found\.$#'
path: src/Modifiers/CoreModifiers.php
# self::this() inside the Carbon::macro() closure resolves to Carbon\Traits\Mixin::this(),
# a protected static method Carbon rebinds into scope for macros registered via Mixin -
# see vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php. PHPStan can't follow the
# static-closure scope rebinding, so it thinks this() is being called on this class.
-
identifier: staticMethod.notFound
message: '#^Call to an undefined static method Statamic\\Providers\\AppServiceProvider::this\(\)\.$#'
path: src/Providers/AppServiceProvider.php