| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- parameters:
- ignoreErrors:
- -
- message: '#^Property chillerlan\\QRCodeBenchmark\\DecoderBenchmark\:\:\$imageBlob \(string\) does not accept GdImage\|string\.$#'
- identifier: assign.propertyType
- count: 1
- path: benchmark/DecoderBenchmark.php
- -
- message: '#^Parameter \#1 \$segment of method chillerlan\\QRCode\\QRCode\:\:addSegment\(\) expects chillerlan\\QRCode\\Data\\QRDataModeInterface, object given\.$#'
- identifier: argument.type
- count: 1
- path: benchmark/QRCodeBenchmark.php
- -
- message: '#^Parameter \#2 \$dataSegments of class chillerlan\\QRCode\\Data\\QRData constructor expects array\<chillerlan\\QRCode\\Data\\QRDataModeInterface\>, array\<int, object\> given\.$#'
- identifier: argument.type
- count: 2
- path: benchmark/QRDataBenchmark.php
- -
- message: '#^Parameter \#1 \$string of function strtolower expects string, int\|string given\.$#'
- identifier: argument.type
- count: 1
- path: benchmark/generate-markdown.php
- -
- message: '#^Offset ''name'' does not exist on array\<int, mixed\>\.$#'
- identifier: offsetAccess.notFound
- count: 1
- path: benchmark/parse-common.php
- -
- message: '#^Offset ''results'' does not exist on array\<int, mixed\>\.$#'
- identifier: offsetAccess.notFound
- count: 1
- path: benchmark/parse-common.php
- -
- message: '#^Offset 0 does not exist on array\{\}\.$#'
- identifier: offsetAccess.notFound
- count: 1
- path: benchmark/parse-common.php
- -
- message: '#^Function chillerlan\\QRCodeBenchmark\\parseLine\(\) return type has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: benchmark/parse-result.php
- -
- message: '#^Parameter \#1 \$string of function trim expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: benchmark/parse-result.php
- -
- message: '#^Property chillerlan\\QRCode\\QROptions\:\:\$eccLevel \(int\) does not accept string\.$#'
- identifier: assign.propertyType
- count: 1
- path: examples/custom_output.php
- -
- message: '#^Parameter \#1 \$width of function imagecreatetruecolor expects int\<1, max\>, int given\.$#'
- identifier: argument.type
- count: 1
- path: examples/imageWithText.php
- -
- message: '#^Parameter \#2 \$color of function imagecolortransparent expects int\|null, int\<0, max\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: examples/imageWithText.php
- -
- message: '#^Parameter \#2 \$height of function imagecreatetruecolor expects int\<1, max\>, int given\.$#'
- identifier: argument.type
- count: 1
- path: examples/imageWithText.php
- -
- message: '#^Parameter \#6 \$color of function imagechar expects int, int\<0, max\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: examples/imageWithText.php
- -
- message: '#^Parameter \#6 \$color of function imagefilledrectangle expects int, int\<0, max\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: examples/imageWithText.php
- -
- message: '#^Parameter \#1 \(Intervention\\Image\\Interfaces\\ImageInterface\|string\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: examples/intervention-image.php
- -
- message: '#^Method RandomDotsSVGOutput\:\:collectModules\(\) should return array\<int, mixed\> but returns array\<int\|string, list\<mixed\>\>\.$#'
- identifier: return.type
- count: 1
- path: examples/svgRandomColoredDots.php
- -
- message: '#^Method RoundQuietzoneSVGoutput\:\:collectModules\(\) should return array\<int, mixed\> but returns array\<int\|string, list\<mixed\>\>\.$#'
- identifier: return.type
- count: 1
- path: examples/svgRoundQuietzone.php
- -
- message: '#^Parameter \#1 \$data of function imagecreatefromstring expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: src/Common/GDLuminanceSource.php
- -
- message: '#^Parameter \#1 \$gdImage of class chillerlan\\QRCode\\Common\\GDLuminanceSource constructor expects GdImage, GdImage\|false given\.$#'
- identifier: argument.type
- count: 2
- path: src/Common/GDLuminanceSource.php
- -
- message: '#^Parameter \#2 \$color of function imagecolorsforindex expects int, int\<0, max\>\|false given\.$#'
- identifier: argument.type
- count: 1
- path: src/Common/GDLuminanceSource.php
- -
- message: '#^Parameter \#1 \$maskPattern of class chillerlan\\QRCode\\Common\\MaskPattern constructor expects int, int\|false given\.$#'
- identifier: argument.type
- count: 1
- path: src/Common/MaskPattern.php
- -
- message: '#^Method chillerlan\\QRCode\\Common\\Version\:\:getRSBlocks\(\) return type has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: src/Common/Version.php
- -
- message: '#^Parameter \#1 \$encoding of function mb_detect_order expects non\-empty\-list\<non\-falsy\-string\>\|non\-falsy\-string\|null, array\{string, ''UTF\-8'', ''GB2312'', ''GB18030'', ''CP936'', ''EUC\-CN'', ''HZ''\} given\.$#'
- identifier: argument.type
- count: 1
- path: src/Data/Hanzi.php
- -
- message: '#^Parameter \#1 \$encoding of function mb_detect_order expects non\-empty\-list\<non\-falsy\-string\>\|non\-falsy\-string\|null, array\{string, ''UTF\-8'', ''SJIS'', ''SJIS\-2004''\} given\.$#'
- identifier: argument.type
- count: 1
- path: src/Data/Kanji.php
- -
- message: '#^Parameter \#1 \$version of class chillerlan\\QRCode\\Data\\ReedSolomonEncoder constructor expects chillerlan\\QRCode\\Common\\Version, chillerlan\\QRCode\\Common\\Version\|null given\.$#'
- identifier: argument.type
- count: 1
- path: src/Data/QRMatrix.php
- -
- message: '#^Parameter \#2 \$eccLevel of class chillerlan\\QRCode\\Data\\ReedSolomonEncoder constructor expects chillerlan\\QRCode\\Common\\EccLevel, chillerlan\\QRCode\\Common\\EccLevel\|null given\.$#'
- identifier: argument.type
- count: 1
- path: src/Data/QRMatrix.php
- -
- message: '#^Parameter \#1 \$maskPattern of method chillerlan\\QRCode\\Data\\QRMatrix\:\:mask\(\) expects chillerlan\\QRCode\\Common\\MaskPattern, chillerlan\\QRCode\\Common\\MaskPattern\|null given\.$#'
- identifier: argument.type
- count: 1
- path: src/Decoder/BitMatrix.php
- -
- message: '#^Parameter \#1 \$version of class chillerlan\\QRCode\\Data\\QRMatrix constructor expects chillerlan\\QRCode\\Common\\Version, chillerlan\\QRCode\\Common\\Version\|null given\.$#'
- identifier: argument.type
- count: 1
- path: src/Decoder/BitMatrix.php
- -
- message: '#^Parameter \#2 \$b of method chillerlan\\QRCode\\Decoder\\BitMatrix\:\:numBitsDiffering\(\) expects int, int\|null given\.$#'
- identifier: argument.type
- count: 1
- path: src/Decoder/BitMatrix.php
- -
- message: '#^Parameter \#2 \$eccLevel of class chillerlan\\QRCode\\Data\\QRMatrix constructor expects chillerlan\\QRCode\\Common\\EccLevel, chillerlan\\QRCode\\Common\\EccLevel\|null given\.$#'
- identifier: argument.type
- count: 1
- path: src/Decoder/BitMatrix.php
- -
- message: '#^Property chillerlan\\QRCode\\Decoder\\Decoder\:\:\$options is never read, only written\.$#'
- identifier: property.onlyWritten
- count: 1
- path: src/Decoder/Decoder.php
- -
- message: '#^Method chillerlan\\QRCode\\Decoder\\ReedSolomonDecoder\:\:deinterleaveRawBytes\(\) return type has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: src/Decoder/ReedSolomonDecoder.php
- -
- message: '#^Parameter \#1 \$width of function imagecreatetruecolor expects int\<1, max\>, int given\.$#'
- identifier: argument.type
- count: 1
- path: src/Output/QRGdImage.php
- -
- message: '#^Parameter \#2 \$height of function imagecreatetruecolor expects int\<1, max\>, int given\.$#'
- identifier: argument.type
- count: 1
- path: src/Output/QRGdImage.php
- -
- message: '#^Method chillerlan\\QRCodeTest\\Common\\MaskPatternTest\:\:assertMask\(\) has parameter \$expected with no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: tests/Common/MaskPatternTest.php
- -
- message: '#^Method chillerlan\\QRCodeTest\\Common\\MaskPatternTest\:\:maskPatternProvider\(\) return type has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: tests/Common/MaskPatternTest.php
- -
- message: '#^Method chillerlan\\QRCodeTest\\Common\\MaskPatternTest\:\:testMask\(\) has parameter \$expected with no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: tests/Common/MaskPatternTest.php
- -
- message: '#^Catching internal class PHPUnit\\Framework\\ExpectationFailedException\.$#'
- identifier: catch.internalClass
- count: 1
- path: tests/Data/DataInterfaceTestAbstract.php
- -
- message: '#^Parameter \#1 \$string of static method chillerlan\\QRCode\\Data\\QRDataModeInterface\:\:validateString\(\) expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: tests/Data/DataInterfaceTestAbstract.php
- -
- message: '#^Parameter \#1 \$data of class chillerlan\\QRCode\\Data\\Byte constructor expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: tests/Data/ECITest.php
- -
- message: '#^Parameter \#2 \$to_encoding of function mb_convert_encoding expects string, string\|null given\.$#'
- identifier: argument.type
- count: 1
- path: tests/Data/ECITest.php
- -
- message: '#^Parameter \#1 \$string of function bin2hex expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: tests/Data/HanziTest.php
- -
- message: '#^Anonymous function should return string but returns string\|false\.$#'
- identifier: return.type
- count: 1
- path: tests/Data/KanjiTest.php
- -
- message: '#^Parameter \#1 \$string of function bin2hex expects string, string\|false given\.$#'
- identifier: argument.type
- count: 1
- path: tests/Data/KanjiTest.php
- -
- message: '#^Parameter \#1 \$blob of method chillerlan\\QRCode\\QRCode\:\:readFromBlob\(\) expects string, GdImage\|string given\.$#'
- identifier: argument.type
- count: 1
- path: tests/Data/QRDataTest.php
|