Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/extensionmanager/Classes/Utility/ConfigurationUtility.php 1 location

@@ 347-349 (lines=3) @@
344
        $editableComments = [];
345
        $counter = 0;
346
        foreach ($flatSetup as $const => $value) {
347
            if (substr($const, -2) === '..' || !isset($flatSetup[$const . '..'])) {
348
                continue;
349
            }
350
            $counter++;
351
            $comment = trim($flatSetup[$const . '..']);
352
            $c_arr = explode(LF, $comment);

typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php 1 location

@@ 914-916 (lines=3) @@
911
        $editableComments = [];
912
        $counter = 0;
913
        foreach ($this->flatSetup as $const => $value) {
914
            if (substr($const, -2) === '..' || !isset($this->flatSetup[$const . '..'])) {
915
                continue;
916
            }
917
            $counter++;
918
            $comment = trim($this->flatSetup[$const . '..']);
919
            $c_arr = explode(LF, $comment);