@@ -2453,6 +2453,8 @@ public function renameTable($oldTableName, $newTableName, $schemaName = null)
2453
2453
* @return \Zend_Db_Statement_Interface
2454
2454
* @throws \Zend_Db_Exception
2455
2455
* @throws \Exception
2456
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
2457
+ * @SuppressWarnings(PHPMD.NPathComplexity)
2456
2458
*/
2457
2459
public function addIndex (
2458
2460
$ tableName ,
@@ -2578,6 +2580,7 @@ public function dropIndex($tableName, $keyName, $schemaName = null)
2578
2580
* @param string $schemaName
2579
2581
* @param string $refSchemaName
2580
2582
* @return \Zend_Db_Statement_Interface
2583
+ * @SuppressWarnings(PHPMD.ExcessiveParameterList)
2581
2584
*/
2582
2585
public function addForeignKey (
2583
2586
$ fkName ,
@@ -2692,6 +2695,7 @@ public function endSetup()
2692
2695
* @param string $fieldName
2693
2696
* @param integer|string|array $condition
2694
2697
* @return string
2698
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
2695
2699
*/
2696
2700
public function prepareSqlCondition ($ fieldName , $ condition )
2697
2701
{
@@ -2798,6 +2802,9 @@ protected function _transformStringSqlCondition($conditionKey, $value)
2798
2802
* @param array $column the column describe array
2799
2803
* @param mixed $value
2800
2804
* @return mixed
2805
+ *
2806
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
2807
+ * @SuppressWarnings(PHPMD.NPathComplexity)
2801
2808
*/
2802
2809
public function prepareColumnValue (array $ column , $ value )
2803
2810
{
@@ -3383,6 +3390,8 @@ public function selectsByRange($rangeField, \Magento\Framework\DB\Select $select
3383
3390
* @param string|array $table
3384
3391
* @return string
3385
3392
* @throws \Magento\Framework\DB\DBException
3393
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
3394
+ * @SuppressWarnings(PHPMD.NPathComplexity)
3386
3395
*/
3387
3396
public function updateFromSelect (Select $ select , $ table )
3388
3397
{
0 commit comments