summaryrefslogtreecommitdiffstats
path: root/tests/psalm-baseline.xml
blob: 999bc7fec63f822edd355c6b06aedf62ad9bdd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.13.1@086b94371304750d1c673315321a55d15fc59015">
  <file src="lib/Model/ActivityPub/ACore.php">
    <InvalidArgument>
      <code><![CDATA[['a', 'p', 'span', 'br']]]></code>
    </InvalidArgument>
    <InvalidClass>
      <code>Acore</code>
    </InvalidClass>
    <InvalidNullableReturnType>
      <code>ACore</code>
      <code>ACore</code>
    </InvalidNullableReturnType>
    <InvalidPropertyAssignmentValue>
      <code>$parent</code>
    </InvalidPropertyAssignmentValue>
    <NullableReturnStatement>
      <code><![CDATA[$this->parent]]></code>
    </NullableReturnStatement>
    <TypeDoesNotContainNull>
      <code>$v === null</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType>
      <code>$v === 0</code>
      <code>$v === 0</code>
    </TypeDoesNotContainType>
  </file>
  <file src="lib/Db/CoreRequestBuilder.php">
    <UndefinedMethod>
      <code>dropTable</code>
      <code>hasTable</code>
      <code>hasTable</code>
    </UndefinedMethod>
    <InvalidArgument>
      <code>Server::get(Connection::class)</code>
      <code>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>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>!$type</code>
      <code>!$type</code>
      <code>!$type</code>
    </InvalidOperand>
  </file>
  <file src="lib/Service/SignatureService.php">
    <RedundantCondition>
      <code>$varr[0] !== null</code>
    </RedundantCondition>
  </file>
</files>