@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | /** |
| 262 | - * @return Configuration|\PHPUnit_Framework_MockObject_MockObject |
|
| 262 | + * @return Configuration |
|
| 263 | 263 | */ |
| 264 | 264 | protected function getMockConfiguration() |
| 265 | 265 | { |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | /** |
| 378 | 378 | * Get a mock EventDispatcher. |
| 379 | 379 | * |
| 380 | - * @return EventDispatcherInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 380 | + * @return EventDispatcherInterface |
|
| 381 | 381 | */ |
| 382 | 382 | protected function getMockEventDistpatcher() |
| 383 | 383 | { |
@@ -387,7 +387,7 @@ discard block |
||
| 387 | 387 | /** |
| 388 | 388 | * Get a mock logger. |
| 389 | 389 | * |
| 390 | - * @return LoggerInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 390 | + * @return LoggerInterface |
|
| 391 | 391 | */ |
| 392 | 392 | protected function getMockLogger() |
| 393 | 393 | { |
@@ -158,6 +158,9 @@ |
||
| 158 | 158 | ); |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | + /** |
|
| 162 | + * @return string |
|
| 163 | + */ |
|
| 161 | 164 | public static function stringToFormatter($format) |
| 162 | 165 | { |
| 163 | 166 | if ($format == 'nested') |
@@ -144,14 +144,17 @@ |
||
| 144 | 144 | { |
| 145 | 145 | $sourceMap = __::get($this->options, 'sourcemap'); |
| 146 | 146 | |
| 147 | - if ($sourceMap === 'inline') { |
|
| 147 | + if ($sourceMap === 'inline') |
|
| 148 | + { |
|
| 148 | 149 | $this->compiler->setSourceMap(Compiler::SOURCE_MAP_INLINE); |
| 149 | 150 | } |
| 150 | - elseif ($sourceMap === true) { |
|
| 151 | + elseif ($sourceMap === true) |
|
| 152 | + { |
|
| 151 | 153 | $this->compiler->setSourceMap(Compiler::SOURCE_MAP_FILE); |
| 152 | 154 | $this->fileSourceMap = true; |
| 153 | 155 | } |
| 154 | - else { |
|
| 156 | + else |
|
| 157 | + { |
|
| 155 | 158 | $this->compiler->setSourceMap(Compiler::SOURCE_MAP_NONE); |
| 156 | 159 | } |
| 157 | 160 | } |
@@ -27,6 +27,9 @@ |
||
| 27 | 27 | $this->generatorOptions = $options; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @return string |
|
| 32 | + */ |
|
| 30 | 33 | public function getSourceMapContents() |
| 31 | 34 | { |
| 32 | 35 | return $this->sourceMapContent; |