Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 8
0.00% covered (danger)
0.00%
0 / 8
CRAP
0.00% covered (danger)
0.00%
0 / 1
StyleSheet
0.00% covered (danger)
0.00%
0 / 8
0.00% covered (danger)
0.00%
0 / 8
72
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getType
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getHref
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOwnerNode
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getParentStyleSheet
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getTitle
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getMedia
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getDisabled
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setDisabled
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\CSSStyleSheet;
10use Wikimedia\IDLeDOM\Element;
11use Wikimedia\IDLeDOM\MediaList;
12use Wikimedia\IDLeDOM\ProcessingInstruction;
13
14trait StyleSheet {
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 string
29     */
30    public function getType(): string {
31        throw self::_unimplemented();
32    }
33
34    /**
35     * @return ?string
36     */
37    public function getHref(): ?string {
38        throw self::_unimplemented();
39    }
40
41    /**
42     * @return Element|ProcessingInstruction|null
43     */
44    public function getOwnerNode() {
45        throw self::_unimplemented();
46    }
47
48    /**
49     * @return CSSStyleSheet|null
50     */
51    public function getParentStyleSheet() {
52        throw self::_unimplemented();
53    }
54
55    /**
56     * @return ?string
57     */
58    public function getTitle(): ?string {
59        throw self::_unimplemented();
60    }
61
62    /**
63     * @return MediaList
64     */
65    public function getMedia() {
66        throw self::_unimplemented();
67    }
68
69    /**
70     * @return bool
71     */
72    public function getDisabled(): bool {
73        throw self::_unimplemented();
74    }
75
76    /**
77     * @param bool $val
78     */
79    public function setDisabled( bool $val ): void {
80        throw self::_unimplemented();
81    }
82
83}