-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
26 lines (25 loc) · 1.06 KB
/
Copy pathphpstan.neon
File metadata and controls
26 lines (25 loc) · 1.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
includes:
- phpstan-baseline.neon
parameters:
level: 1
paths:
- Jp7
# Scanned, not executed: the ORM reaches Laravel through root-aliased facade names
# that only exist inside a booted app, and polyfill.php is where the suite declares them.
scanFiles:
- tests/polyfill.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
# Provided by the host Laravel app at runtime, not by this package: root-aliased
# facades and the \Date alias tests/bootstrap.php sets up for Carbon.
-
identifier: class.notFound
message: '#\b(Storage|ImgResize|RecordUrl|Date)\b#'
# Also runtime-only: Cache::tag() is a MACRO jp7io/classes registers (Cache::tags(),
# the spelling that looks right, throws on every tenant), and RouterFacade proxies
# Jp7\Laravel\Router::getRouteByTypeId() through the facade's __callStatic.
-
identifier: staticMethod.notFound
message: '#\b(Cache::tag|RouterFacade::getRouteByTypeId)\(\)#'
excludePaths:
- vendor