Code Duplication    Length = 3-3 lines in 3 locations

src/PhpGitHooks/Command/QualityCodeTool.php 3 locations

@@ 89-91 (lines=3) @@
86
        ];
87
88
        foreach ($this->files as $file) {
89
            if (true === (bool) preg_match(self::PHP_FILES, $file)) {
90
                $files['php'] = true;
91
            }
92
93
            if (true === (bool) preg_match(self::COMPOSER_FILES, $file)) {
94
                $files['composer'] = true;
@@ 93-95 (lines=3) @@
90
                $files['php'] = true;
91
            }
92
93
            if (true === (bool) preg_match(self::COMPOSER_FILES, $file)) {
94
                $files['composer'] = true;
95
            }
96
97
            if (true === (bool) preg_match(self::JSON_FILES, $file)) {
98
                $files['json'] = true;
@@ 97-99 (lines=3) @@
94
                $files['composer'] = true;
95
            }
96
97
            if (true === (bool) preg_match(self::JSON_FILES, $file)) {
98
                $files['json'] = true;
99
            }
100
        }
101
102
        return $files;