Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed the highlighting of minified queries

The minified queries are not valid SQL anymore, so highlighting them with
the SqlFormatter does not make sense.
Closes #146
  • Loading branch information...
commit 1c68f296b8e292020014f3cb10b5f5d381cb6390 1 parent 8fe9d1b
@stof stof authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  Twig/DoctrineExtension.php
View
3  Twig/DoctrineExtension.php
@@ -233,9 +233,6 @@ public function minifyQuery($query)
$result = $this->composeMiniQuery($query, $keywords, $required);
}
- // Highlight the minified query
- $result = \SqlFormatter::highlight($result);
-
// Remove unneeded boilerplate HTML
$result = str_replace(array("<pre style='background:white;'", "</pre>"), array("<span", "</span>"), $result);
Please sign in to comment.
Something went wrong with that request. Please try again.