0 && $dryRun) rlog(sprintf('dry-run: %d run(s), nothing found (%dms)', $sum['runs'], $ms)); exit(0); } rlog(sprintf('%s%d run(s): %d finding(s), %d fixed, %d for the operator, %d resolved, %d quiet (%dms)', $dryRun ? 'dry-run: ' : '', $sum['runs'], $sum['findings'], $sum['fixed'], $sum['needs_operator'], $sum['resolved'], $sum['quiet'], $ms)); foreach ($sum['details'] as $d) rlog(' ' . $d); } finally { flock($lock, LOCK_UN); fclose($lock); } exit(0);