Skip to content

Commit 059f2c7

Browse files
committed
composer exec phpstan -- --generate-baseline
1 parent 7e14e5f commit 059f2c7

2 files changed

Lines changed: 98 additions & 0 deletions

File tree

phpstan-baseline.neon

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
rawMessage: 'Call to static method error() on an unknown class Leaf\Exception\General.'
5+
identifier: class.notFound
6+
count: 4
7+
path: src/Auth.php
8+
9+
-
10+
rawMessage: Function _env not found.
11+
identifier: function.notFound
12+
count: 7
13+
path: src/Auth.php
14+
15+
-
16+
rawMessage: Function app not found.
17+
identifier: function.notFound
18+
count: 9
19+
path: src/Auth.php
20+
21+
-
22+
rawMessage: Instantiated class League\OAuth2\Client\Provider\Google not found.
23+
identifier: class.notFound
24+
count: 1
25+
path: src/Auth.php
26+
27+
-
28+
rawMessage: Access to constant STATUS_ACTIVE on an unknown class Leaf\Billing\Subscription.
29+
identifier: class.notFound
30+
count: 1
31+
path: src/Auth/User.php
32+
33+
-
34+
rawMessage: Access to constant STATUS_CANCELLED on an unknown class Leaf\Billing\Subscription.
35+
identifier: class.notFound
36+
count: 1
37+
path: src/Auth/User.php
38+
39+
-
40+
rawMessage: Access to constant STATUS_TRIAL on an unknown class Leaf\Billing\Subscription.
41+
identifier: class.notFound
42+
count: 1
43+
path: src/Auth/User.php
44+
45+
-
46+
rawMessage: Function billing not found.
47+
identifier: function.notFound
48+
count: 3
49+
path: src/Auth/User.php
50+
51+
-
52+
rawMessage: 'Call to static method get() on an unknown class Leaf\Config.'
53+
identifier: class.notFound
54+
count: 1
55+
path: src/functions.php
56+
57+
-
58+
rawMessage: 'Call to static method getStatic() on an unknown class Leaf\Config.'
59+
identifier: class.notFound
60+
count: 1
61+
path: src/functions.php
62+
63+
-
64+
rawMessage: 'Call to static method singleton() on an unknown class Leaf\Config.'
65+
identifier: class.notFound
66+
count: 1
67+
path: src/functions.php
68+
69+
-
70+
rawMessage: 'Undefined variable: $this'
71+
identifier: variable.undefined
72+
count: 1
73+
path: tests/register.test.php
74+
75+
-
76+
rawMessage: Function createUsersTable not found.
77+
identifier: function.notFound
78+
count: 1
79+
path: tests/table.test.php
80+
81+
-
82+
rawMessage: 'Undefined variable: $this'
83+
identifier: variable.undefined
84+
count: 5
85+
path: tests/table.test.php
86+
87+
-
88+
rawMessage: 'Undefined variable: $this'
89+
identifier: variable.undefined
90+
count: 7
91+
path: tests/update.test.php
92+
93+
-
94+
rawMessage: 'Undefined variable: $this'
95+
identifier: variable.undefined
96+
count: 2
97+
path: tests/user.test.php

phpstan.dist.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
3+
- phpstan-baseline.neon
34

45
parameters:
56
level: 0

0 commit comments

Comments
 (0)