hasArgument('--update-snapshots', $arguments)) { return $arguments; } if ($this->hasArgument('--parallel', $arguments)) { throw new InvalidOption('The [--update-snapshots] option is not supported when running in parallel.'); } TestSuite::getInstance()->snapshots->flush(); return $this->popArgument('--update-snapshots', $arguments); } }