final class SqliteCteShadowComposer

Merges fixture CTEs with existing WITH declarations without shadowing user CTEs.

Methods§

public function carryPrefix(string $originalSql, string $rewrittenStatement): string

Preserves the original WITH prefix around a rewritten statement.

Parameters

$originalSqlstring
$rewrittenStatementstring

Returns

string
Test cases 6
Called from 3
Calls 11
public function statementSql(string $sql): string

Test cases 35§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 20
Other tests reaching this symbol 15

Relations§

Instantiated in 5
Method calls 5
Type declarations 7