2022-04-15 13:01:27 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-01-04 23:38:23 +00:00
|
|
|
<files psalm-version="5.4.0@62db5d4f6a7ae0a20f7cc5a4952d730272fc0863">
|
2022-04-15 13:01:27 +00:00
|
|
|
<file src="lib/Model/ActivityPub/ACore.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>['a', 'p', 'span', 'br']</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidClass occurrences="1">
|
|
|
|
<code>Acore</code>
|
|
|
|
</InvalidClass>
|
2023-01-04 23:38:23 +00:00
|
|
|
<InvalidNullableReturnType occurrences="1">
|
2022-04-15 13:01:27 +00:00
|
|
|
<code>ACore</code>
|
|
|
|
<code>ACore</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$parent</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
2023-01-04 23:38:23 +00:00
|
|
|
<NullableReturnStatement occurrences="1">
|
2022-04-15 13:01:27 +00:00
|
|
|
<code>$this->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->getItem($this->getObjectId())</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
2022-12-03 16:55:34 +00:00
|
|
|
<file src="lib/Db/CoreRequestBuilder.php">
|
|
|
|
<UndefinedMethod occurrences="3">
|
|
|
|
<code>dropTable</code>
|
|
|
|
<code>hasTable</code>
|
|
|
|
<code>hasTable</code>
|
|
|
|
</UndefinedMethod>
|
2023-01-04 23:38:23 +00:00
|
|
|
<InvalidArgument occurrences="2"/>
|
2022-12-03 16:55:34 +00:00
|
|
|
</file>
|
2022-04-15 13:01:27 +00:00
|
|
|
<file src="lib/Service/CheckService.php">
|
|
|
|
<RedundantCast occurrences="1">
|
|
|
|
<code>(bool)($this->cache->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->configService->getAppValue(ConfigService::SOCIAL_MAX_SIZE)</code>
|
|
|
|
</InvalidOperand>
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>is_array($result)</code>
|
|
|
|
</RedundantCondition>
|
2022-12-03 16:55:34 +00:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>$this->maxDownloadSizeReached === true</code>
|
|
|
|
</TypeDoesNotContainType>
|
2023-01-04 23:38:23 +00:00
|
|
|
<InvalidArgument occurrences="8"/>
|
2022-04-15 13:01:27 +00:00
|
|
|
</file>
|
|
|
|
<file src="lib/Service/PostService.php">
|
|
|
|
<UndefinedMethod occurrences="2">
|
|
|
|
<code>setAttributedTo</code>
|
|
|
|
<code>setContent</code>
|
|
|
|
</UndefinedMethod>
|
2023-01-04 23:38:23 +00:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>is_array($_FILES['attachments']['error'])</code>
|
|
|
|
</TypeDoesNotContainType>
|
2022-04-15 13:01:27 +00:00
|
|
|
</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>
|