Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 9 |
CRAP | |
0.00% |
0 / 1 |
XPathResult | |
0.00% |
0 / 9 |
|
0.00% |
0 / 9 |
90 | |
0.00% |
0 / 1 |
_unimplemented | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | |||||
getResultType | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getNumberValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getStringValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getBooleanValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getSingleNodeValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getInvalidIteratorState | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getSnapshotLength | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
iterateNext | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
snapshotItem | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM\Stub; |
7 | |
8 | use Exception; |
9 | use Wikimedia\IDLeDOM\Node; |
10 | |
11 | trait XPathResult { |
12 | |
13 | // Underscore is used to avoid conflicts with DOM-reserved names |
14 | // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore |
15 | // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName |
16 | |
17 | /** |
18 | * @return Exception |
19 | */ |
20 | abstract protected function _unimplemented(): Exception; |
21 | |
22 | // phpcs:enable |
23 | |
24 | /** |
25 | * @return int |
26 | */ |
27 | public function getResultType(): int { |
28 | throw self::_unimplemented(); |
29 | } |
30 | |
31 | /** |
32 | * @return float |
33 | */ |
34 | public function getNumberValue(): float { |
35 | throw self::_unimplemented(); |
36 | } |
37 | |
38 | /** |
39 | * @return string |
40 | */ |
41 | public function getStringValue(): string { |
42 | throw self::_unimplemented(); |
43 | } |
44 | |
45 | /** |
46 | * @return bool |
47 | */ |
48 | public function getBooleanValue(): bool { |
49 | throw self::_unimplemented(); |
50 | } |
51 | |
52 | /** |
53 | * @return Node|null |
54 | */ |
55 | public function getSingleNodeValue() { |
56 | throw self::_unimplemented(); |
57 | } |
58 | |
59 | /** |
60 | * @return bool |
61 | */ |
62 | public function getInvalidIteratorState(): bool { |
63 | throw self::_unimplemented(); |
64 | } |
65 | |
66 | /** |
67 | * @return int |
68 | */ |
69 | public function getSnapshotLength(): int { |
70 | throw self::_unimplemented(); |
71 | } |
72 | |
73 | /** |
74 | * @return Node|null |
75 | */ |
76 | public function iterateNext() { |
77 | throw self::_unimplemented(); |
78 | } |
79 | |
80 | /** |
81 | * @param int $index |
82 | * @return Node|null |
83 | */ |
84 | public function snapshotItem( int $index ) { |
85 | throw self::_unimplemented(); |
86 | } |
87 | |
88 | } |