You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+93-13Lines changed: 93 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,13 @@ parameters:
39
39
-
40
40
rawMessage:'Parameter #2 $dataSegments of class chillerlan\QRCode\Data\QRData constructor expects array<chillerlan\QRCode\Data\QRDataModeInterface>, array<int, object> given.'
41
41
identifier:argument.type
42
-
count:2
42
+
count:1
43
+
path:benchmark/QRDataBenchmark.php
44
+
45
+
-
46
+
rawMessage:'Property chillerlan\QRCodeBenchmark\QRDataBenchmark::$dataMode (chillerlan\QRCode\Data\QRDataModeInterface) does not accept object.'
47
+
identifier:assign.propertyType
48
+
count:1
43
49
path:benchmark/QRDataBenchmark.php
44
50
45
51
-
@@ -91,21 +97,11 @@ parameters:
91
97
path:benchmark/parse-result.php
92
98
93
99
-
94
-
rawMessage:'''
95
-
Call to deprecated method getUri() of class chillerlan\Authenticator\Authenticator:
96
-
5.3.0 The parameter `$omitSettings` will be removed in favor of `AuthenticatorOptions::$omitUriSettings`
97
-
in the next major version (6.x)
98
-
'''
99
-
identifier:method.deprecated
100
+
rawMessage:Set hook for non-virtual property chillerlan\Settings\SettingsContainerAbstract@anonymous/examples/authenticator.php:22::$fpdfMeasureUnit does not always assign value to it.
101
+
identifier:propertySetHook.noAssign
100
102
count:1
101
103
path:examples/authenticator.php
102
104
103
-
-
104
-
rawMessage:'Property chillerlan\QRCode\QROptions::$eccLevel (int) does not accept string.'
105
-
identifier:assign.propertyType
106
-
count:1
107
-
path:examples/custom_output.php
108
-
109
105
-
110
106
rawMessage:'Method QRGdRounded::__construct() has parameter $options with no value type specified in iterable type iterable.'
111
107
identifier:missingType.iterableValue
@@ -226,6 +222,12 @@ parameters:
226
222
count:1
227
223
path:src/Data/Byte.php
228
224
225
+
-
226
+
rawMessage:Cannot access property $level on chillerlan\QRCode\Common\EccLevel|null.
227
+
identifier:property.nonObject
228
+
count:1
229
+
path:src/Data/QRMatrix.php
230
+
229
231
-
230
232
rawMessage:'Parameter #1 $version of class chillerlan\QRCode\Data\ReedSolomonEncoder constructor expects chillerlan\QRCode\Common\Version, chillerlan\QRCode\Common\Version|null given.'
231
233
identifier:argument.type
@@ -238,6 +240,24 @@ parameters:
238
240
count:1
239
241
path:src/Data/QRMatrix.php
240
242
243
+
-
244
+
rawMessage:Access to an undefined property chillerlan\QRCode\Common\LuminanceSourceInterface::$height.
245
+
identifier:property.notFound
246
+
count:1
247
+
path:src/Decoder/Binarizer.php
248
+
249
+
-
250
+
rawMessage:Access to an undefined property chillerlan\QRCode\Common\LuminanceSourceInterface::$luminances.
251
+
identifier:property.notFound
252
+
count:1
253
+
path:src/Decoder/Binarizer.php
254
+
255
+
-
256
+
rawMessage:Access to an undefined property chillerlan\QRCode\Common\LuminanceSourceInterface::$width.
257
+
identifier:property.notFound
258
+
count:1
259
+
path:src/Decoder/Binarizer.php
260
+
241
261
-
242
262
rawMessage:'Parameter #1 $maskPattern of method chillerlan\QRCode\Data\QRMatrix::mask() expects chillerlan\QRCode\Common\MaskPattern, chillerlan\QRCode\Common\MaskPattern|null given.'
243
263
identifier:argument.type
@@ -262,6 +282,12 @@ parameters:
262
282
count:1
263
283
path:src/Decoder/BitMatrix.php
264
284
285
+
-
286
+
rawMessage:Cannot access property $versionNumber on chillerlan\QRCode\Common\Version|null.
287
+
identifier:property.nonObject
288
+
count:1
289
+
path:src/Decoder/Decoder.php
290
+
265
291
-
266
292
rawMessage:'Method chillerlan\QRCode\Decoder\Decoder::__construct() has parameter $options with no value type specified in iterable type iterable.'
267
293
identifier:missingType.iterableValue
@@ -334,6 +360,12 @@ parameters:
334
360
count:1
335
361
path:src/Output/QRInterventionImage.php
336
362
363
+
-
364
+
rawMessage:Cannot access property $currentPattern on chillerlan\QRCode\Common\MaskPattern|null.
365
+
identifier:property.nonObject
366
+
count:1
367
+
path:src/Output/QRMarkupXML.php
368
+
337
369
-
338
370
rawMessage:'Method chillerlan\QRCode\Output\QROutputAbstract::__construct() has parameter $options with no value type specified in iterable type iterable.'
339
371
identifier:missingType.iterableValue
@@ -346,6 +378,18 @@ parameters:
346
378
count:1
347
379
path:src/Output/QROutputAbstract.php
348
380
381
+
-
382
+
rawMessage:Cannot access property $currentPattern on chillerlan\QRCode\Common\MaskPattern|null.
383
+
identifier:property.nonObject
384
+
count:1
385
+
path:src/Output/QRStringJSON.php
386
+
387
+
-
388
+
rawMessage:Cannot access property $versionNumber on chillerlan\QRCode\Common\Version|null.
389
+
identifier:property.nonObject
390
+
count:1
391
+
path:src/Output/QRStringJSON.php
392
+
349
393
-
350
394
rawMessage:PHPDoc tag @var with type chillerlan\QRCode\Data\QRDataModeInterface is not subtype of native type 'chillerlan\\QRCode\\Data\\AlphaNum'|'chillerlan\\QRCode\\Data\\Byte'|'chillerlan\\QRCode\\Data\\Hanzi'|'chillerlan\\QRCode\\Data\\Kanji'|'chillerlan\\QRCode\\Data\\Number'.
351
395
identifier:varTag.nativeType
@@ -358,12 +402,24 @@ parameters:
358
402
count:1
359
403
path:src/QRCode.php
360
404
405
+
-
406
+
rawMessage:Set hook for non-virtual property chillerlan\QRCode\QROptions::$fpdfMeasureUnit does not always assign value to it.
407
+
identifier:propertySetHook.noAssign
408
+
count:1
409
+
path:src/QROptions.php
410
+
361
411
-
362
412
rawMessage:'Method chillerlan\QRCodeTest\Common\MaskPatternTest::maskPatternProvider() return type has no value type specified in iterable type array.'
363
413
identifier:missingType.iterableValue
364
414
count:1
365
415
path:tests/Common/MaskPatternTest.php
366
416
417
+
-
418
+
rawMessage:Cannot access property $currentPattern on chillerlan\QRCode\Common\MaskPattern|null.
419
+
identifier:property.nonObject
420
+
count:1
421
+
path:tests/Data/DataInterfaceTestAbstract.php
422
+
367
423
-
368
424
rawMessage:'Method chillerlan\QRCodeTest\Data\DataInterfaceTestAbstract::maxLengthProvider() return type with generic class Generator does not specify its types: TKey, TValue, TSend, TReturn'
369
425
identifier:missingType.generics
@@ -406,18 +462,42 @@ parameters:
406
462
count:2
407
463
path:tests/Data/KanjiTest.php
408
464
465
+
-
466
+
rawMessage:Cannot access property $versionNumber on chillerlan\QRCode\Common\Version|null.
467
+
identifier:property.nonObject
468
+
count:2
469
+
path:tests/Data/QRDataTest.php
470
+
409
471
-
410
472
rawMessage:'Parameter #1 $blob of method chillerlan\QRCode\QRCode::readFromBlob() expects string, GdImage|string given.'
411
473
identifier:argument.type
412
474
count:1
413
475
path:tests/Data/QRDataTest.php
414
476
477
+
-
478
+
rawMessage:Cannot access property $level on chillerlan\QRCode\Common\EccLevel|null.
479
+
identifier:property.nonObject
480
+
count:1
481
+
path:tests/Data/QRMatrixTest.php
482
+
483
+
-
484
+
rawMessage:Cannot access property $versionNumber on chillerlan\QRCode\Common\Version|null.
485
+
identifier:property.nonObject
486
+
count:4
487
+
path:tests/Data/QRMatrixTest.php
488
+
415
489
-
416
490
rawMessage:'Method chillerlan\QRCodeTest\Data\QRMatrixTest::matrixProvider() return type with generic class Generator does not specify its types: TKey, TValue, TSend, TReturn'
417
491
identifier:missingType.generics
418
492
count:1
419
493
path:tests/Data/QRMatrixTest.php
420
494
495
+
-
496
+
rawMessage:Cannot access property $versionNumber on chillerlan\QRCode\Common\Version|null.
497
+
identifier:property.nonObject
498
+
count:1
499
+
path:tests/QRCodeReaderTestAbstract.php
500
+
421
501
-
422
502
rawMessage:'Method chillerlan\QRCodeTest\QRCodeReaderTestAbstract::dataTestProvider() return type with generic class Generator does not specify its types: TKey, TValue, TSend, TReturn'
0 commit comments