Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 20 |
|
0.00% |
0 / 20 |
CRAP | |
0.00% |
0 / 1 |
HTMLImageElement | |
0.00% |
0 / 20 |
|
0.00% |
0 / 20 |
420 | |
0.00% |
0 / 1 |
_unimplemented | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | |||||
getSrc | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setSrc | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getSrcset | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setSrcset | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getWidth | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setWidth | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getHeight | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setHeight | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getNaturalWidth | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getNaturalHeight | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getComplete | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getCurrentSrc | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getLowsrc | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setLowsrc | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getHspace | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setHspace | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getVspace | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setVspace | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getLongDesc | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setLongDesc | |
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 | |
10 | trait HTMLImageElement { |
11 | // use \Wikimedia\IDLeDOM\Stub\CrossOrigin; |
12 | // use \Wikimedia\IDLeDOM\Stub\ReferrerPolicy; |
13 | |
14 | // Underscore is used to avoid conflicts with DOM-reserved names |
15 | // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore |
16 | // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName |
17 | |
18 | /** |
19 | * @return Exception |
20 | */ |
21 | abstract protected function _unimplemented(): Exception; |
22 | |
23 | // phpcs:enable |
24 | |
25 | /** |
26 | * @return string |
27 | */ |
28 | public function getSrc(): string { |
29 | throw self::_unimplemented(); |
30 | } |
31 | |
32 | /** |
33 | * @param string $val |
34 | */ |
35 | public function setSrc( string $val ): void { |
36 | throw self::_unimplemented(); |
37 | } |
38 | |
39 | /** |
40 | * @return string |
41 | */ |
42 | public function getSrcset(): string { |
43 | throw self::_unimplemented(); |
44 | } |
45 | |
46 | /** |
47 | * @param string $val |
48 | */ |
49 | public function setSrcset( string $val ): void { |
50 | throw self::_unimplemented(); |
51 | } |
52 | |
53 | /** |
54 | * @return int |
55 | */ |
56 | public function getWidth(): int { |
57 | throw self::_unimplemented(); |
58 | } |
59 | |
60 | /** |
61 | * @param int $val |
62 | */ |
63 | public function setWidth( int $val ): void { |
64 | throw self::_unimplemented(); |
65 | } |
66 | |
67 | /** |
68 | * @return int |
69 | */ |
70 | public function getHeight(): int { |
71 | throw self::_unimplemented(); |
72 | } |
73 | |
74 | /** |
75 | * @param int $val |
76 | */ |
77 | public function setHeight( int $val ): void { |
78 | throw self::_unimplemented(); |
79 | } |
80 | |
81 | /** |
82 | * @return int |
83 | */ |
84 | public function getNaturalWidth(): int { |
85 | throw self::_unimplemented(); |
86 | } |
87 | |
88 | /** |
89 | * @return int |
90 | */ |
91 | public function getNaturalHeight(): int { |
92 | throw self::_unimplemented(); |
93 | } |
94 | |
95 | /** |
96 | * @return bool |
97 | */ |
98 | public function getComplete(): bool { |
99 | throw self::_unimplemented(); |
100 | } |
101 | |
102 | /** |
103 | * @return string |
104 | */ |
105 | public function getCurrentSrc(): string { |
106 | throw self::_unimplemented(); |
107 | } |
108 | |
109 | /** |
110 | * @return string |
111 | */ |
112 | public function getLowsrc(): string { |
113 | throw self::_unimplemented(); |
114 | } |
115 | |
116 | /** |
117 | * @param string $val |
118 | */ |
119 | public function setLowsrc( string $val ): void { |
120 | throw self::_unimplemented(); |
121 | } |
122 | |
123 | /** |
124 | * @return int |
125 | */ |
126 | public function getHspace(): int { |
127 | throw self::_unimplemented(); |
128 | } |
129 | |
130 | /** |
131 | * @param int $val |
132 | */ |
133 | public function setHspace( int $val ): void { |
134 | throw self::_unimplemented(); |
135 | } |
136 | |
137 | /** |
138 | * @return int |
139 | */ |
140 | public function getVspace(): int { |
141 | throw self::_unimplemented(); |
142 | } |
143 | |
144 | /** |
145 | * @param int $val |
146 | */ |
147 | public function setVspace( int $val ): void { |
148 | throw self::_unimplemented(); |
149 | } |
150 | |
151 | /** |
152 | * @return string |
153 | */ |
154 | public function getLongDesc(): string { |
155 | throw self::_unimplemented(); |
156 | } |
157 | |
158 | /** |
159 | * @param string $val |
160 | */ |
161 | public function setLongDesc( string $val ): void { |
162 | throw self::_unimplemented(); |
163 | } |
164 | |
165 | } |