Raise PHPStan to level 4 #103
Annotations
10 errors
CS Fixer & PHPStan (7.4):
src/JSLikeHTMLElement.php#L56
Property DOMNode::$childNodes (DOMNodeList) in isset() is not nullable.
|
CS Fixer & PHPStan (7.4):
src/JSLikeHTMLElement.php#L116
Property DOMNode::$childNodes (DOMNodeList) in isset() is not nullable.
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L343
Call to an undefined method DOMElement::setInnerHtml().
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L360
Call to an undefined method DOMElement::setInnerHtml().
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L366
Property Readability\Readability::$articleTitle (Readability\JSLikeHTMLElement|null) does not accept DOMElement.
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L367
Property Readability\Readability::$articleContent (Readability\JSLikeHTMLElement|null) does not accept DOMElement.
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L391
Call to an undefined method DOMElement::setInnerHtml().
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L416
Call to an undefined method DOMElement::setInnerHtml().
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L428
Call to an undefined method DOMElement::setInnerHtml().
|
CS Fixer & PHPStan (7.4):
src/Readability.php#L434
Call to an undefined method DOMElement::getInnerHTML().
|