Skip to content

Commit 63a6568

Browse files
committed
composer require leafs/leaf league/oauth2-google --dev -W
1 parent 3e8e733 commit 63a6568

2 files changed

Lines changed: 18 additions & 46 deletions

File tree

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
"friendsofphp/php-cs-fixer": "^3.64",
5252
"leafs/alchemy": "*",
5353
"phpstan/phpstan": "^2.1",
54-
"phpstan/extension-installer": "^1.4"
54+
"phpstan/extension-installer": "^1.4",
55+
"leafs/leaf": "^4.4",
56+
"league/oauth2-google": "^4.0"
5557
},
5658
"scripts": {
5759
"alchemy": "./vendor/bin/alchemy setup",

phpstan-baseline.neon

Lines changed: 15 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,6 @@ parameters:
66
count: 1
77
path: src/Auth.php
88

9-
-
10-
rawMessage: 'Call to static method error() on an unknown class Leaf\Exception\General.'
11-
identifier: class.notFound
12-
count: 4
13-
path: src/Auth.php
14-
15-
-
16-
rawMessage: Function _env not found.
17-
identifier: function.notFound
18-
count: 7
19-
path: src/Auth.php
20-
21-
-
22-
rawMessage: Function app not found.
23-
identifier: function.notFound
24-
count: 9
25-
path: src/Auth.php
26-
27-
-
28-
rawMessage: Instantiated class League\OAuth2\Client\Provider\Google not found.
29-
identifier: class.notFound
30-
count: 1
31-
path: src/Auth.php
32-
33-
-
34-
rawMessage: 'Method Leaf\Auth::client() has invalid return type League\OAuth2\Client\Provider\AbstractProvider.'
35-
identifier: class.notFound
36-
count: 1
37-
path: src/Auth.php
38-
39-
-
40-
rawMessage: 'Parameter $client of method Leaf\Auth::withProvider() has invalid type League\OAuth2\Client\Provider\AbstractProvider.'
41-
identifier: class.notFound
42-
count: 1
43-
path: src/Auth.php
44-
459
-
4610
rawMessage: 'Variable $credentials in isset() is never defined.'
4711
identifier: isset.variable
@@ -73,22 +37,28 @@ parameters:
7337
path: src/Auth/User.php
7438

7539
-
76-
rawMessage: 'Call to static method get() on an unknown class Leaf\Config.'
77-
identifier: class.notFound
40+
rawMessage: 'Function createTableForUsers() has parameter $table with no type specified.'
41+
identifier: missingType.parameter
7842
count: 1
79-
path: src/functions.php
43+
path: tests/Pest.php
8044

8145
-
82-
rawMessage: 'Call to static method getStatic() on an unknown class Leaf\Config.'
83-
identifier: class.notFound
46+
rawMessage: 'Function deleteUser() has no return type specified.'
47+
identifier: missingType.return
8448
count: 1
85-
path: src/functions.php
49+
path: tests/Pest.php
8650

8751
-
88-
rawMessage: 'Call to static method singleton() on an unknown class Leaf\Config.'
89-
identifier: class.notFound
52+
rawMessage: 'Function deleteUser() has parameter $table with no type specified.'
53+
identifier: missingType.parameter
54+
count: 1
55+
path: tests/Pest.php
56+
57+
-
58+
rawMessage: 'Function getDatabaseConnection() return type has no value type specified in iterable type array.'
59+
identifier: missingType.iterableValue
9060
count: 1
91-
path: src/functions.php
61+
path: tests/Pest.php
9262

9363
-
9464
rawMessage: Access to an undefined property Leaf\Auth\User::$username.

0 commit comments

Comments
 (0)