social/tests/psalm-baseline.xml

90 wiersze
3.0 KiB
XML
Czysty Zwykły widok Historia

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.4.0@62db5d4f6a7ae0a20f7cc5a4952d730272fc0863">
<file src="lib/Model/ActivityPub/ACore.php">
<InvalidArgument occurrences="1">
<code>['a', 'p', 'span', 'br']</code>
</InvalidArgument>
<InvalidClass occurrences="1">
<code>Acore</code>
</InvalidClass>
<InvalidNullableReturnType occurrences="1">
<code>ACore</code>
<code>ACore</code>
</InvalidNullableReturnType>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$parent</code>
</InvalidPropertyAssignmentValue>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;parent</code>
</NullableReturnStatement>
<TypeDoesNotContainNull occurrences="1">
<code>$v === null</code>
</TypeDoesNotContainNull>
<TypeDoesNotContainType occurrences="2">
<code>$v === 0</code>
<code>$v === 0</code>
</TypeDoesNotContainType>
</file>
<file src="lib/Model/ActivityPub/Object/Announce.php">
<RedundantCondition occurrences="1">
<code>$object = $cache-&gt;getItem($this-&gt;getObjectId())</code>
</RedundantCondition>
</file>
<file src="lib/Db/CoreRequestBuilder.php">
<UndefinedMethod occurrences="3">
<code>dropTable</code>
<code>hasTable</code>
<code>hasTable</code>
</UndefinedMethod>
<InvalidArgument occurrences="2"/>
</file>
<file src="lib/Service/CheckService.php">
<RedundantCast occurrences="1">
<code>(bool)($this-&gt;cache-&gt;get(self::CACHE_PREFIX . 'wellknown') === 'true')</code>
</RedundantCast>
<UndefinedClass occurrences="1">
<code>ClientException</code>
</UndefinedClass>
</file>
<file src="lib/Service/CurlService.php">
<InvalidOperand occurrences="1">
<code>$this-&gt;configService-&gt;getAppValue(ConfigService::SOCIAL_MAX_SIZE)</code>
</InvalidOperand>
<RedundantCondition occurrences="1">
<code>is_array($result)</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>$this-&gt;maxDownloadSizeReached === true</code>
</TypeDoesNotContainType>
<InvalidArgument occurrences="8"/>
</file>
<file src="lib/Service/PostService.php">
<UndefinedMethod occurrences="2">
<code>setAttributedTo</code>
<code>setContent</code>
</UndefinedMethod>
<TypeDoesNotContainType occurrences="1">
<code>is_array($_FILES['attachments']['error'])</code>
</TypeDoesNotContainType>
</file>
<file src="lib/Service/SearchService.php">
<InvalidOperand occurrences="3">
<code>!$type</code>
<code>!$type</code>
<code>!$type</code>
</InvalidOperand>
</file>
<file src="lib/Service/SignatureService.php">
<RedundantCondition occurrences="1">
<code>$varr[0] !== null</code>
</RedundantCondition>
</file>
<file src="lib/Service/TestService.php">
<TypeDoesNotContainNull occurrences="3">
<code>$host === null</code>
<code>$username === null</code>
<code>$username === null</code>
</TypeDoesNotContainNull>
</file>
</files>