Skip to content

Commit e981193

Browse files
committed
Upgrade psalm and psalm-baseline
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent f4752dc commit e981193

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"phpunit/php-code-coverage": "*",
2929
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
3030
"psalm/plugin-phpunit": "^0.16.1",
31-
"vimeo/psalm": "^4.10",
31+
"vimeo/psalm": "^4.11",
3232
"zumba/json-serializer": "^3.0"
3333
},
3434
"conflict": {

psalm-baseline.xml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="4.10.0@916b098b008f6de4543892b1e0651c1c3b92cbfa">
2+
<files psalm-version="4.11.2@6fba5eb554f9507b72932f9c75533d8af593688d">
33
<file src="src/Component.php">
44
<MixedReturnStatement occurrences="1">
55
<code>static::build($this)</code>
@@ -271,9 +271,6 @@
271271
<MoreSpecificImplementedParamType occurrences="1">
272272
<code>$component</code>
273273
</MoreSpecificImplementedParamType>
274-
<ParadoxicalCondition occurrences="1">
275-
<code>empty($options['field'])</code>
276-
</ParadoxicalCondition>
277274
<PossiblyInvalidOperand occurrences="1">
278275
<code>Context::escape($component-&gt;alias)</code>
279276
</PossiblyInvalidOperand>
@@ -887,11 +884,7 @@
887884
</PossiblyNullPropertyAssignmentValue>
888885
</file>
889886
<file src="src/Lexer.php">
890-
<LoopInvalidation occurrences="3">
891-
<code>$this</code>
892-
<code>$this</code>
893-
<code>$this</code>
894-
</LoopInvalidation>
887+
<LoopInvalidation occurrences="3"/>
895888
<MissingReturnType occurrences="3">
896889
<code>error</code>
897890
<code>lex</code>
@@ -946,7 +939,7 @@
946939
<code>$method</code>
947940
<code>$token</code>
948941
</MixedAssignment>
949-
<MixedOperand occurrences="8">
942+
<MixedOperand occurrences="7">
950943
<code>$lastToken-&gt;flags</code>
951944
<code>$lastToken-&gt;token</code>
952945
<code>$lastToken-&gt;value</code>

0 commit comments

Comments
 (0)