@@ -83,8 +83,8 @@ public function testProcessSmallTable(): void
83
83
$ sql = "SELECT `main_table`.* FROM `admin_system_messages` AS `main_table`
84
84
ORDER BY severity ASC, created_at DESC " ;
85
85
$ bind = [];
86
- $ explainResult = '[{"id":"1","select_type":"SIMPLE","table":"admin_system_messages","partitions":null,"type":"ALL",
87
- "possible_keys":null,"key":null,"key_len":null,"ref":null,"rows":"1","filtered":"100.00",
86
+ $ explainResult = '[{"id":"1","select_type":"SIMPLE","table":"admin_system_messages","partitions":null,
87
+ "type":"ALL", "possible_keys":null,"key":null,"key_len":null,"ref":null,"rows":"1","filtered":"100.00",
88
88
"Extra":"Using filesort"}] ' ;
89
89
90
90
$ this ->serializer ->expects ($ this ->once ())
@@ -116,7 +116,8 @@ public function testProcessSmallTable(): void
116
116
* @dataProvider statsNonSelectDataProvider
117
117
* @testdox $sql with bindings $bind to get $expectedResult
118
118
*/
119
- public function testProcessThrowsExceptionForNonSelectQuery (string $ sql , array $ bind ): void {
119
+ public function testProcessThrowsExceptionForNonSelectQuery (string $ sql , array $ bind ): void
120
+ {
120
121
$ this ->expectException (QueryAnalyzerException::class);
121
122
$ this ->expectExceptionMessage ("Can't process query type " );
122
123
$ this ->serializer ->expects ($ this ->never ())->method ('serialize ' );
0 commit comments