@@ -39,7 +39,7 @@ public function testCollectQueryCount()
39
39
$ this ->assertEquals (0 , $ c ->getQueryCount ());
40
40
41
41
$ queries = array (
42
- array ('sql ' => " SELECT * FROM table1 " , 'params ' => array (), 'types ' => array (), 'executionMS ' => 0 ),
42
+ array ('sql ' => ' SELECT * FROM table1 ' , 'params ' => array (), 'types ' => array (), 'executionMS ' => 0 ),
43
43
);
44
44
$ c = $ this ->createCollector ($ queries );
45
45
$ c ->collect (new Request (), new Response ());
@@ -53,15 +53,15 @@ public function testCollectTime()
53
53
$ this ->assertEquals (0 , $ c ->getTime ());
54
54
55
55
$ queries = array (
56
- array ('sql ' => " SELECT * FROM table1 " , 'params ' => array (), 'types ' => array (), 'executionMS ' => 1 ),
56
+ array ('sql ' => ' SELECT * FROM table1 ' , 'params ' => array (), 'types ' => array (), 'executionMS ' => 1 ),
57
57
);
58
58
$ c = $ this ->createCollector ($ queries );
59
59
$ c ->collect (new Request (), new Response ());
60
60
$ this ->assertEquals (1 , $ c ->getTime ());
61
61
62
62
$ queries = array (
63
- array ('sql ' => " SELECT * FROM table1 " , 'params ' => array (), 'types ' => array (), 'executionMS ' => 1 ),
64
- array ('sql ' => " SELECT * FROM table2 " , 'params ' => array (), 'types ' => array (), 'executionMS ' => 2 ),
63
+ array ('sql ' => ' SELECT * FROM table1 ' , 'params ' => array (), 'types ' => array (), 'executionMS ' => 1 ),
64
+ array ('sql ' => ' SELECT * FROM table2 ' , 'params ' => array (), 'types ' => array (), 'executionMS ' => 2 ),
65
65
);
66
66
$ c = $ this ->createCollector ($ queries );
67
67
$ c ->collect (new Request (), new Response ());
@@ -74,7 +74,7 @@ public function testCollectTime()
74
74
public function testCollectQueries ($ param , $ types , $ expected , $ explainable )
75
75
{
76
76
$ queries = array (
77
- array ('sql ' => " SELECT * FROM table1 WHERE field1 = ?1 " , 'params ' => array ($ param ), 'types ' => $ types , 'executionMS ' => 1 ),
77
+ array ('sql ' => ' SELECT * FROM table1 WHERE field1 = ?1 ' , 'params ' => array ($ param ), 'types ' => $ types , 'executionMS ' => 1 ),
78
78
);
79
79
$ c = $ this ->createCollector ($ queries );
80
80
$ c ->collect (new Request (), new Response ());
@@ -90,7 +90,7 @@ public function testCollectQueries($param, $types, $expected, $explainable)
90
90
public function testSerialization ($ param , $ types , $ expected , $ explainable )
91
91
{
92
92
$ queries = array (
93
- array ('sql ' => " SELECT * FROM table1 WHERE field1 = ?1 " , 'params ' => array ($ param ), 'types ' => $ types , 'executionMS ' => 1 ),
93
+ array ('sql ' => ' SELECT * FROM table1 WHERE field1 = ?1 ' , 'params ' => array ($ param ), 'types ' => $ types , 'executionMS ' => 1 ),
94
94
);
95
95
$ c = $ this ->createCollector ($ queries );
96
96
$ c ->collect (new Request (), new Response ());
0 commit comments