Skip to content

Commit

Permalink
Fix/ignore last psalm reports
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Sep 14, 2021
1 parent 205f77e commit af28f8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
6 changes: 0 additions & 6 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,5 @@
<referencedClass name="Doctrine\DBAL\Schema\Table" />
</errorLevel>
</UndefinedDocblockClass>
<UndefinedFunction>
<errorLevel type="suppress">
<referencedFunction name="dlib_vector_length"/>
<referencedFunction name="dlib_chinese_whispers"/>
</errorLevel>
</UndefinedFunction>
</issueHandlers>
</psalm>
27 changes: 11 additions & 16 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
<code>TempImage</code>
</MissingDependency>
</file>
<file src="lib/BackgroundJob/Tasks/CreateClustersTask.php">
<UndefinedFunction occurrences="2">
<referencedFunction name="dlib_vector_length"/>
<referencedFunction name="dlib_chinese_whispers"/>
</UndefinedFunction>
</file>

<file src="lib/Command/MigrateCommand.php">
<MissingDependency occurrences="1">
<code>OCP_Image</code>
Expand Down Expand Up @@ -75,18 +82,6 @@
<code>UserDeletedListener</code>
</MissingDependency>
</file>
<file src="lib/Model/DlibCnnModel/DlibCnnModel.php">
<TooFewArguments occurrences="2">
<code>computeDescriptor</code>
<code>computeDescriptor</code>
</TooFewArguments>
</file>
<file src="lib/Model/DlibHogModel/DlibHogModel.php">
<TooFewArguments occurrences="2">
<code>computeDescriptor</code>
<code>computeDescriptor</code>
</TooFewArguments>
</file>
<file src="lib/Model/ExternalModel/ExternalModel.php">
<InvalidScalarArgument occurrences="3">
<code>$response</code>
Expand Down Expand Up @@ -136,9 +131,9 @@
<code>IRootFolder</code>
</MissingDependency>
</file>
<file src="vendor/phpunit/php-code-coverage/tests/_files/Crash.php">
<ParseError occurrences="1">
<code>{</code>
</ParseError>
<file src="lib/Model/DlibHogModel/DlibHogModel.php">
<UndefinedFunction occurrences="1">
<referencedFunction name="dlib_face_detection"/>
</UndefinedFunction>
</file>
</files>

0 comments on commit af28f8b

Please sign in to comment.