Passed
Pull Request — master (#92)
by
unknown
04:25 queued 02:11
created
src/Spinner/Core/Widget/Contract/IWidget.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 use AlecRabbit\Spinner\Contract\ISubject;
10 10
 
11 11
 interface IWidget extends ISubject,
12
-                          IHasInterval,
13
-                          IHasFrame
12
+                            IHasInterval,
13
+                            IHasFrame
14 14
 {
15 15
 }
Please login to merge, or discard this patch.
src/Spinner/Core/Widget/Contract/IWidgetComposite.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 use AlecRabbit\Spinner\Contract\IObserver;
8 8
 
9 9
 interface IWidgetComposite extends IWidget,
10
-                                   IObserver
10
+                                    IObserver
11 11
 {
12 12
     public function add(IWidgetContext $context): IWidgetContext;
13 13
 
Please login to merge, or discard this patch.
src/Spinner/Core/Widget/Contract/IWidgetContext.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 use AlecRabbit\Spinner\Contract\ISubject;
10 10
 
11 11
 interface IWidgetContext extends IObserver,
12
-                                 ISubject,
13
-                                 IHasNullableInterval
12
+                                    ISubject,
13
+                                    IHasNullableInterval
14 14
 {
15 15
     public function setWidget(?IWidget $widget): void;
16 16
 
Please login to merge, or discard this patch.
src/Spinner/Core/Contract/ISpinner.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 use AlecRabbit\Spinner\Core\Widget\Contract\IWidgetContext;
12 12
 
13 13
 interface ISpinner extends IObserver,
14
-                           ISubject,
15
-                           IHasInterval,
16
-                           IHasFrame
14
+                            ISubject,
15
+                            IHasInterval,
16
+                            IHasFrame
17 17
 {
18 18
     public function add(IWidgetContext $element): IWidgetContext;
19 19
 
Please login to merge, or discard this patch.
src/Spinner/Core/Loop/Contract/A/ALoopAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
18 18
 
19 19
         return (bool)(($error['type'] ?? 0)
20 20
             &
21
-            (E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR));
21
+            (E_ERROR|E_CORE_ERROR|E_COMPILE_ERROR|E_USER_ERROR|E_RECOVERABLE_ERROR));
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Spinner/Core/Settings/Factory/DetectedSettingsFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
                              */
74 74
                             public function createHandler(IDriver $driver, ILoop $loop): Closure
75 75
                             {
76
-                                return static function () use ($driver, $loop): void {
76
+                                return static function() use ($driver, $loop): void {
77 77
                                     $driver->interrupt();
78 78
                                     $loop->stop();
79 79
                                 };
Please login to merge, or discard this patch.
src/Spinner/Asynchronous/Revolt/RevoltLoopAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
         // Automatically run loop at the end of script, unless already started or stopped explicitly.
46 46
         // @codeCoverageIgnoreStart
47 47
         $hasRun = false;
48
-        EventLoop::defer(static function () use (&$hasRun): void {
48
+        EventLoop::defer(static function() use (&$hasRun): void {
49 49
             $hasRun = true;
50 50
         });
51 51
 
52 52
         /** @psalm-suppress UnsupportedPropertyReferenceUsage */
53 53
         $stopped = &self::$stopped;
54
-        register_shutdown_function(static function () use (&$hasRun, &$stopped): void {
54
+        register_shutdown_function(static function() use (&$hasRun, &$stopped): void {
55 55
             // Don't run if we're coming from a fatal error (uncaught exception).
56 56
             if (self::error()) { // See [889ad594-ca28-4770-bb38-fd5bd8cb1777].
57 57
                 return;
Please login to merge, or discard this patch.
src/Spinner/Contract/IInterval.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 interface IInterval
8 8
 {
9 9
     final public const MIN_INTERVAL_MILLISECONDS = 10;
10
-    final public const MAX_INTERVAL_MILLISECONDS = 900000;  // 15 minutes
10
+    final public const MAX_INTERVAL_MILLISECONDS = 900000; // 15 minutes
11 11
 
12 12
     public function toMicroseconds(): float;
13 13
 
Please login to merge, or discard this patch.
src/Spinner/Core/Palette/A/ACharPalette.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
     {
36 36
         $this->options =
37 37
             new PaletteOptions(
38
-                interval: $this->options->getInterval() ?? $this->getInterval(),
39
-                reversed: $this->options->getReversed(),
38
+                interval : $this->options->getInterval() ?? $this->getInterval(),
39
+                reversed : $this->options->getReversed(),
40 40
             );
41 41
 
42 42
         return parent::getOptions($mode);
Please login to merge, or discard this patch.