Code Duplication    Length = 3-3 lines in 4 locations

src/Generator/Binary/RandomBinaryGenerator.php 1 location

@@ 37-39 (lines=3) @@
34
            throw new ZeroArgumentException(sprintf('Length of bitmap for UID should be grate then "0", got "%d" instead.', $uid_bitmap_length));
35
        }
36
37
        if ($uid_bitmap_length >= PHP_INT_SIZE * 8) {
38
            throw new ProcessorArchitectureException(sprintf('Your processor architecture support %d-bit mode, got "%d" instead.', PHP_INT_SIZE * 8, $uid_bitmap_length));
39
        }
40
41
        $this->uid_bitmap_length = $uid_bitmap_length;
42
    }

src/Generator/Binary/FloatingTimeGenerator.php 1 location

@@ 53-55 (lines=3) @@
50
    {
51
        // @codeCoverageIgnoreStart
52
        // can't reproduce this condition in tests
53
        if (PHP_INT_SIZE * 8 < 64) {
54
            throw new ProcessorArchitectureException(sprintf('This generator require 64-bit mode of processor architecture. Your processor architecture support %d-bit mode.', PHP_INT_SIZE * 8));
55
        }
56
        // @codeCoverageIgnoreEnd
57
58
        if (!is_int($time_length)) {

src/Generator/Binary/TimeBinaryGenerator.php 1 location

@@ 70-72 (lines=3) @@
67
    {
68
        // @codeCoverageIgnoreStart
69
        // can't reproduce this condition in tests
70
        if (PHP_INT_SIZE * 8 < 64) {
71
            throw new ProcessorArchitectureException(sprintf('This generator require 64-bit mode of processor architecture. Your processor architecture support %d-bit mode.', PHP_INT_SIZE * 8));
72
        }
73
        // @codeCoverageIgnoreEnd
74
75
        if (!is_int($prefix_length)) {

src/Generator/Binary/SnowflakeGenerator.php 1 location

@@ 87-89 (lines=3) @@
84
    ) {
85
        // @codeCoverageIgnoreStart
86
        // can't reproduce this condition in tests
87
        if (PHP_INT_SIZE * 8 < 64) {
88
            throw new ProcessorArchitectureException(sprintf('This generator require 64-bit mode of processor architecture. Your processor architecture support %d-bit mode.', PHP_INT_SIZE * 8));
89
        }
90
        // @codeCoverageIgnoreEnd
91
92
        if (!is_int($generator)) {