for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Paraunit\Parser;
use Paraunit\Process\ProcessResultInterface;
class SegmentationFaultParser extends AbstractParser implements JSONParserChainElementInterface
{
const TAG = 'segfault';
const TITLE = 'Segmentation Faults';
const PARSING_REGEX = '/segmentation fault \(core dumped\)/i';
/**
* @param ProcessResultInterface $process
*
* @return bool True if chain should continue
*/
public function parsingFoundResult(ProcessResultInterface $process)
if ($this->parsingFoundSomething($process)) {
$process->reportSegmentationFault();
return false;
}
return true;