Code Duplication    Length = 3-3 lines in 3 locations

src/Model/LDAPUtil.php 3 locations

@@ 34-36 (lines=3) @@
31
    {
32
        $hex_guid = bin2hex($object_guid);
33
        $hex_guid_to_guid_str = '';
34
        for ($k = 1; $k <= 4; ++$k) {
35
            $hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
36
        }
37
        $hex_guid_to_guid_str .= '-';
38
        for ($k = 1; $k <= 2; ++$k) {
39
            $hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
@@ 38-40 (lines=3) @@
35
            $hex_guid_to_guid_str .= substr($hex_guid, 8 - 2 * $k, 2);
36
        }
37
        $hex_guid_to_guid_str .= '-';
38
        for ($k = 1; $k <= 2; ++$k) {
39
            $hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
40
        }
41
        $hex_guid_to_guid_str .= '-';
42
        for ($k = 1; $k <= 2; ++$k) {
43
            $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
@@ 42-44 (lines=3) @@
39
            $hex_guid_to_guid_str .= substr($hex_guid, 12 - 2 * $k, 2);
40
        }
41
        $hex_guid_to_guid_str .= '-';
42
        for ($k = 1; $k <= 2; ++$k) {
43
            $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2);
44
        }
45
        $hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4);
46
        $hex_guid_to_guid_str .= '-' . substr($hex_guid, 20);
47