-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
97 lines (84 loc) · 3.31 KB
/
phpstan-baseline.neon
File metadata and controls
97 lines (84 loc) · 3.31 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
parameters:
ignoreErrors:
-
rawMessage: Instanceof between Psr\Http\Message\StreamInterface and Psr\Http\Message\StreamInterface will always evaluate to true.
identifier: instanceof.alwaysTrue
count: 1
path: lib/Tmdb/Api/AbstractApi.php
-
rawMessage: Unreachable statement - code above always terminates.
identifier: deadCode.unreachable
count: 1
path: lib/Tmdb/Api/AbstractApi.php
-
rawMessage: 'Strict comparison using !== between null and Psr\Http\Message\StreamInterface will always evaluate to true.'
identifier: notIdentical.alwaysTrue
count: 1
path: lib/Tmdb/Event/Listener/Logger/LogHttpMessageListener.php
-
rawMessage: 'Parameter #3 $first of method Http\Client\Common\Plugin\CachePlugin::handleRequest() expects callable(Psr\Http\Message\RequestInterface): Http\Promise\Promise, Closure(): void given.'
identifier: argument.type
count: 1
path: lib/Tmdb/Event/Listener/Psr6CachedRequestListener.php
-
rawMessage: 'Property Tmdb\Event\Listener\Psr6CachedRequestListener::$options is never read, only written.'
identifier: property.onlyWritten
count: 1
path: lib/Tmdb/Event/Listener/Psr6CachedRequestListener.php
-
rawMessage: '''
Call to deprecated method setReleases() of class Tmdb\Model\Movie:
Use the setReleaseDates instead.
'''
identifier: method.deprecated
count: 1
path: lib/Tmdb/Factory/MovieFactory.php
-
rawMessage: '''
Instantiation of deprecated class Tmdb\Model\Movie\Release:
Use ReleaseDate instead
'''
identifier: new.deprecatedClass
count: 1
path: lib/Tmdb/Factory/MovieFactory.php
-
rawMessage: 'Return type (Tmdb\Model\Collection\People) of method Tmdb\Factory\PeopleFactory::createCollection() should be compatible with return type (Tmdb\Model\Common\GenericCollection<Tmdb\Model\AbstractModel>) of method Tmdb\Factory\AbstractFactory<Tmdb\Model\AbstractModel>::createCollection()'
identifier: method.childReturnType
count: 1
path: lib/Tmdb/Factory/PeopleFactory.php
-
rawMessage: 'Property Tmdb\HttpClient\HttpClient::$sessionToken (Tmdb\Token\Session\SessionToken|null) is never assigned Tmdb\Token\Session\SessionToken so it can be removed from the property type.'
identifier: property.unusedType
count: 1
path: lib/Tmdb/HttpClient/HttpClient.php
-
rawMessage: 'Property Tmdb\HttpClient\HttpClient::$sessionToken is never written, only read.'
identifier: property.onlyRead
count: 1
path: lib/Tmdb/HttpClient/HttpClient.php
-
rawMessage: '''
Access to deprecated property $releases of class Tmdb\Model\Movie:
Use $release_dates instead
'''
identifier: property.deprecated
count: 1
path: lib/Tmdb/Model/Movie.php
-
rawMessage: '''
Return type of method Tmdb\Repository\MovieRepository::getReleases() has typehint with deprecated class Tmdb\Model\Movie\Release:
Use ReleaseDate instead
'''
identifier: return.deprecatedClass
count: 1
path: lib/Tmdb/Repository/MovieRepository.php
-
rawMessage: Result of || is always false.
identifier: booleanOr.alwaysFalse
count: 1
path: lib/Tmdb/Repository/TvSeasonRepository.php
-
rawMessage: 'Strict comparison using === between null and int will always evaluate to false.'
identifier: identical.alwaysFalse
count: 2
path: lib/Tmdb/Repository/TvSeasonRepository.php