mirror of
https://github.com/dg/dibi.git
synced 2025-08-08 15:16:58 +02:00
code formatting: 4 spaces -> tabs
This commit is contained in:
@@ -590,7 +590,7 @@ class dibi
|
|||||||
$sql = preg_replace("#(?<=[\\s,(])($keywords1)(?=[\\s,)])#i", "\n\$1", $sql);
|
$sql = preg_replace("#(?<=[\\s,(])($keywords1)(?=[\\s,)])#i", "\n\$1", $sql);
|
||||||
|
|
||||||
// reduce spaces
|
// reduce spaces
|
||||||
$sql = preg_replace('# {2,}#', ' ', $sql);
|
$sql = preg_replace('#[ \t]{2,}#', " ", $sql);
|
||||||
|
|
||||||
$sql = wordwrap($sql, 100);
|
$sql = wordwrap($sql, 100);
|
||||||
$sql = htmlSpecialChars($sql);
|
$sql = htmlSpecialChars($sql);
|
||||||
|
Reference in New Issue
Block a user