We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d3e1a commit e072103Copy full SHA for e072103
src/SqlDumpLoader.php
@@ -58,10 +58,12 @@ public function getErrors(): array
58
*/
59
private function splitSql(string $sql): array
60
{
61
- $split = preg_split('~\([^)]*\)(*SKIP)(*F)|;~', $sql);
+ $split = preg_split('~\([^)]*+\)(*SKIP)(*F)|;~', $sql);
62
63
if ($split === false) {
64
+ // @codeCoverageIgnoreStart
65
throw new \RuntimeException('Unable to split SQL');
66
+ // @codeCoverageIgnoreEnd
67
}
68
69
return $split;
0 commit comments