chore(static analysis): Ignore Symfony Command classes for Psalm

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2022-12-22 09:12:46 +01:00
Родитель fa8b120670
Коммит 88e975d512
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: CC42AC2A7F0E56D8
2 изменённых файлов: 6 добавлений и 79 удалений

Просмотреть файл

@ -32,6 +32,11 @@
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
<referencedClass name="Psr\Http\Client\ClientExceptionInterface" />
<referencedClass name="Symfony\Component\HttpFoundation\IpUtils" />
<referencedClass name="Symfony\Component\Console\Command\Command" />
<referencedClass name="Symfony\Component\Console\Input\InputArgument" />
<referencedClass name="Symfony\Component\Console\Input\InputInterface" />
<referencedClass name="Symfony\Component\Console\Input\InputOption" />
<referencedClass name="Symfony\Component\Console\Output\OutputInterface" />
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
@ -42,6 +47,7 @@
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
<referencedClass name="Doctrine\DBAL\Schema\Table" />
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
<referencedClass name="Symfony\Component\Console\Output\OutputInterface" />
</errorLevel>
</UndefinedDocblockClass>
<UndefinedFunction>

Просмотреть файл

@ -1,65 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="dev-master@">
<file src="lib/Command/AddMissingTags.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/CleanUp.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/CreateAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/CreateTagMigrationJobEntry.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/DeleteAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/DiagnoseAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/ExportAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/ExportAccountThreads.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/SyncAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/Thread.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/TrainAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Command/UpdateAccount.php">
<UndefinedClass occurrences="1">
<code>Command</code>
</UndefinedClass>
</file>
<file src="lib/Db/MessageMapper.php">
<InvalidReturnStatement occurrences="1">
<code>$update-&gt;execute()</code>
@ -85,23 +25,4 @@
<code>$node-&gt;textContent</code>
</UndefinedPropertyFetch>
</file>
<file src="lib/Support/ConsoleLoggerDecorator.php">
<UndefinedClass occurrences="2">
<code>OutputInterface</code>
<code>OutputInterface</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="11">
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>$this-&gt;consoleOutput</code>
<code>OutputInterface</code>
</UndefinedDocblockClass>
</file>
</files>