Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 20
0.00% covered (danger)
0.00%
0 / 20
CRAP
0.00% covered (danger)
0.00%
0 / 1
Window
0.00% covered (danger)
0.00%
0 / 20
0.00% covered (danger)
0.00%
0 / 20
420
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getDocument
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getName
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setName
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getLocation
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getStatus
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setStatus
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 close
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getClosed
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 stop
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 focus
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 blur
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getLength
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOpener
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setOpener
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getFrameElement
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getNavigator
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOriginAgentCluster
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 print
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getEvent
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getComputedStyle
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\CSSStyleDeclaration;
10use Wikimedia\IDLeDOM\Document;
11use Wikimedia\IDLeDOM\Element;
12use Wikimedia\IDLeDOM\Event;
13use Wikimedia\IDLeDOM\Location;
14use Wikimedia\IDLeDOM\Navigator;
15
16trait Window {
17    // use \Wikimedia\IDLeDOM\Stub\GlobalEventHandlers;
18    // use \Wikimedia\IDLeDOM\Stub\WindowEventHandlers;
19
20    // Underscore is used to avoid conflicts with DOM-reserved names
21    // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
22    // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
23
24    /**
25     * @return Exception
26     */
27    abstract protected function _unimplemented(): Exception;
28
29    // phpcs:enable
30
31    /**
32     * @return Document
33     */
34    public function getDocument() {
35        throw self::_unimplemented();
36    }
37
38    /**
39     * @return string
40     */
41    public function getName(): string {
42        throw self::_unimplemented();
43    }
44
45    /**
46     * @param string $val
47     */
48    public function setName( string $val ): void {
49        throw self::_unimplemented();
50    }
51
52    /**
53     * @return Location
54     */
55    public function getLocation() {
56        throw self::_unimplemented();
57    }
58
59    /**
60     * @return string
61     */
62    public function getStatus(): string {
63        throw self::_unimplemented();
64    }
65
66    /**
67     * @param string $val
68     */
69    public function setStatus( string $val ): void {
70        throw self::_unimplemented();
71    }
72
73    /**
74     * @return void
75     */
76    public function close(): void {
77        throw self::_unimplemented();
78    }
79
80    /**
81     * @return bool
82     */
83    public function getClosed(): bool {
84        throw self::_unimplemented();
85    }
86
87    /**
88     * @return void
89     */
90    public function stop(): void {
91        throw self::_unimplemented();
92    }
93
94    /**
95     * @return void
96     */
97    public function focus(): void {
98        throw self::_unimplemented();
99    }
100
101    /**
102     * @return void
103     */
104    public function blur(): void {
105        throw self::_unimplemented();
106    }
107
108    /**
109     * @return int
110     */
111    public function getLength(): int {
112        throw self::_unimplemented();
113    }
114
115    /**
116     * @return mixed|null
117     */
118    public function getOpener() {
119        throw self::_unimplemented();
120    }
121
122    /**
123     * @param mixed|null $val
124     */
125    public function setOpener( /* any */ $val ): void {
126        throw self::_unimplemented();
127    }
128
129    /**
130     * @return Element|null
131     */
132    public function getFrameElement() {
133        throw self::_unimplemented();
134    }
135
136    /**
137     * @return Navigator
138     */
139    public function getNavigator() {
140        throw self::_unimplemented();
141    }
142
143    /**
144     * @return bool
145     */
146    public function getOriginAgentCluster(): bool {
147        throw self::_unimplemented();
148    }
149
150    /**
151     * @return void
152     */
153    public function print(): void {
154        throw self::_unimplemented();
155    }
156
157    /**
158     * @return Event|null
159     */
160    public function getEvent() {
161        throw self::_unimplemented();
162    }
163
164    /**
165     * @param Element $elt
166     * @param ?string $pseudoElt
167     * @return CSSStyleDeclaration
168     */
169    public function getComputedStyle( /* Element */ $elt, ?string $pseudoElt = null ) {
170        throw self::_unimplemented();
171    }
172
173}