mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-24 17:31:00 +02:00
Remove PHPStan excludes related to DOMElement/DOMNode.
This commit is contained in:
parent
bd1e066402
commit
3e6a6654fa
@ -7,11 +7,6 @@ parameters:
|
||||
- message: '#"(autoload|colors|config|errorhandler|login_form|sessions)\.php"#'
|
||||
identifier: requireOnce.fileNotFound
|
||||
|
||||
# undetected as DOMElement
|
||||
- '#Call to an undefined method DOMNode::#'
|
||||
- '#Access to an undefined property DOMNode::#'
|
||||
- '#expects DOMElement, DOMNode given#'
|
||||
|
||||
- message: '##'
|
||||
paths:
|
||||
- lib/*
|
||||
|
||||
@ -64,7 +64,7 @@ class Af_Comics_ComicPress extends Af_ComicFilter {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DOMNodeList<DOMNode> $toUpdates
|
||||
* @param DOMNodeList<DOMElement> $toUpdates
|
||||
*/
|
||||
private function move_all_attributes(DOMNodeList $toUpdates, string $srcName, string $dstName): void {
|
||||
foreach ($toUpdates as $toUpdate) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user