Skip to content

Commit

Permalink
Merge pull request #500 from ergebnis/fix/baseline
Browse files Browse the repository at this point in the history
Fix: Run 'make static-code-analysis-baseline'
  • Loading branch information
ergebnis-bot committed Jan 1, 2021
2 parents b12321f + c824d07 commit faae35f
Showing 1 changed file with 1 addition and 126 deletions.
127 changes: 1 addition & 126 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@
<code>addToAssertionCount</code>
</InternalMethod>
</file>
<file src="test/Unit/CountTest.php">
<RedundantCondition occurrences="2">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
</RedundantCondition>
</file>
<file src="test/Unit/EntityDefinitionTest.php">
<MissingClosureParamType occurrences="2">
<code>$entity</code>
Expand All @@ -107,118 +101,11 @@
<code>$fieldValues</code>
</UnusedClosureParam>
</file>
<file src="test/Unit/Exception/ClassMetadataNotFoundTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/ClassNotFoundTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/EntityDefinitionAlreadyRegisteredTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/EntityDefinitionNotRegisteredTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidCountTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidDefinitionTest.php">
<RedundantCondition occurrences="3">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="3">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidDirectoryTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidFieldDefinitionsTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidFieldNamesTest.php">
<RedundantCondition occurrences="2">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="2">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidMaximumTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidMinimumTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/Exception/InvalidSequenceTest.php">
<RedundantCondition occurrences="1">
<code>assertInstanceOf</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/FieldDefinition/ClosureTest.php">
<UnusedClosureParam occurrences="1">
<code>$faker</code>
</UnusedClosureParam>
</file>
<file src="test/Unit/FieldDefinition/ReferenceTest.php">
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="test/Unit/FieldDefinition/ReferencesTest.php">
<RedundantCondition occurrences="1">
<code>assertIsArray</code>
Expand Down Expand Up @@ -347,22 +234,10 @@
<code>$fieldValues['name']</code>
<code>$name</code>
</MixedArgument>
<RedundantCondition occurrences="7">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<RedundantCondition occurrences="2">
<code>assertNotNull</code>
<code>assertNotNull</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="5">
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
<code>assertInstanceOf</code>
</RedundantConditionGivenDocblockType>
<UnnecessaryVarAnnotation occurrences="23">
<code>Entity\Organization</code>
<code>Entity\Organization</code>
Expand Down

0 comments on commit faae35f

Please sign in to comment.