Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 9 |
CRAP | |
0.00% |
0 / 1 |
HTMLFieldSetElement | |
0.00% |
0 / 9 |
|
0.00% |
0 / 9 |
90 | |
0.00% |
0 / 1 |
_unimplemented | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | |||||
getForm | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getType | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getElements | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getWillValidate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getValidity | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getValidationMessage | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
checkValidity | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
reportValidity | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setCustomValidity | |
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\HTMLCollection; |
10 | use Wikimedia\IDLeDOM\HTMLFormElement; |
11 | use Wikimedia\IDLeDOM\ValidityState; |
12 | |
13 | trait HTMLFieldSetElement { |
14 | |
15 | // Underscore is used to avoid conflicts with DOM-reserved names |
16 | // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore |
17 | // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName |
18 | |
19 | /** |
20 | * @return Exception |
21 | */ |
22 | abstract protected function _unimplemented(): Exception; |
23 | |
24 | // phpcs:enable |
25 | |
26 | /** |
27 | * @return HTMLFormElement|null |
28 | */ |
29 | public function getForm() { |
30 | throw self::_unimplemented(); |
31 | } |
32 | |
33 | /** |
34 | * @return string |
35 | */ |
36 | public function getType(): string { |
37 | throw self::_unimplemented(); |
38 | } |
39 | |
40 | /** |
41 | * @return HTMLCollection |
42 | */ |
43 | public function getElements() { |
44 | throw self::_unimplemented(); |
45 | } |
46 | |
47 | /** |
48 | * @return bool |
49 | */ |
50 | public function getWillValidate(): bool { |
51 | throw self::_unimplemented(); |
52 | } |
53 | |
54 | /** |
55 | * @return ValidityState |
56 | */ |
57 | public function getValidity() { |
58 | throw self::_unimplemented(); |
59 | } |
60 | |
61 | /** |
62 | * @return string |
63 | */ |
64 | public function getValidationMessage(): string { |
65 | throw self::_unimplemented(); |
66 | } |
67 | |
68 | /** |
69 | * @return bool |
70 | */ |
71 | public function checkValidity(): bool { |
72 | throw self::_unimplemented(); |
73 | } |
74 | |
75 | /** |
76 | * @return bool |
77 | */ |
78 | public function reportValidity(): bool { |
79 | throw self::_unimplemented(); |
80 | } |
81 | |
82 | /** |
83 | * @param string $error |
84 | * @return void |
85 | */ |
86 | public function setCustomValidity( string $error ): void { |
87 | throw self::_unimplemented(); |
88 | } |
89 | |
90 | } |