classSqliteLexicalMasker
final class SqliteLexicalMasker
Replaces SQL comments with whitespace while preserving quoted content.
Methods§
public static function maskComments(string $sql): stringReturns mask comments.
Parameters
$sql | string |
Returns
stringTest cases 2
Called from 1
Calls 6
- function-call
strlenline 18 - function-call
substrline 25 - static-call QuotedSpan::quotedLength() line 26
- static-call QuotedSpan::bracketQuotedLength() line 34
- function-call
strcspnline 42 - function-call
strposline 49
Test cases 29§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 27
ReferencedTableLookupTestcallsMatchExpressionRewriterTestcallsSqliteFullTextSearchRewriterTestcallsSqliteQueryGuardTestcallsSqliteRewriterTestcallsStatementRewriterTestcallsDeleteTransformerTestcallsInsertProjectionBuilderTestcallsInsertTransformerTestcallsSelectTransformerTestcallsSqliteTransformerTestcallsUpdateTransformerTestcallsColumnDefinitionParserTestcallsTableDefinitionBuilderTestcallsVirtualTableParserTestcallsSqliteSchemaParserTestcallsAddColumnResolverTestcallsInsertMutationResolverTestcallsRowMutationResolverTestcallsTableMutationResolverTestcallsSqliteMutationResolverTestcallsInsertClauseParserTestcallsLiteralMaskerTestcallsSqliteParserTestcallsStatementStructureTestcallsTargetTableParserTestcallsSqliteSessionFactoryTestcalls