|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<files psalm-version="6.12.0@cf420941d061a57050b6c468ef2c778faf40aee2"> |
| 3 | + <file src="src/Reader/JsonLdReader.php"> |
| 4 | + <ArgumentTypeCoercion> |
| 5 | + <code><![CDATA[$data]]></code> |
| 6 | + <code><![CDATA[$item]]></code> |
| 7 | + <code><![CDATA[$value]]></code> |
| 8 | + </ArgumentTypeCoercion> |
| 9 | + <DocblockTypeContradiction> |
| 10 | + <code><![CDATA[is_string($type)]]></code> |
| 11 | + </DocblockTypeContradiction> |
| 12 | + <MissingClosureParamType> |
| 13 | + <code><![CDATA[$a]]></code> |
| 14 | + </MissingClosureParamType> |
| 15 | + <MixedArgument> |
| 16 | + <code><![CDATA[$name]]></code> |
| 17 | + </MixedArgument> |
| 18 | + <MixedArrayAccess> |
| 19 | + <code><![CDATA[$name[0]]]></code> |
| 20 | + </MixedArrayAccess> |
| 21 | + <PossiblyInvalidArgument> |
| 22 | + <code><![CDATA[fn(DOMNode $node) => $this->readJson($node->textContent, $url)]]></code> |
| 23 | + </PossiblyInvalidArgument> |
| 24 | + <RawObjectIteration> |
| 25 | + <code><![CDATA[$item]]></code> |
| 26 | + </RawObjectIteration> |
| 27 | + <RedundantConditionGivenDocblockType> |
| 28 | + <code><![CDATA[null]]></code> |
| 29 | + </RedundantConditionGivenDocblockType> |
| 30 | + </file> |
| 31 | + <file src="src/Reader/MicrodataReader.php"> |
| 32 | + <InvalidArgument> |
| 33 | + <code><![CDATA[function(DOMNode $itemprop) use ($node, $xpath) { |
| 34 | + for (;;) { |
| 35 | + $itemprop = $itemprop->parentNode; |
| 36 | +
|
| 37 | + if ($itemprop->isSameNode($node)) { |
| 38 | + return true; |
| 39 | + } |
| 40 | +
|
| 41 | + if ($itemprop->attributes->getNamedItem('itemscope')) { |
| 42 | + return false; |
| 43 | + } |
| 44 | + } |
| 45 | + }]]></code> |
| 46 | + </InvalidArgument> |
| 47 | + <PossiblyInvalidArgument> |
| 48 | + <code><![CDATA[fn(DOMNode $node) => $this->nodeToItem($node, $xpath, $url)]]></code> |
| 49 | + <code><![CDATA[function(DOMNode $itemprop) use ($node, $xpath) { |
| 50 | + for (;;) { |
| 51 | + $itemprop = $itemprop->parentNode; |
| 52 | +
|
| 53 | + if ($itemprop->isSameNode($node)) { |
| 54 | + return true; |
| 55 | + } |
| 56 | +
|
| 57 | + if ($itemprop->attributes->getNamedItem('itemscope')) { |
| 58 | + return false; |
| 59 | + } |
| 60 | + } |
| 61 | + }]]></code> |
| 62 | + </PossiblyInvalidArgument> |
| 63 | + <PossiblyNullArgument> |
| 64 | + <code><![CDATA[$names]]></code> |
| 65 | + <code><![CDATA[preg_replace('/\s+/', ' ', $node->textContent)]]></code> |
| 66 | + </PossiblyNullArgument> |
| 67 | + <PossiblyNullPropertyFetch> |
| 68 | + <code><![CDATA[$itemprop->attributes->getNamedItem('itemprop')->textContent]]></code> |
| 69 | + </PossiblyNullPropertyFetch> |
| 70 | + <PossiblyNullReference> |
| 71 | + <code><![CDATA[getNamedItem]]></code> |
| 72 | + <code><![CDATA[getNamedItem]]></code> |
| 73 | + <code><![CDATA[getNamedItem]]></code> |
| 74 | + <code><![CDATA[getNamedItem]]></code> |
| 75 | + <code><![CDATA[isSameNode]]></code> |
| 76 | + </PossiblyNullReference> |
| 77 | + </file> |
| 78 | + <file src="src/Reader/RdfaLiteReader.php"> |
| 79 | + <InvalidArgument> |
| 80 | + <code><![CDATA[function(DOMNode $itemprop) use ($node, $xpath) { |
| 81 | + for (;;) { |
| 82 | + $itemprop = $itemprop->parentNode; |
| 83 | +
|
| 84 | + if ($itemprop->isSameNode($node)) { |
| 85 | + return true; |
| 86 | + } |
| 87 | +
|
| 88 | + if ($itemprop->attributes->getNamedItem('typeof')) { |
| 89 | + return false; |
| 90 | + } |
| 91 | + } |
| 92 | +
|
| 93 | + // Unreachable, but makes static analysis happy |
| 94 | + return false; |
| 95 | + }]]></code> |
| 96 | + </InvalidArgument> |
| 97 | + <PossiblyInvalidArgument> |
| 98 | + <code><![CDATA[fn(DOMNode $node) => $this->nodeToItem($node, $xpath, $url, self::PREDEFINED_PREFIXES, null)]]></code> |
| 99 | + <code><![CDATA[function(DOMNode $itemprop) use ($node, $xpath) { |
| 100 | + for (;;) { |
| 101 | + $itemprop = $itemprop->parentNode; |
| 102 | +
|
| 103 | + if ($itemprop->isSameNode($node)) { |
| 104 | + return true; |
| 105 | + } |
| 106 | +
|
| 107 | + if ($itemprop->attributes->getNamedItem('typeof')) { |
| 108 | + return false; |
| 109 | + } |
| 110 | + } |
| 111 | +
|
| 112 | + // Unreachable, but makes static analysis happy |
| 113 | + return false; |
| 114 | + }]]></code> |
| 115 | + </PossiblyInvalidArgument> |
| 116 | + <PossiblyNullArgument> |
| 117 | + <code><![CDATA[$names]]></code> |
| 118 | + <code><![CDATA[$typeof->textContent]]></code> |
| 119 | + <code><![CDATA[preg_replace('/\s+/', ' ', $node->textContent)]]></code> |
| 120 | + </PossiblyNullArgument> |
| 121 | + <PossiblyNullPropertyFetch> |
| 122 | + <code><![CDATA[$property->attributes->getNamedItem('property')->textContent]]></code> |
| 123 | + <code><![CDATA[$typeof->textContent]]></code> |
| 124 | + </PossiblyNullPropertyFetch> |
| 125 | + <PossiblyNullReference> |
| 126 | + <code><![CDATA[getNamedItem]]></code> |
| 127 | + <code><![CDATA[getNamedItem]]></code> |
| 128 | + <code><![CDATA[getNamedItem]]></code> |
| 129 | + <code><![CDATA[getNamedItem]]></code> |
| 130 | + <code><![CDATA[getNamedItem]]></code> |
| 131 | + <code><![CDATA[isSameNode]]></code> |
| 132 | + </PossiblyNullReference> |
| 133 | + </file> |
| 134 | +</files> |
0 commit comments