-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also update the baseline with the newly-found warnings (which we can tackle in future changes).
- Loading branch information
1 parent
867a952
commit 06785d1
Showing
2 changed files
with
75 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,80 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.x-dev@"> | ||
<files psalm-version="dev-master@"> | ||
<file src="src/CssInliner.php"> | ||
<PossiblyNullOperand occurrences="1"> | ||
<InvalidArgument occurrences="1"/> | ||
<MixedArgument occurrences="1"> | ||
<code>$styleNode</code> | ||
</MixedArgument> | ||
<MixedAssignment occurrences="8"> | ||
<code>$matchingNodes</code> | ||
<code>$node</code> | ||
<code>$nodesMatchingCssSelectors</code> | ||
<code>$nodesMatchingSelector</code> | ||
<code>$parentNode</code> | ||
<code>$path</code> | ||
<code>$styleNode</code> | ||
<code>$styleNodes</code> | ||
</MixedAssignment> | ||
<MixedMethodCall occurrences="1"> | ||
<code>getNodePath</code> | ||
</MixedMethodCall> | ||
<MixedOperand occurrences="2"> | ||
<code>$path</code> | ||
<code>$styleNode->nodeValue</code> | ||
</PossiblyNullOperand> | ||
</MixedOperand> | ||
<MixedPropertyFetch occurrences="3"> | ||
<code>$nodesMatchingSelector->length</code> | ||
<code>$styleNode->nodeValue</code> | ||
<code>$styleNode->parentNode</code> | ||
</MixedPropertyFetch> | ||
<RawObjectIteration occurrences="3"> | ||
<code>$matchingNodes</code> | ||
<code>$nodesMatchingCssSelectors</code> | ||
<code>$styleNodes</code> | ||
</RawObjectIteration> | ||
<ReservedWord occurrences="3"> | ||
<code>$matchingNodes</code> | ||
<code>$nodesMatchingCssSelectors</code> | ||
<code>$styleNodes</code> | ||
</ReservedWord> | ||
<UndefinedClass occurrences="1"> | ||
<code>$nodesMatchingSelector->length</code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="src/HtmlProcessor/CssToAttributeConverter.php"> | ||
<MixedInferredReturnType occurrences="1"> | ||
<code>\DOMNodeList</code> | ||
</MixedInferredReturnType> | ||
<MixedReturnStatement occurrences="1"> | ||
<code>$this->getXPath()->query('//*[@style]')</code> | ||
</MixedReturnStatement> | ||
</file> | ||
<file src="src/HtmlProcessor/AbstractHtmlProcessor.php"> | ||
<ArgumentTypeCoercion occurrences="1"> | ||
<code>$this->prepareHtmlForDomConversion($html)</code> | ||
</ArgumentTypeCoercion> | ||
<file src="src/HtmlProcessor/HtmlPruner.php"> | ||
<MixedArgument occurrences="2"> | ||
<code>$elementsWithClassAttribute</code> | ||
<code>$elementsWithClassAttribute</code> | ||
</MixedArgument> | ||
<MixedAssignment occurrences="4"> | ||
<code>$element</code> | ||
<code>$elementsWithClassAttribute</code> | ||
<code>$elementsWithStyleDisplayNone</code> | ||
<code>$parentNode</code> | ||
</MixedAssignment> | ||
<MixedMethodCall occurrences="1"> | ||
<code>removeChild</code> | ||
</MixedMethodCall> | ||
<MixedPropertyFetch occurrences="2"> | ||
<code>$element->parentNode</code> | ||
<code>$elementsWithStyleDisplayNone->length</code> | ||
</MixedPropertyFetch> | ||
<RawObjectIteration occurrences="1"> | ||
<code>$elementsWithStyleDisplayNone</code> | ||
</RawObjectIteration> | ||
<ReservedWord occurrences="1"> | ||
<code>$elementsWithStyleDisplayNone</code> | ||
</ReservedWord> | ||
<UndefinedClass occurrences="1"> | ||
<code>$elementsWithStyleDisplayNone->length</code> | ||
</UndefinedClass> | ||
</file> | ||
</files> |