doctrine / doctrine/sql-formatter

Formatter must never fail and never add any warning

Open
#118 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.9k
Forks
29
PR merge metrics
No merged PRs in 30d

Description

As analysed in https://github.com/doctrine/sql-formatter/pull/116#issuecomment-2125860461.

A little related with #39 formatting.

https://github.com/doctrine/sql-formatter/blob/1.4.0/src/Highlighter.php#L38-L46 should be removed then as we are very, very far validating queries (and it is impossible to do it in context-free parser).

Help welcomed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.