Skip to content

Commit 5e5dacd

Browse files
Update Psalm baseline
1 parent 68f9290 commit 5e5dacd

File tree

1 file changed

+8
-33
lines changed

1 file changed

+8
-33
lines changed

.psalm/baseline.xml

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@
250250
<code>evaluate</code>
251251
</MissingThrowsDocblock>
252252
</file>
253-
<file src="src/Framework/Constraint/String/StringMatchesFormatDescription.php">
254-
<MissingThrowsDocblock occurrences="1">
255-
<code>new Differ(new UnifiedDiffOutputBuilder("--- Expected\n+++ Actual\n"))</code>
256-
</MissingThrowsDocblock>
257-
</file>
258253
<file src="src/Framework/Constraint/Type/IsInstanceOf.php">
259254
<ArgumentTypeCoercion occurrences="1">
260255
<code>$this-&gt;className</code>
@@ -379,9 +374,6 @@
379374
<code>$this-&gt;expectedException</code>
380375
<code>$this-&gt;size()</code>
381376
</ArgumentTypeCoercion>
382-
<InvalidArgument occurrences="1">
383-
<code>$header</code>
384-
</InvalidArgument>
385377
<InvalidReturnStatement occurrences="1">
386378
<code>$mockObject</code>
387379
</InvalidReturnStatement>
@@ -391,7 +383,7 @@
391383
<LessSpecificReturnStatement occurrences="1">
392384
<code>array_unique($this-&gt;doubledTypes)</code>
393385
</LessSpecificReturnStatement>
394-
<MissingThrowsDocblock occurrences="11">
386+
<MissingThrowsDocblock occurrences="10">
395387
<code>generateClassFromWsdl</code>
396388
<code>getMock</code>
397389
<code>getMock</code>
@@ -400,7 +392,6 @@
400392
<code>getMockForAbstractClass</code>
401393
<code>getMockForTrait</code>
402394
<code>getObjectForTrait</code>
403-
<code>new Differ($header)</code>
404395
<code>onlyMethods</code>
405396
<code>restoreGlobalState</code>
406397
</MissingThrowsDocblock>
@@ -743,7 +734,7 @@
743734
<code>hasCacheDirectory</code>
744735
<code>hasCacheResultFile</code>
745736
</DeprecatedMethod>
746-
<MissingThrowsDocblock occurrences="76">
737+
<MissingThrowsDocblock occurrences="81">
747738
<code>backupGlobals</code>
748739
<code>backupStaticProperties</code>
749740
<code>beStrictAboutChangesToGlobalState</code>
@@ -787,6 +778,11 @@
787778
<code>html</code>
788779
<code>html</code>
789780
<code>html</code>
781+
<code>html</code>
782+
<code>html</code>
783+
<code>html</code>
784+
<code>html</code>
785+
<code>html</code>
790786
<code>includePath</code>
791787
<code>junitLogfile</code>
792788
<code>noInteraction</code>
@@ -891,38 +887,17 @@
891887
</PossiblyNullArrayOffset>
892888
</file>
893889
<file src="src/TextUI/Configuration/Xml/Loader.php">
894-
<RedundantCast occurrences="31">
890+
<RedundantCast occurrences="10">
895891
<code>(string) $argument-&gt;textContent</code>
896-
<code>(string) $const-&gt;getAttribute('name')</code>
897-
<code>(string) $const-&gt;getAttribute('value')</code>
898-
<code>(string) $directoryNode-&gt;getAttribute('group')</code>
899-
<code>(string) $directoryNode-&gt;getAttribute('phpVersion')</code>
900-
<code>(string) $directoryNode-&gt;getAttribute('phpVersionOperator')</code>
901-
<code>(string) $directoryNode-&gt;getAttribute('prefix')</code>
902-
<code>(string) $directoryNode-&gt;getAttribute('prefix')</code>
903-
<code>(string) $directoryNode-&gt;getAttribute('suffix')</code>
904-
<code>(string) $directoryNode-&gt;getAttribute('suffix')</code>
905892
<code>(string) $directoryNode-&gt;textContent</code>
906893
<code>(string) $directoryNode-&gt;textContent</code>
907894
<code>(string) $document-&gt;documentElement-&gt;getAttribute('columns')</code>
908-
<code>(string) $element-&gt;getAttribute($attribute)</code>
909-
<code>(string) $element-&gt;getAttribute($attribute)</code>
910-
<code>(string) $element-&gt;getAttribute($attribute)</code>
911-
<code>(string) $element-&gt;getAttribute('class')</code>
912-
<code>(string) $element-&gt;getAttribute('file')</code>
913-
<code>(string) $element-&gt;getAttribute('name')</code>
914895
<code>(string) $excludeNode-&gt;textContent</code>
915896
<code>(string) $file-&gt;textContent</code>
916-
<code>(string) $fileNode-&gt;getAttribute('phpVersion')</code>
917-
<code>(string) $fileNode-&gt;getAttribute('phpVersionOperator')</code>
918897
<code>(string) $fileNode-&gt;textContent</code>
919898
<code>(string) $group-&gt;textContent</code>
920899
<code>(string) $group-&gt;textContent</code>
921900
<code>(string) $includePath-&gt;textContent</code>
922-
<code>(string) $ini-&gt;getAttribute('name')</code>
923-
<code>(string) $ini-&gt;getAttribute('value')</code>
924-
<code>(string) $var-&gt;getAttribute('name')</code>
925-
<code>(string) $var-&gt;getAttribute('value')</code>
926901
</RedundantCast>
927902
<RedundantConditionGivenDocblockType occurrences="2">
928903
<code>assert($directoryNode instanceof DOMElement)</code>

0 commit comments

Comments
 (0)