@@ -17,8 +17,8 @@ public function testBuilder()
1717 $ stmt = $ parser ->statements [0 ];
1818
1919 $ this ->assertEquals (
20- 'SELECT * FROM t1 LEFT JOIN (t2, t3, t4) '
21- . 'ON (t2.a=t1.a AND t3.b=t1.b AND t4.c=t1.c) ' ,
20+ 'SELECT * FROM t1 LEFT JOIN (t2, t3, t4) '
21+ . 'ON (t2.a=t1.a AND t3.b=t1.b AND t4.c=t1.c) ' ,
2222 $ stmt ->build ()
2323 );
2424 }
@@ -29,7 +29,7 @@ public function testBuilderUnion()
2929 $ stmt = $ parser ->statements [0 ];
3030
3131 $ this ->assertEquals (
32- 'SELECT 1 UNION SELECT 2 ' ,
32+ 'SELECT 1 UNION SELECT 2 ' ,
3333 $ stmt ->build ()
3434 );
3535 }
@@ -45,18 +45,18 @@ public function testBuilderAlias()
4545 $ stmt = $ parser ->statements [0 ];
4646
4747 $ this ->assertEquals (
48- 'SELECT sgu.id, sgu.email_address FROM `sf_guard_user` AS `sgu` '
48+ 'SELECT sgu.id, sgu.email_address FROM `sf_guard_user` AS `sgu` '
4949 . 'RIGHT JOIN `student_course_booking` AS `scb` ON sgu.id = scb.user_id '
5050 . 'WHERE `has_found_course` = \'1 \' GROUP BY sgu.id '
51- . 'ORDER BY scb.id DESC LIMIT 0, 300 ' ,
51+ . 'ORDER BY scb.id DESC LIMIT 0, 300 ' ,
5252 $ stmt ->build ()
5353 );
5454 }
5555
5656 public function testBuilderEndOptions ()
5757 {
5858 /* Assertion 1 */
59- $ query = 'SELECT pid, name2 FROM tablename WHERE pid = 20 FOR UPDATE ' ;
59+ $ query = 'SELECT pid, name2 FROM tablename WHERE pid = 20 FOR UPDATE ' ;
6060 $ parser = new Parser ($ query );
6161 $ stmt = $ parser ->statements [0 ];
6262
@@ -66,7 +66,7 @@ public function testBuilderEndOptions()
6666 );
6767
6868 /* Assertion 2 */
69- $ query = 'SELECT pid, name2 FROM tablename WHERE pid = 20 LOCK IN SHARE MODE ' ;
69+ $ query = 'SELECT pid, name2 FROM tablename WHERE pid = 20 LOCK IN SHARE MODE ' ;
7070 $ parser = new Parser ($ query );
7171 $ stmt = $ parser ->statements [0 ];
7272
@@ -79,10 +79,10 @@ public function testBuilderEndOptions()
7979 public function testBuilderIntoOptions ()
8080 {
8181 /* Assertion 1 */
82- $ query = 'SELECT a, b, a+b INTO OUTFILE "/tmp/result.txt" '
82+ $ query = 'SELECT a, b, a+b INTO OUTFILE "/tmp/result.txt" '
8383 . ' COLUMNS TERMINATED BY \', \' OPTIONALLY ENCLOSED BY \'" \''
8484 . ' LINES TERMINATED BY \'\n \''
85- . ' FROM test_table ' ;
85+ . ' FROM test_table ' ;
8686 $ parser = new Parser ($ query );
8787 $ stmt = $ parser ->statements [0 ];
8888
@@ -94,7 +94,7 @@ public function testBuilderIntoOptions()
9494
9595 public function testBuildGroupBy ()
9696 {
97- $ query = 'SELECT COUNT(CustomerID), Country FROM Customers GROUP BY Country ' ;
97+ $ query = 'SELECT COUNT(CustomerID), Country FROM Customers GROUP BY Country ' ;
9898 $ parser = new Parser ($ query );
9999 $ stmt = $ parser ->statements [0 ];
100100
@@ -106,7 +106,7 @@ public function testBuildGroupBy()
106106
107107 public function testBuildIndexHint ()
108108 {
109- $ query = 'SELECT * FROM address FORCE INDEX (idx_fk_city_id) IGNORE KEY FOR GROUP BY (a, b,c) WHERE city_id<0 ' ;
109+ $ query = 'SELECT * FROM address FORCE INDEX (idx_fk_city_id) IGNORE KEY FOR GROUP BY (a, b,c) WHERE city_id<0 ' ;
110110 $ parser = new Parser ($ query );
111111 $ stmt = $ parser ->statements [0 ];
112112
0 commit comments