-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathphpstan.neon.dist
24 lines (22 loc) · 1.28 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
level: 5
paths:
- src
inferPrivatePropertyTypeFromConstructor: true
excludePaths:
# bc flysystem
- src/Filesystem/FilesystemInterface.php
- src/Filesystem/FilesystemDecorator.php
- src/Filesystem/AbstractFilesystemDecorator.php
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::useAttributeAsKey\(\)\.#'
# known bug of phpstan
- "#Cannot cast Lcobucci\\\\JWT\\\\Token\\\\Plain to string\\.#"
- "#Parameter \\#1 \\$issuedAt of method Lcobucci\\\\JWT\\\\Builder::issuedAt\\(\\) expects DateTimeImmutable, int<1, max> given\\.#"
- "#Parameter \\#1 \\$expiration of method Lcobucci\\\\JWT\\\\Builder::expiresAt\\(\\) expects DateTimeImmutable, int given\\.#"
- "#Cannot instantiate interface Lcobucci\\\\JWT\\\\Builder\\.#"
- "#Cannot instantiate interface Lcobucci\\\\JWT\\\\Signer\\\\Key\\.#"
# flysystem compat layer
- "#Class League\\\\Flysystem\\\\Adapter\\\\Local not found\\.#"
- "#Access to constant DISALLOW_LINKS on an unknown class League\\\\Flysystem\\\\Adapter\\\\Local\\.#"
- "#Access to constant SKIP_LINKS on an unknown class League\\\\Flysystem\\\\Adapter\\\\Local\\.#"