Skip to content

Fix DOMElement::$attributes stub #21237

Fix DOMElement::$attributes stub

Fix DOMElement::$attributes stub #21237

Triggered via pull request May 27, 2025 14:03
Status Failure
Total duration 4m 58s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 32s
Generate baseline
Generate PHP baseline
1m 39s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

48 errors
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.1): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.1): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.2): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.4, ubuntu-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.4): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.2, ubuntu-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan with result cache (8.3): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.1, ubuntu-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.3, ubuntu-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.0, ubuntu-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (7.4, ubuntu-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.2, windows-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.4, windows-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.1, windows-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.3, windows-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (8.0, windows-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): stubs/dom.stub#L50
PHPDoc tag @var for property DOMElement::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.
PHPStan (7.4, windows-latest): stubs/dom.stub#L36
PHPDoc tag @var for property DOMNode::$attributes contains generic type DOMNamedNodeMap<DOMAttr> but class DOMNamedNodeMap is not generic.