Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 14
0.00% covered (danger)
0.00%
0 / 14
CRAP
0.00% covered (danger)
0.00%
0 / 1
HTMLOutputElement
0.00% covered (danger)
0.00%
0 / 14
0.00% covered (danger)
0.00%
0 / 14
210
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getHtmlFor
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getForm
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getType
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getDefaultValue
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setDefaultValue
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getValue
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setValue
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getWillValidate
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getValidity
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getValidationMessage
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 checkValidity
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 reportValidity
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setCustomValidity
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getLabels
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM\Stub;
7
8use Exception;
9use Wikimedia\IDLeDOM\DOMTokenList;
10use Wikimedia\IDLeDOM\HTMLFormElement;
11use Wikimedia\IDLeDOM\NodeList;
12use Wikimedia\IDLeDOM\ValidityState;
13
14trait HTMLOutputElement {
15
16    // Underscore is used to avoid conflicts with DOM-reserved names
17    // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
18    // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
19
20    /**
21     * @return Exception
22     */
23    abstract protected function _unimplemented(): Exception;
24
25    // phpcs:enable
26
27    /**
28     * @return DOMTokenList
29     */
30    public function getHtmlFor() {
31        throw self::_unimplemented();
32    }
33
34    /**
35     * @return HTMLFormElement|null
36     */
37    public function getForm() {
38        throw self::_unimplemented();
39    }
40
41    /**
42     * @return string
43     */
44    public function getType(): string {
45        throw self::_unimplemented();
46    }
47
48    /**
49     * @return string
50     */
51    public function getDefaultValue(): string {
52        throw self::_unimplemented();
53    }
54
55    /**
56     * @param string $val
57     */
58    public function setDefaultValue( string $val ): void {
59        throw self::_unimplemented();
60    }
61
62    /**
63     * @return string
64     */
65    public function getValue(): string {
66        throw self::_unimplemented();
67    }
68
69    /**
70     * @param string $val
71     */
72    public function setValue( string $val ): void {
73        throw self::_unimplemented();
74    }
75
76    /**
77     * @return bool
78     */
79    public function getWillValidate(): bool {
80        throw self::_unimplemented();
81    }
82
83    /**
84     * @return ValidityState
85     */
86    public function getValidity() {
87        throw self::_unimplemented();
88    }
89
90    /**
91     * @return string
92     */
93    public function getValidationMessage(): string {
94        throw self::_unimplemented();
95    }
96
97    /**
98     * @return bool
99     */
100    public function checkValidity(): bool {
101        throw self::_unimplemented();
102    }
103
104    /**
105     * @return bool
106     */
107    public function reportValidity(): bool {
108        throw self::_unimplemented();
109    }
110
111    /**
112     * @param string $error
113     * @return void
114     */
115    public function setCustomValidity( string $error ): void {
116        throw self::_unimplemented();
117    }
118
119    /**
120     * @return NodeList
121     */
122    public function getLabels() {
123        throw self::_unimplemented();
124    }
125
126}