Test Failed
Push — master ( 83b81c...cf0477 )
by BruceScrutinizer
02:27
created
src/Command/NamespaceProtectorCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     private function stopWatch(float $script_start): float
30 30
     {
31 31
         list($usec, $sec) = explode(' ', microtime());
32
-        $script_end = (float) $sec + (float) $usec;
32
+        $script_end = (float)$sec + (float)$usec;
33 33
 
34 34
         return  round($script_end - $script_start, 5);
35 35
     }
Please login to merge, or discard this patch.
src/Parser/Node/NamespaceVisitor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,12 +44,12 @@
 block discarded – undo
44 44
 
45 45
     private function configure(EventDispatcherInterface $eventDispatcher): void
46 46
     {
47
-        $this->listNodeProcessor[UseUse::class] = function (Node $node) use ($eventDispatcher): object {
47
+        $this->listNodeProcessor[UseUse::class] = function(Node $node) use ($eventDispatcher): object {
48 48
             /** @var UseUse $node */
49 49
             return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString()));
50 50
         };
51 51
 
52
-        $this->listNodeProcessor[FullyQualified::class] = function (Node $node) use ($eventDispatcher): object {
52
+        $this->listNodeProcessor[FullyQualified::class] = function(Node $node) use ($eventDispatcher): object {
53 53
             /** @var FullyQualified $node */
54 54
             return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString()));
55 55
         };
Please login to merge, or discard this patch.
src/Parser/Node/NamespaceProtectorVisitorInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 interface NamespaceProtectorVisitorInterface extends NodeVisitor
12 12
 {
13 13
     /**
14
-    * @return ResultCollectedReadable<ErrorResult>
15
-    */
14
+     * @return ResultCollectedReadable<ErrorResult>
15
+     */
16 16
     public function getStoreProcessedResult(): ResultCollectedReadable;
17 17
 }
Please login to merge, or discard this patch.
src/Event/EventDispatcher.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         /**
22 22
          * @var callable listener
23
-        */
23
+         */
24 24
         foreach ($this->listenerProvider->getListenersForEvent($event) as $listener) {
25 25
             // if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
26 26
             //     break;
Please login to merge, or discard this patch.
src/EnvironmentDataLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
     public function load(): void
54 54
     {
55 55
         /** @var string|int $value */
56
-        $fetchValue = function ($key, $value): string {return (string)$value; };
56
+        $fetchValue = function($key, $value): string {return (string)$value; };
57 57
 
58
-        $fetchKey = function ($key, $value): string {return (string)$key; };
58
+        $fetchKey = function($key, $value): string {return (string)$key; };
59 59
 
60 60
         $this->collectBaseFunctions = $this->fillFromArray(\get_defined_functions()['internal'], $fetchValue);
61 61
         $this->collectBaseInterfaces = $this->fillFromArray(\get_declared_interfaces(), $fetchValue);
Please login to merge, or discard this patch.