Code Duplication    Length = 3-3 lines in 3 locations

PHPCompatibility/Sniffs/PHP/NewConstantScalarExpressionsSniff.php 3 locations

@@ 436-438 (lines=3) @@
433
                        }
434
435
                        if ($doubleArrow === false) {
436
                            if ($this->isStaticValue($phpcsFile, $tokens, $item['start'], $item['end'], $nestedArrays) === false) {
437
                                return false;
438
                            }
439
440
                        } else {
441
                            // Examine array key.
@@ 442-444 (lines=3) @@
439
440
                        } else {
441
                            // Examine array key.
442
                            if ($this->isStaticValue($phpcsFile, $tokens, $item['start'], ($doubleArrow - 1), $nestedArrays) === false) {
443
                                return false;
444
                            }
445
446
                            // Examine array value.
447
                            if ($this->isStaticValue($phpcsFile, $tokens, ($doubleArrow + 1), $item['end'], $nestedArrays) === false) {
@@ 447-449 (lines=3) @@
444
                            }
445
446
                            // Examine array value.
447
                            if ($this->isStaticValue($phpcsFile, $tokens, ($doubleArrow + 1), $item['end'], $nestedArrays) === false) {
448
                                return false;
449
                            }
450
                        }
451
                    }
452
                }