Completed
Push — 4.0 ( a98e6e...346cab )
by Ryo
12:12 queued 05:06
created
codeception/acceptance/EA10PluginCest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -276,16 +276,26 @@
 block discarded – undo
276 276
         $I->assertFileNotExists($updatedPath);
277 277
     }
278 278
 
279
+    /**
280
+     * @param string $fileName
281
+     */
279 282
     private function publishPlugin($fileName)
280 283
     {
281 284
         copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName);
282 285
     }
283 286
 
287
+    /**
288
+     * @param string $tableName
289
+     */
284 290
     private function tableExists($tableName)
285 291
     {
286 292
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}';")->fetch()['count'] > 0;
287 293
     }
288 294
 
295
+    /**
296
+     * @param string $tableName
297
+     * @param string $columnName
298
+     */
289 299
     private function columnExists($tableName, $columnName)
290 300
     {
291 301
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
Please login to merge, or discard this patch.