-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
And indicate that `DOMNode::$attributes` is a node map of `DOMAttr`
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,8 @@ class DOMDocument | |
|
||
class DOMNode | ||
{ | ||
|
||
/** @var DOMNamedNodeMap<string, DOMAttr>|null */ | ||
public readonly ?DOMNamedNodeMap $attributes; | ||
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-1 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-1 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug10449b ../../bin/phpstan analyze git apply patch.diff rm phpsta...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug10449b ../../bin/phpstan analyze git apply patch.diff rm phpsta...
Check failure on line 33 in stubs/dom.stub GitHub Actions / E2E tests (bin/phpstan analyse e2e/only-files-not-analysed-trait/src -c e2e/only-files-not-analys...
Check failure on line 33 in stubs/dom.stub GitHub Actions / E2E tests (bin/phpstan analyse e2e/only-files-not-analysed-trait/src -c e2e/only-files-not-analys...
Check failure on line 33 in stubs/dom.stub GitHub Actions / E2E tests (cd e2e/discussion-11362 composer install ../../bin/phpstan )
Check failure on line 33 in stubs/dom.stub GitHub Actions / E2E tests (cd e2e/discussion-11362 composer install ../../bin/phpstan )
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug-9622 echo -n > phpstan-baseline.neon ../../bin/phpstan -vvv pa...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug-9622 echo -n > phpstan-baseline.neon ../../bin/phpstan -vvv pa...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug10449 ../../bin/phpstan analyze git apply patch.diff rm phpstan...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug10449 ../../bin/phpstan analyze git apply patch.diff rm phpstan...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-5 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-5 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-2 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-2 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug-9622-trait echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug-9622-trait echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug-11857 composer install ../../bin/phpstan )
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-6 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-6 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/bug-11857 composer install ../../bin/phpstan )
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-7 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-7 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-3 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-3 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Compiler Tests
Check failure on line 33 in stubs/dom.stub GitHub Actions / Compiler Tests
Check failure on line 33 in stubs/dom.stub GitHub Actions / Integration tests (ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / Integration tests (ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-4 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-4 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Integration tests (windows-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / Integration tests (windows-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.3, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.3, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-8 composer install ../../bin/phpstan echo -en '\n' >>...
Check failure on line 33 in stubs/dom.stub GitHub Actions / Result cache E2E tests (cd e2e/result-cache-8 composer install ../../bin/phpstan echo -en '\n' >>...
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.1, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.1, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.3)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.3)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.4)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.4)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.4, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.4, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.2)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.2)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.0, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.0, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.2, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan (8.2, ubuntu-latest)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.1)
Check failure on line 33 in stubs/dom.stub GitHub Actions / PHPStan with result cache (8.1)
|
||
} | ||
|
||
class DOMElement extends DOMNode | ||
|
@@ -141,9 +142,12 @@ class DOMProcessingInstruction | |
} | ||
|
||
/** | ||
* @template-covariant TNode as DOMNode | ||
* @implements Traversable<string, TNode> | ||
* @implements IteratorAggregate<int, TNode> | ||
* @property-read int $length | ||
*/ | ||
class DOMNamedNodeMap | ||
class DOMNamedNodeMap implements Traversable, IteratorAggregate, Countable | ||
{ | ||
|
||
} | ||
|