Code Duplication    Length = 5-5 lines in 3 locations

typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php 3 locations

@@ 555-559 (lines=5) @@
552
            $this->configurationManager->setLocalConfigurationValueByPath('GFX/processor', $newProcessorValue);
553
        }
554
555
        if (!empty($changedSettings['GFX/im_noScaleUp'])) {
556
            $currentProcessorValue = $this->configurationManager->getLocalConfigurationValueByPath('GFX/im_noScaleUp');
557
            $newProcessorValue = !$currentProcessorValue;
558
            $this->configurationManager->setLocalConfigurationValueByPath(
559
                'GFX/processor_allowUpscaling',
560
                $newProcessorValue
561
            );
562
        }
@@ 573-577 (lines=5) @@
570
            );
571
        }
572
573
        if (!empty($changedSettings['GFX/im_mask_temp_ext_gif'])) {
574
            $currentProcessorValue = $this->configurationManager->getLocalConfigurationValueByPath('GFX/im_mask_temp_ext_gif');
575
            $newProcessorValue = !$currentProcessorValue;
576
            $this->configurationManager->setLocalConfigurationValueByPath(
577
                'GFX/processor_allowTemporaryMasksAsPng',
578
                $newProcessorValue
579
            );
580
        }
@@ 564-568 (lines=5) @@
561
            );
562
        }
563
564
        if (!empty($changedSettings['GFX/im_noFramePrepended'])) {
565
            $currentProcessorValue = $this->configurationManager->getLocalConfigurationValueByPath('GFX/im_noFramePrepended');
566
            $newProcessorValue = !$currentProcessorValue;
567
            $this->configurationManager->setLocalConfigurationValueByPath(
568
                'GFX/processor_allowFrameSelection',
569
                $newProcessorValue
570
            );
571
        }