social/tests/psalm-baseline.xml

70 wiersze
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="lib/Model/ActivityPub/ACore.php">
<InvalidClass>
<code><![CDATA[Acore]]></code>
</InvalidClass>
<InvalidNullableReturnType>
<code><![CDATA[ACore]]></code>
<code><![CDATA[ACore]]></code>
</InvalidNullableReturnType>
<InvalidPropertyAssignmentValue>
<code><![CDATA[$parent]]></code>
</InvalidPropertyAssignmentValue>
<NullableReturnStatement>
<code><![CDATA[$this->parent]]></code>
</NullableReturnStatement>
<TypeDoesNotContainNull>
<code><![CDATA[$v === null]]></code>
</TypeDoesNotContainNull>
<TypeDoesNotContainType>
<code><![CDATA[$v === 0]]></code>
<code><![CDATA[$v === 0]]></code>
</TypeDoesNotContainType>
</file>
<file src="lib/Db/CoreRequestBuilder.php">
<UndefinedMethod>
<code><![CDATA[dropTable]]></code>
<code><![CDATA[hasTable]]></code>
<code><![CDATA[hasTable]]></code>
</UndefinedMethod>
<InvalidArgument>
<code><![CDATA[Server::get(Connection::class)]]></code>
<code><![CDATA[Server::get(Connection::class)]]></code>
</InvalidArgument>
</file>
<file src="lib/Service/CheckService.php">
<RedundantCast>
<code><![CDATA[(bool)($this->cache->get(self::CACHE_PREFIX . 'wellknown') === 'true')]]></code>
</RedundantCast>
<UndefinedClass>
<code><![CDATA[ClientException]]></code>
</UndefinedClass>
</file>
<file src="lib/Service/CurlService.php">
<InvalidOperand>
<code><![CDATA[$this->configService->getAppValue(ConfigService::SOCIAL_MAX_SIZE)]]></code>
</InvalidOperand>
<TypeDoesNotContainType>
<code><![CDATA[$this->maxDownloadSizeReached === true]]></code>
</TypeDoesNotContainType>
</file>
<file src="lib/Service/PostService.php">
<TypeDoesNotContainType>
<code><![CDATA[is_array($_FILES['attachments']['error'])]]></code>
</TypeDoesNotContainType>
</file>
<file src="lib/Service/SearchService.php">
<InvalidOperand>
<code><![CDATA[!$type]]></code>
<code><![CDATA[!$type]]></code>
<code><![CDATA[!$type]]></code>
</InvalidOperand>
</file>
<file src="lib/Service/SignatureService.php">
<RedundantCondition>
<code><![CDATA[$varr[0] !== null]]></code>
</RedundantCondition>
</file>
</files>