Completed
Push — dev/plugin-misc ( 1a5d52...791e2c )
by Kiyotaka
12:41
created
codeception/acceptance/EA10PluginCest.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -236,6 +236,9 @@  discard block
 block discarded – undo
236 236
         $I->assertFileNotExists($updatedPath);
237 237
     }
238 238
 
239
+    /**
240
+     * @param string $fileName
241
+     */
239 242
     private function publishPlugin($fileName)
240 243
     {
241 244
         copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName);
@@ -277,11 +280,18 @@  discard block
 block discarded – undo
277 280
         $this->config = Fixtures::get('config');
278 281
     }
279 282
 
283
+    /**
284
+     * @param string $tableName
285
+     */
280 286
     protected function tableExists($tableName)
281 287
     {
282 288
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}';")->fetch()['count'] > 0;
283 289
     }
284 290
 
291
+    /**
292
+     * @param string $tableName
293
+     * @param string $columnName
294
+     */
285 295
     protected function columnExists($tableName, $columnName)
286 296
     {
287 297
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
@@ -395,6 +405,9 @@  discard block
 block discarded – undo
395 405
         return $this;
396 406
     }
397 407
 
408
+    /**
409
+     * @param string $fileName
410
+     */
398 411
     private function publishPlugin($fileName)
399 412
     {
400 413
         $this->I->wantTo("プラグイン「${fileName}」公開");
Please login to merge, or discard this patch.