-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.php
More file actions
35 lines (33 loc) · 1.35 KB
/
phpstan-baseline.php
File metadata and controls
35 lines (33 loc) · 1.35 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
<?php declare(strict_types = 1);
$ignoreErrors = [];
$ignoreErrors[] = [
// identifier: missingType.generics
'message' => '#^Interface BlitzPHP\\\\Socialite\\\\Contracts\\\\UserInterface extends generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#',
'count' => 1,
'path' => __DIR__ . '/src/Contracts/UserInterface.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$name of function service expects class\\-string\\<socialite\\>, string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Facades/Socialite.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$name of function service expects class\\-string\\<request\\>, string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/SocialiteManager.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$name of function service expects class\\-string\\<session\\>, string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Two/AbstractProvider.php',
];
$ignoreErrors[] = [
// identifier: cast.string
'message' => '#^Cannot cast phpseclib3\\\\Crypt\\\\Common\\\\PrivateKey\\|phpseclib3\\\\Crypt\\\\Common\\\\PublicKey to string\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Two/FacebookProvider.php',
];
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];