@@ -61,6 +61,10 @@ |
||
61 | 61 | } |
62 | 62 | } |
63 | 63 | |
64 | + /** |
|
65 | + * @param Store $store |
|
66 | + * @param Options $options |
|
67 | + */ |
|
64 | 68 | private function addCallbackHandlers( $store, $options ) { |
65 | 69 | |
66 | 70 | /** |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use SMW\DIProperty; |
7 | 7 | use SMW\Store; |
8 | 8 | use SMWRequestOptions as RequestOptions; |
9 | -use Title; |
|
10 | 9 | |
11 | 10 | /** |
12 | 11 | * @license GNU GPL v2+ |
@@ -84,6 +84,9 @@ discard block |
||
84 | 84 | $this->doTestOutputPageParserOutput( $instance, $outputPage ); |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param HookRegistry $instance |
|
89 | + */ |
|
87 | 90 | private function doTestInitProperties( $instance ) { |
88 | 91 | |
89 | 92 | $handler = 'SMW::Property::initProperties'; |
@@ -102,6 +105,9 @@ discard block |
||
102 | 105 | ); |
103 | 106 | } |
104 | 107 | |
108 | + /** |
|
109 | + * @param HookRegistry $instance |
|
110 | + */ |
|
105 | 111 | private function doTestSkinTemplateOutputPageBeforeExec( $instance, $skin ) { |
106 | 112 | |
107 | 113 | $handler = 'SkinTemplateOutputPageBeforeExec'; |
@@ -118,6 +124,9 @@ discard block |
||
118 | 124 | ); |
119 | 125 | } |
120 | 126 | |
127 | + /** |
|
128 | + * @param HookRegistry $instance |
|
129 | + */ |
|
121 | 130 | private function doTestBeforePageDisplay( $instance, $outputPage, $skin ) { |
122 | 131 | |
123 | 132 | $handler = 'BeforePageDisplay'; |
@@ -132,6 +141,9 @@ discard block |
||
132 | 141 | ); |
133 | 142 | } |
134 | 143 | |
144 | + /** |
|
145 | + * @param HookRegistry $instance |
|
146 | + */ |
|
135 | 147 | private function doTestParserAfterTidy( $instance ) { |
136 | 148 | |
137 | 149 | $handler = 'ParserAfterTidy'; |
@@ -174,6 +186,9 @@ discard block |
||
174 | 186 | ); |
175 | 187 | } |
176 | 188 | |
189 | + /** |
|
190 | + * @param HookRegistry $instance |
|
191 | + */ |
|
177 | 192 | private function doTestParserAfterTidyToBailOutEarly( $instance ) { |
178 | 193 | |
179 | 194 | $handler = 'ParserAfterTidy'; |
@@ -216,6 +231,9 @@ discard block |
||
216 | 231 | ); |
217 | 232 | } |
218 | 233 | |
234 | + /** |
|
235 | + * @param HookRegistry $instance |
|
236 | + */ |
|
219 | 237 | private function doTestSmwParserBeforeMagicWordsFinder( $instance ) { |
220 | 238 | |
221 | 239 | $handler = 'SMW::Parser::BeforeMagicWordsFinder'; |
@@ -237,6 +255,9 @@ discard block |
||
237 | 255 | ); |
238 | 256 | } |
239 | 257 | |
258 | + /** |
|
259 | + * @param HookRegistry $instance |
|
260 | + */ |
|
240 | 261 | private function doTestOutputPageParserOutput( $instance, $outputPage ) { |
241 | 262 | |
242 | 263 | $handler = 'OutputPageParserOutput'; |
@@ -5,8 +5,6 @@ |
||
5 | 5 | use SBL\ByPropertyHierarchicalLinksFinder; |
6 | 6 | use SMW\DIWikiPage; |
7 | 7 | use SMW\DIProperty; |
8 | -use SMW\ApplicationFactory; |
|
9 | -use Title; |
|
10 | 8 | |
11 | 9 | /** |
12 | 10 | * @covers \SBL\ByPropertyHierarchicalLinksFinder |
@@ -2,10 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace SBL; |
4 | 4 | |
5 | -use SMW\ApplicationFactory; |
|
6 | 5 | use SMW\NamespaceExaminer; |
7 | 6 | use OutputPage; |
8 | -use Action; |
|
9 | 7 | use Title; |
10 | 8 | |
11 | 9 | /** |