Completed
Push — dev/plugin-misc ( c06838...9b5709 )
by Kiyotaka
11:04
created
codeception/acceptance/EA10PluginCest.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -196,6 +196,9 @@  discard block
 block discarded – undo
196 196
         $I->assertFileNotExists($updatedPath);
197 197
     }
198 198
 
199
+    /**
200
+     * @param string $fileName
201
+     */
199 202
     private function publishPlugin($fileName)
200 203
     {
201 204
         copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName);
@@ -237,11 +240,18 @@  discard block
 block discarded – undo
237 240
         $this->config = Fixtures::get('config');
238 241
     }
239 242
 
243
+    /**
244
+     * @param string $tableName
245
+     */
240 246
     protected function tableExists($tableName)
241 247
     {
242 248
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}';")->fetch()['count'] > 0;
243 249
     }
244 250
 
251
+    /**
252
+     * @param string $tableName
253
+     * @param string $columnName
254
+     */
245 255
     protected function columnExists($tableName, $columnName)
246 256
     {
247 257
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
@@ -344,6 +354,9 @@  discard block
 block discarded – undo
344 354
         return $this;
345 355
     }
346 356
 
357
+    /**
358
+     * @param string $fileName
359
+     */
347 360
     private function publishPlugin($fileName)
348 361
     {
349 362
         copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName);
Please login to merge, or discard this patch.