Test Failed
Push — master ( 15b6af...d076c2 )
by BruceScrutinizer
08:02
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/EnvironmentDataLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
 
47 47
     public function load(): void
48 48
     {
49
-        $fetchValue = function ($key, $value) {return $value; };
50
-        $fetchKey = function ($key, $value) {return $key; };
49
+        $fetchValue = function($key, $value) {return $value; };
50
+        $fetchKey = function($key, $value) {return $key; };
51 51
 
52 52
         $this->collectBaseFunctions = $this->fillFromArray(\get_defined_functions()['internal'], $fetchValue);
53 53
         $this->collectBaseInterfaces = $this->fillFromArray(\get_declared_interfaces(), $fetchValue);
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,8 +11,8 @@
 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
 
18 18
     public function clearStoredProcessedResult(): void;
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
@@ -37,12 +37,12 @@
 block discarded – undo
37 37
 
38 38
     private function configure(EventDispatcherInterface $eventDispatcher): void
39 39
     {
40
-        $this->listNodeProcessor[UseUse::class] = function (Node $node) use ($eventDispatcher) {
40
+        $this->listNodeProcessor[UseUse::class] = function(Node $node) use ($eventDispatcher) {
41 41
             /** @var UseUse $node */
42 42
             return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString()));
43 43
         };
44 44
 
45
-        $this->listNodeProcessor[FullyQualified::class] = function (Node $node) use ($eventDispatcher) {
45
+        $this->listNodeProcessor[FullyQualified::class] = function(Node $node) use ($eventDispatcher) {
46 46
             /** @var FullyQualified $node */
47 47
             return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString()));
48 48
         };
Please login to merge, or discard this patch.