Increase type safety #92
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.
|