Skip to content

Commit 6e695df

Browse files
committed
Update PHPStan and Psalm baselines
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 67ac099 commit 6e695df

2 files changed

Lines changed: 17 additions & 10 deletions

File tree

phpstan-baseline.neon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6571,12 +6571,12 @@ parameters:
65716571
path: libraries/classes/Plugins/Schema/Pdf/RelationStatsPdf.php
65726572

65736573
-
6574-
message: "#^Binary operation \"\\+\\=\" between int and array\\<float\\>\\|float results in an error\\.$#"
6575-
count: 1
6574+
message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$width \\(int\\) does not accept float\\.$#"
6575+
count: 2
65766576
path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php
65776577

65786578
-
6579-
message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$width \\(int\\) does not accept array\\<float\\>\\|float\\|int\\.$#"
6579+
message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$width \\(int\\) does not accept float\\|int\\.$#"
65806580
count: 1
65816581
path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php
65826582

psalm-baseline.xml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9313,6 +9313,10 @@
93139313
<ParamNameMismatch occurrences="1">
93149314
<code>$error_message</code>
93159315
</ParamNameMismatch>
9316+
<PropertyNotSetInConstructor occurrences="2">
9317+
<code>Pdf</code>
9318+
<code>Pdf</code>
9319+
</PropertyNotSetInConstructor>
93169320
</file>
93179321
<file src="libraries/classes/Plugins.php">
93189322
<InvalidArgument occurrences="1">
@@ -10562,7 +10566,7 @@
1056210566
<code>$res_rel</code>
1056310567
<code>$res_rel</code>
1056410568
</PossiblyUndefinedVariable>
10565-
<PropertyNotSetInConstructor occurrences="21">
10569+
<PropertyNotSetInConstructor occurrences="23">
1056610570
<code>$aliases</code>
1056710571
<code>$cellFontSize</code>
1056810572
<code>$colAlign</code>
@@ -10584,7 +10588,13 @@
1058410588
<code>$titleText</code>
1058510589
<code>Pdf</code>
1058610590
<code>Pdf</code>
10591+
<code>Pdf</code>
10592+
<code>Pdf</code>
1058710593
</PropertyNotSetInConstructor>
10594+
<UnnecessaryVarAnnotation occurrences="2">
10595+
<code>float</code>
10596+
<code>float</code>
10597+
</UnnecessaryVarAnnotation>
1058810598
</file>
1058910599
<file src="libraries/classes/Plugins/ExportPlugin.php">
1059010600
<MixedArrayAccess occurrences="5">
@@ -11287,7 +11297,9 @@
1128711297
<code>$w</code>
1128811298
<code>($w - 2 * $this-&gt;cMargin) * 1000</code>
1128911299
</MixedOperand>
11290-
<PropertyNotSetInConstructor occurrences="2">
11300+
<PropertyNotSetInConstructor occurrences="4">
11301+
<code>Pdf</code>
11302+
<code>Pdf</code>
1129111303
<code>Pdf</code>
1129211304
<code>Pdf</code>
1129311305
</PropertyNotSetInConstructor>
@@ -11567,11 +11579,6 @@
1156711579
<code>$field</code>
1156811580
<code>$this-&gt;width</code>
1156911581
</MixedOperand>
11570-
<PossiblyInvalidOperand occurrences="3">
11571-
<code>$this-&gt;diagram-&gt;GetStringWidth(' ')</code>
11572-
<code>$this-&gt;width</code>
11573-
<code>5</code>
11574-
</PossiblyInvalidOperand>
1157511582
<PossiblyInvalidPropertyAssignmentValue occurrences="1">
1157611583
<code>max($this-&gt;width, $this-&gt;diagram-&gt;GetStringWidth($field))</code>
1157711584
</PossiblyInvalidPropertyAssignmentValue>

0 commit comments

Comments
 (0)