| 1 | <?php |
||
| 7 | class WarningParser extends AbstractParser implements JSONParserChainElementInterface |
||
| 8 | { |
||
| 9 | const TAG = 'warning'; |
||
| 10 | const TITLE = 'Warnings'; |
||
| 11 | const PARSING_REGEX = '/(?:There (?:was|were) \d+ warnings?:\n\n)((?:.|\n)+)(?:\n--|FAILURES|WARNINGS)/U'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param ProcessResultInterface $process |
||
| 15 | * |
||
| 16 | * @return bool True if chain should continue |
||
| 17 | */ |
||
| 18 | 12 | public function parsingFoundResult(ProcessResultInterface $process) |
|
| 24 | } |
||
| 25 |