Passed
Push — master ( 823aee...b9b37f )
by Alec
13:15 queued 12s
created
src/Spinner/Contract/ColorMode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@
 block discarded – undo
436 436
             return 0;
437 437
         }
438 438
 
439
-        return (int)((round($b / 255) << 2) | (round($g / 255) << 1) | round($r / 255));
439
+        return (int)((round($b / 255) << 2)|(round($g / 255) << 1)|round($r / 255));
440 440
     }
441 441
 
442 442
     private function getSaturation(int $r, int $g, int $b): int
Please login to merge, or discard this patch.
src/Spinner/Core/A/AFrameRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
              * @return Generator<IFrame>
33 33
              * @throws InvalidArgumentException
34 34
              */
35
-            function (): Generator {
35
+            function(): Generator {
36 36
                 /** @var IFrame|Stringable|string|int|array<string,int|null> $entry */
37 37
                 foreach ($this->pattern->getPattern() as $entry) {
38 38
                     if ($entry instanceof IFrame) {
Please login to merge, or discard this patch.
src/Spinner/Core/A/ASpinner.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     public function add(IWidgetComposite|IWidgetContext $element): IWidgetContext
81 81
     {
82 82
         $this->wrap(
83
-            function () use ($element, &$result): void {
83
+            function() use ($element, &$result): void {
84 84
                 $result = $this->rootWidget->add($element);
85 85
             }
86 86
         );
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     public function remove(IWidgetComposite|IWidgetContext $element): void
117 117
     {
118 118
         $this->wrap(
119
-            function () use ($element) {
119
+            function() use ($element) {
120 120
                 $this->rootWidget->remove($element);
121 121
             }
122 122
         );
Please login to merge, or discard this patch.
src/Spinner/Core/Pattern/A/APattern.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     protected const UPDATE_INTERVAL = 1000;
18 18
 
19 19
     /** @var array */
20
-    protected const PATTERN = ['  ', ' u', 'un', 'nd', 'de', 'ef', 'fi', 'in', 'ne', 'ed', 'd ',];
20
+    protected const PATTERN = ['  ', ' u', 'un', 'nd', 'de', 'ef', 'fi', 'in', 'ne', 'ed', 'd ', ];
21 21
 
22 22
     public function __construct(
23 23
         protected ?int $interval = null,
Please login to merge, or discard this patch.
src/Spinner/Core/Pattern/Char/Moon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
 {
13 13
     protected const UPDATE_INTERVAL = 300;
14 14
 
15
-    protected const PATTERN = ['
Please login to merge, or discard this patch.
src/Spinner/Core/Pattern/Char/Dice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
 {
13 13
     protected const UPDATE_INTERVAL = 120;
14 14
 
15
-    protected const PATTERN = ['⚀', '⚁', '⚂', '⚃', '⚄', '⚅',];
15
+    protected const PATTERN = ['⚀', '⚁', '⚂', '⚃', '⚄', '⚅', ];
16 16
 }
Please login to merge, or discard this patch.
src/Spinner/Core/Pattern/Char/Dot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
 {
13 13
     protected const UPDATE_INTERVAL = 160;
14 14
 
15
-    protected const PATTERN = ['⢀', '⡀', '⠄', '⠂', '⠁', '⠈', '⠐', '⠠',];
15
+    protected const PATTERN = ['⢀', '⡀', '⠄', '⠂', '⠁', '⠈', '⠐', '⠠', ];
16 16
 }
Please login to merge, or discard this patch.
src/Spinner/Core/Pattern/Char/Earth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
 {
13 13
     protected const UPDATE_INTERVAL = 300;
14 14
 
15
-    protected const PATTERN = ['
Please login to merge, or discard this patch.
src/Spinner/Core/Pattern/Char/HalfCircle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
 {
13 13
     protected const UPDATE_INTERVAL = 160;
14 14
 
15
-    protected const PATTERN = ['◐', '◓', '◑', '◒',];
15
+    protected const PATTERN = ['◐', '◓', '◑', '◒', ];
16 16
 }
Please login to merge, or discard this patch.