classFormattingException
final class FormattingException
extends RuntimeException
Public API: explicitly declared with
@visibility public.A layout failed verification against the original concrete syntax tree.
$error = new \SqlFormatter\Core\FormattingException('Syntax changed.');
$error->getMessage() // => 'Syntax changed.'Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 6
SettingsTestcallsFormatterTestcallsDialectTestcallsDialectTestcallsDialectTestcallsSqlFormatterTest::testRestoreRejectsLostGapscalls
Relations§
Instantiated in 6
- new SqlCatalog\Reporter\Html\SqlFormatter::restore() packages/sql-catalog/src/Reporter/Html/SqlFormatter.php:119
- new SqlCatalog\Reporter\Html\SqlFormatter::restore() packages/sql-catalog/src/Reporter/Html/SqlFormatter.php:128
- new SqlFormatter\Core\Compact\Renderer::render() packages/sql-formatter/src/Core/Compact/Renderer.php:48
- new SqlFormatter\Core\Compact\Renderer::render() packages/sql-formatter/src/Core/Compact/Renderer.php:51
- new SqlFormatter\Core\Formatter::format() packages/sql-formatter/src/Core/Formatter.php:44
- new SqlFormatter\Core\Formatter::format() packages/sql-formatter/src/Core/Formatter.php:47