Skip to content

Commit 128db9a

Browse files
committed
Update phpstan and psalm baselines
1 parent cefa802 commit 128db9a

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

phpstan-baseline.neon

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ parameters:
4848
count: 1
4949
path: src/Components/Expression.php
5050

51-
-
52-
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
53-
identifier: empty.notAllowed
54-
count: 1
55-
path: src/Components/IntoKeyword.php
56-
5751
-
5852
message: '#^Only booleans are allowed in a ternary operator condition, bool\|null given\.$#'
5953
identifier: ternary.condNotBoolean
@@ -2086,9 +2080,9 @@ parameters:
20862080
path: tests/Builder/ExplainStatementTest.php
20872081

20882082
-
2089-
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
2090-
identifier: staticMethod.dynamicCall
2091-
count: 6
2083+
message: '#^@dataProvider providerForTestBuilder related method must be static in PHPUnit 10 and newer\.$#'
2084+
identifier: phpunit.dataProviderStatic
2085+
count: 1
20922086
path: tests/Builder/InsertStatementTest.php
20932087

20942088
-

psalm-baseline.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
<PossiblyNullOperand>
5050
<code><![CDATA[$this->dest]]></code>
5151
</PossiblyNullOperand>
52-
<RiskyTruthyFalsyComparison>
53-
<code><![CDATA[empty($this->columns)]]></code>
54-
</RiskyTruthyFalsyComparison>
5552
</file>
5653
<file src="src/Components/JoinKeyword.php">
5754
<PossiblyFalseOperand>
@@ -1174,6 +1171,11 @@
11741171
<code><![CDATA[empty($statement->fields)]]></code>
11751172
</RiskyTruthyFalsyComparison>
11761173
</file>
1174+
<file src="tests/Builder/InsertStatementTest.php">
1175+
<InvalidArgument>
1176+
<code><![CDATA[testBuilder]]></code>
1177+
</InvalidArgument>
1178+
</file>
11771179
<file src="tests/Lexer/TokensListTest.php">
11781180
<InvalidArgument>
11791181
<code><![CDATA[$list]]></code>

0 commit comments

Comments
 (0)