Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 17
0.00% covered (danger)
0.00%
0 / 17
CRAP
0.00% covered (danger)
0.00%
0 / 1
HTMLElement
0.00% covered (danger)
0.00%
0 / 17
0.00% covered (danger)
0.00%
0 / 17
306
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getTranslate
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setTranslate
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 click
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getAccessKeyLabel
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getDraggable
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setDraggable
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getSpellcheck
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setSpellcheck
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getAutocapitalize
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setAutocapitalize
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getInnerText
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setInnerText
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOffsetParent
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOffsetTop
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOffsetLeft
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOffsetWidth
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOffsetHeight
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\Element;
10
11trait HTMLElement {
12    // use \Wikimedia\IDLeDOM\Stub\DocumentAndElementEventHandlers;
13    // use \Wikimedia\IDLeDOM\Stub\ElementCSSInlineStyle;
14    // use \Wikimedia\IDLeDOM\Stub\ElementContentEditable;
15    // use \Wikimedia\IDLeDOM\Stub\GlobalEventHandlers;
16    // use \Wikimedia\IDLeDOM\Stub\HTMLOrSVGElement;
17
18    // Underscore is used to avoid conflicts with DOM-reserved names
19    // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
20    // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
21
22    /**
23     * @return Exception
24     */
25    abstract protected function _unimplemented(): Exception;
26
27    // phpcs:enable
28
29    /**
30     * @return bool
31     */
32    public function getTranslate(): bool {
33        throw self::_unimplemented();
34    }
35
36    /**
37     * @param bool $val
38     */
39    public function setTranslate( bool $val ): void {
40        throw self::_unimplemented();
41    }
42
43    /**
44     * @return void
45     */
46    public function click(): void {
47        throw self::_unimplemented();
48    }
49
50    /**
51     * @return string
52     */
53    public function getAccessKeyLabel(): string {
54        throw self::_unimplemented();
55    }
56
57    /**
58     * @return bool
59     */
60    public function getDraggable(): bool {
61        throw self::_unimplemented();
62    }
63
64    /**
65     * @param bool $val
66     */
67    public function setDraggable( bool $val ): void {
68        throw self::_unimplemented();
69    }
70
71    /**
72     * @return bool
73     */
74    public function getSpellcheck(): bool {
75        throw self::_unimplemented();
76    }
77
78    /**
79     * @param bool $val
80     */
81    public function setSpellcheck( bool $val ): void {
82        throw self::_unimplemented();
83    }
84
85    /**
86     * @return string
87     */
88    public function getAutocapitalize(): string {
89        throw self::_unimplemented();
90    }
91
92    /**
93     * @param string $val
94     */
95    public function setAutocapitalize( string $val ): void {
96        throw self::_unimplemented();
97    }
98
99    /**
100     * @return string
101     */
102    public function getInnerText(): string {
103        throw self::_unimplemented();
104    }
105
106    /**
107     * @param ?string $val
108     */
109    public function setInnerText( ?string $val ): void {
110        throw self::_unimplemented();
111    }
112
113    /**
114     * @return Element|null
115     */
116    public function getOffsetParent() {
117        throw self::_unimplemented();
118    }
119
120    /**
121     * @return int
122     */
123    public function getOffsetTop(): int {
124        throw self::_unimplemented();
125    }
126
127    /**
128     * @return int
129     */
130    public function getOffsetLeft(): int {
131        throw self::_unimplemented();
132    }
133
134    /**
135     * @return int
136     */
137    public function getOffsetWidth(): int {
138        throw self::_unimplemented();
139    }
140
141    /**
142     * @return int
143     */
144    public function getOffsetHeight(): int {
145        throw self::_unimplemented();
146    }
147
148}