-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
phpstan-baseline.neon
97 lines (82 loc) · 5.42 KB
/
phpstan-baseline.neon
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:
-
message: '#^Instanceof between EliasHaeussler\\CacheWarmup\\Sitemap\\Sitemap and EliasHaeussler\\CacheWarmup\\Sitemap\\Sitemap will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/CacheWarmer.php
-
message: '#^Parameter \#2 \.\.\.\$constructors of method CuyZ\\Valinor\\MapperBuilder\:\:registerConstructor\(\) expects \(pure\-callable\(\)\: mixed\)\|class\-string, Closure\(string\)\: EliasHaeussler\\CacheWarmup\\Sitemap\\Sitemap given\.$#'
identifier: argument.type
count: 1
path: src/Config/Adapter/ConfigMapperFactory.php
-
message: '#^Parameter \#3 \.\.\.\$constructors of method CuyZ\\Valinor\\MapperBuilder\:\:registerConstructor\(\) expects \(pure\-callable\(\)\: mixed\)\|class\-string, Closure\(string\)\: EliasHaeussler\\CacheWarmup\\Sitemap\\Url given\.$#'
identifier: argument.type
count: 1
path: src/Config/Adapter/ConfigMapperFactory.php
-
message: '#^Variable property access on \$this\(EliasHaeussler\\CacheWarmup\\Config\\CacheWarmupConfig\)\.$#'
identifier: property.dynamicName
count: 1
path: src/Config/CacheWarmupConfig.php
-
message: '#^Property EliasHaeussler\\CacheWarmup\\Crawler\\AbstractConfigurableCrawler\<TOptions of array\<string, mixed\>\>\:\:\$options \(TOptions of array\<string, mixed\>\) does not accept array\.$#'
identifier: assign.propertyType
count: 1
path: src/Crawler/AbstractConfigurableCrawler.php
-
message: '#^Property EliasHaeussler\\CacheWarmup\\Formatter\\JsonFormatter\:\:\$json \(array\{parserResult\?\: array\{success\?\: array\{sitemaps\: list\<string\>, urls\: list\<string\>\}, failure\?\: array\{sitemaps\: list\<string\>\}, excluded\?\: array\{sitemaps\: list\<string\>, urls\: list\<string\>\}\}, cacheWarmupResult\?\: array\{success\?\: list\<string\>, failure\?\: list\<string\>, cancelled\?\: bool\}, messages\?\: array\<''error''\|''info''\|''success''\|''warning'', list\<string\>\>, time\?\: array\{parse\?\: string, crawl\?\: string\}\}\) does not accept iterable\<string, mixed\>\.$#'
identifier: assign.propertyType
count: 2
path: src/Formatter/JsonFormatter.php
-
message: '#^Parameter \#1 \$level \(''alert''\|''critical''\|''debug''\|''emergency''\|''error''\|''info''\|''notice''\|''warning''\) of method EliasHaeussler\\CacheWarmup\\Log\\FileLogger\:\:log\(\) should be contravariant with parameter \$level \(mixed\) of method Psr\\Log\\AbstractLogger\:\:log\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Log/FileLogger.php
-
message: '#^Parameter \#1 \$level \(''alert''\|''critical''\|''debug''\|''emergency''\|''error''\|''info''\|''notice''\|''warning''\) of method EliasHaeussler\\CacheWarmup\\Log\\FileLogger\:\:log\(\) should be contravariant with parameter \$level \(mixed\) of method Psr\\Log\\LoggerInterface\:\:log\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Log/FileLogger.php
-
message: '#^Parameter \#1 \$level \(''alert''\|''critical''\|''debug''\|''emergency''\|''error''\|''info''\|''notice''\|''warning''\) of method EliasHaeussler\\CacheWarmup\\Log\\FileLogger\:\:log\(\) should be contravariant with parameter \$level \(mixed\) of method Psr\\Log\\LoggerTrait\:\:log\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Log/FileLogger.php
-
message: '#^Parameter \#3 \$context \(array\<string, mixed\>\) of method EliasHaeussler\\CacheWarmup\\Log\\FileLogger\:\:log\(\) should be contravariant with parameter \$context \(array\) of method Psr\\Log\\LoggerTrait\:\:log\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Log/FileLogger.php
-
message: '#^Parameter \#3 \$context \(array\<string, mixed\>\) of method EliasHaeussler\\CacheWarmup\\Log\\FileLogger\:\:log\(\) should be contravariant with parameter \$context \(array\<mixed\>\) of method Psr\\Log\\AbstractLogger\:\:log\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Log/FileLogger.php
-
message: '#^Parameter \#3 \$context \(array\<string, mixed\>\) of method EliasHaeussler\\CacheWarmup\\Log\\FileLogger\:\:log\(\) should be contravariant with parameter \$context \(array\<mixed\>\) of method Psr\\Log\\LoggerInterface\:\:log\(\)$#'
identifier: method.childParameterType
count: 1
path: src/Log/FileLogger.php
-
message: '#^Parameter \#1 \$sitemaps of method EliasHaeussler\\CacheWarmup\\CacheWarmer\:\:addSitemaps\(\) expects EliasHaeussler\\CacheWarmup\\Sitemap\\Sitemap\|list\<EliasHaeussler\\CacheWarmup\\Sitemap\\Sitemap\|string\>\|string, array\{false\} given\.$#'
identifier: argument.type
count: 1
path: tests/unit/CacheWarmerTest.php
-
message: '#^Parameter \#1 \$limit of method EliasHaeussler\\CacheWarmup\\Config\\CacheWarmupConfig\:\:setLimit\(\) expects int\<0, max\>, \-10 given\.$#'
identifier: argument.type
count: 1
path: tests/unit/Config/CacheWarmupConfigTest.php
-
message: '#^Parameter \#1 \$crawlerClass of method EliasHaeussler\\CacheWarmup\\Crawler\\CrawlerFactory\:\:get\(\) expects class\-string\<EliasHaeussler\\CacheWarmup\\Crawler\\Crawler\>, string given\.$#'
identifier: argument.type
count: 2
path: tests/unit/Crawler/CrawlerFactoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''foo'' and ''foo'' will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/unit/Time/TimeTrackerTest.php