Completed
Push — master ( fbaba0...9f3a52 )
by Tomasz
02:45
created
src/Gendoria/CruftFlake/Config/ConfigInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Cruft flake config interface.
4
- * 
5
- * Implement this if you want some other way to configure machines.
6
- * 
7
- * @author @davegardnerisme
8
- */
3
+     * Cruft flake config interface.
4
+     * 
5
+     * Implement this if you want some other way to configure machines.
6
+     * 
7
+     * @author @davegardnerisme
8
+     */
9 9
 
10 10
 namespace Gendoria\CruftFlake\Config;
11 11
 
Please login to merge, or discard this patch.
src/Gendoria/CruftFlake/Config/FixedConfig.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Fixed configuration.
4
- * 
5
- * This is designed to be used where each machine **knows** what its machine
6
- * ID is - eg: via some kind of automatically deployed configuration
7
- * (puppet etc.)
8
- * 
9
- * @author @davegardnerisme
10
- */
3
+     * Fixed configuration.
4
+     * 
5
+     * This is designed to be used where each machine **knows** what its machine
6
+     * ID is - eg: via some kind of automatically deployed configuration
7
+     * (puppet etc.)
8
+     * 
9
+     * @author @davegardnerisme
10
+     */
11 11
 
12 12
 namespace Gendoria\CruftFlake\Config;
13 13
 
Please login to merge, or discard this patch.
src/Gendoria/CruftFlake/Timer/Timer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Cruft flake timer.
4
- * 
5
- * @author @davegardnerisme
6
- */
3
+     * Cruft flake timer.
4
+     * 
5
+     * @author @davegardnerisme
6
+     */
7 7
 
8 8
 namespace Gendoria\CruftFlake\Timer;
9 9
 
Please login to merge, or discard this patch.
src/Gendoria/CruftFlake/Timer/TimerInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Cruft flake timer interface.
4
- * 
5
- * Implement this if you want some other way to provide time.
6
- * 
7
- * @author @davegardnerisme
8
- */
3
+     * Cruft flake timer interface.
4
+     * 
5
+     * Implement this if you want some other way to provide time.
6
+     * 
7
+     * @author @davegardnerisme
8
+     */
9 9
 
10 10
 namespace Gendoria\CruftFlake\Timer;
11 11
 
Please login to merge, or discard this patch.
src/Gendoria/CruftFlake/Generator/Generator.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Like the Twitter one.
4
- * 
5
- * 64 bits:
6
- * 
7
- * time - 41 bits (millisecond precision w/ a custom epoch gives us 69 years)
8
- * configured machine id - 10 bits - gives us up to 1024 machines
9
- * sequence number - 12 bits - rolls over every 4096 per machine (with protection to avoid rollover in the same ms)
10
- * 
11
- * 32 bits + 9 = 41 bits of time
12
- * 2199023255552 < milliseconds = 2199023255 seconds
13
- *                                2147483647 < max 31 bit int (signed)
14
- *
15
- * @author @davegardnerisme
16
- */
3
+     * Like the Twitter one.
4
+     * 
5
+     * 64 bits:
6
+     * 
7
+     * time - 41 bits (millisecond precision w/ a custom epoch gives us 69 years)
8
+     * configured machine id - 10 bits - gives us up to 1024 machines
9
+     * sequence number - 12 bits - rolls over every 4096 per machine (with protection to avoid rollover in the same ms)
10
+     * 
11
+     * 32 bits + 9 = 41 bits of time
12
+     * 2199023255552 < milliseconds = 2199023255 seconds
13
+     *                                2147483647 < max 31 bit int (signed)
14
+     *
15
+     * @author @davegardnerisme
16
+     */
17 17
 
18 18
 namespace Gendoria\CruftFlake;
19 19
 
Please login to merge, or discard this patch.