Add to phpstan and psalm baselines the mistakes from tcpdf doc blocks

See: https://github.com/tecnickcom/TCPDF/pull/402

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-07-21 01:12:28 +02:00
parent 5f0dacb5a7
commit 47d07484dd
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -785,6 +785,16 @@ parameters:
count: 1
path: libraries/classes/OutputBuffering.php
-
message: "#^Parameter \\#1 \\$font of method TCPDF\\:\\:setFooterFont\\(\\) expects array\\<int, string\\>, array\\<int, int\\|string\\> given\\.$#"
count: 1
path: libraries/classes/Pdf.php
-
message: "#^Parameter \\#7 \\$pdfa of method TCPDF\\:\\:__construct\\(\\) expects int, bool given\\.$#"
count: 1
path: libraries/classes/Pdf.php
-
message: "#^Method PhpMyAdmin\\\\Plugins\\\\Auth\\\\AuthenticationCookie\\:\\:cookieEncrypt\\(\\) should return string but returns string\\|false\\.$#"
count: 1