Skip to content

Increase type safety #92

Increase type safety

Increase type safety #92

Triggered via pull request March 18, 2024 23:02
Status Failure
Total duration 37s
Artifacts

coding-standards.yml

on: pull_request
Matrix: CS Fixer & PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
CS Fixer & PHPStan (7.4): src/JSLikeHTMLElement.php#L42
Property DOMNode::$childNodes (DOMNodeList) in isset() is not nullable.
CS Fixer & PHPStan (7.4): src/JSLikeHTMLElement.php#L97
Property DOMNode::$childNodes (DOMNodeList) in isset() is not nullable.
CS Fixer & PHPStan (7.4): src/Readability.php#L510
Property DOMNode::$textContent (string) in isset() is not nullable.
CS Fixer & PHPStan (7.4): src/Readability.php#L880
Property DOMElement::$tagName (string) in isset() is not nullable.
CS Fixer & PHPStan (7.4): src/Readability.php#L1240
Call to an undefined method DOMNode::hasAttribute().
CS Fixer & PHPStan (7.4): src/Readability.php#L1244
Call to an undefined method DOMNode::getAttribute().
CS Fixer & PHPStan (7.4): src/Readability.php#L1252
Call to an undefined method DOMNode::getAttribute().
CS Fixer & PHPStan (7.4): src/Readability.php#L1260
Call to an undefined method DOMNode::hasAttribute().
CS Fixer & PHPStan (7.4): src/Readability.php#L1261
Parameter #1 $node of method Readability\Readability::initializeNode() expects Readability\JSLikeHTMLElement, DOMNode|null given.
CS Fixer & PHPStan (7.4): src/Readability.php#L1266
Access to an undefined property DOMNode::$tagName.