Passed
Branch master (6220de)
by BruceScrutinizer
04:32
created
tools/php-cs-fixer/vendor/composer/platform_check.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
     }
15 15
     if (!ini_get('display_errors')) {
16 16
         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17
-            fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
17
+            fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL . PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL . PHP_EOL);
18 18
         } elseif (!headers_sent()) {
19
-            echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
19
+            echo 'Composer detected issues in your platform:' . PHP_EOL . PHP_EOL . str_replace('You are running ' . PHP_VERSION . '.', '', implode(PHP_EOL, $issues)) . PHP_EOL . PHP_EOL;
20 20
         }
21 21
     }
22 22
     trigger_error(
Please login to merge, or discard this patch.
tools/php-cs-fixer/vendor/psr/cache/src/CacheItemPoolInterface.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,6 @@
 block discarded – undo
96 96
      *
97 97
      * @param string[] $keys
98 98
      *   An array of keys that should be removed from the pool.
99
-
100 99
      * @throws InvalidArgumentException
101 100
      *   If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
102 101
      *   MUST be thrown.
Please login to merge, or discard this patch.
tools/php-cs-fixer/vendor/psr/log/Psr/Log/Test/TestLogger.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         if (is_string($record)) {
89 89
             $record = ['message' => $record];
90 90
         }
91
-        return $this->hasRecordThatPasses(function ($rec) use ($record) {
91
+        return $this->hasRecordThatPasses(function($rec) use ($record) {
92 92
             if ($rec['message'] !== $record['message']) {
93 93
                 return false;
94 94
             }
@@ -101,14 +101,14 @@  discard block
 block discarded – undo
101 101
 
102 102
     public function hasRecordThatContains($message, $level)
103 103
     {
104
-        return $this->hasRecordThatPasses(function ($rec) use ($message) {
104
+        return $this->hasRecordThatPasses(function($rec) use ($message) {
105 105
             return strpos($rec['message'], $message) !== false;
106 106
         }, $level);
107 107
     }
108 108
 
109 109
     public function hasRecordThatMatches($regex, $level)
110 110
     {
111
-        return $this->hasRecordThatPasses(function ($rec) use ($regex) {
111
+        return $this->hasRecordThatPasses(function($rec) use ($regex) {
112 112
             return preg_match($regex, $rec['message']) > 0;
113 113
         }, $level);
114 114
     }
Please login to merge, or discard this patch.
tools/php-cs-fixer/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
         $logger->log($level, $message, array('user' => 'Bob'));
46 46
 
47 47
         $expected = array(
48
-            $level.' message of level '.$level.' with context: Bob',
49
-            $level.' message of level '.$level.' with context: Bob',
48
+            $level . ' message of level ' . $level . ' with context: Bob',
49
+            $level . ' message of level ' . $level . ' with context: Bob',
50 50
         );
51 51
         $this->assertEquals($expected, $this->getLogs());
52 52
     }
Please login to merge, or discard this patch.
src/OutputDevice/GraphicsDevice.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         $graph->setAttribute('graphviz.graph.rankdir', 'LR');
17 17
 
18 18
         array_map(
19
-            fn ($processedFileResult) => $this->plot($graph, $processedFileResult),
19
+            fn($processedFileResult) => $this->plot($graph, $processedFileResult),
20 20
             iterator_to_array($value->getProcessedResult()->getIterator())
21 21
         );
22 22
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $blue->setAttribute('graphviz.color', 'blue');
42 42
 
43 43
             array_map(
44
-                function ($conflict) use ($graph, $blue): void {
44
+                function($conflict) use ($graph, $blue): void {
45 45
                     /** @var int $fileName */
46 46
                     $fileName = $conflict->get();
47 47
 
Please login to merge, or discard this patch.
src/Parser/PhpFileParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $processFileResult = new ResultProcessedMutableFile($pathFile->get());
46 46
 
47 47
         array_map(
48
-            fn ($item) => $processFileResult->addConflic($item),
48
+            fn($item) => $processFileResult->addConflic($item),
49 49
             iterator_to_array($this->namespaceProtectorVisitor->getStoreProcessedResult()->getIterator())
50 50
         );
51 51
 
Please login to merge, or discard this patch.
src/Showable/ConfigConsoleShowable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         /** @psalm-suppress UnusedVariable */
49 49
         array_walk(
50 50
             $entries,
51
-            fn (string $namespace): string => $prettyPrintNamespaceToValidate .= '|       >' . $namespace . \PHP_EOL,
51
+            fn(string $namespace): string => $prettyPrintNamespaceToValidate .= '|       >' . $namespace . \PHP_EOL,
52 52
         );
53 53
 
54 54
         return $prettyPrintNamespaceToValidate;
Please login to merge, or discard this patch.
src/Result/ResultParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function append(ResultParserInterface $toAppendInstance): void
22 22
     {
23 23
         array_map(
24
-            fn ($item) => $this->collectedResultParser->addResult($item),
24
+            fn($item) => $this->collectedResultParser->addResult($item),
25 25
             iterator_to_array($toAppendInstance->getResultCollectionReadable()->getIterator())
26 26
         );
27 27
     }
Please login to merge, or discard this patch.
src/Result/ResultAnalyser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $collection = $this->collectedFactory->createEmptyMutableCollection();
21 21
 
22 22
         array_map(
23
-            fn (ResultProcessedFileInterface $item) => $collection->addResult($item),
23
+            fn(ResultProcessedFileInterface $item) => $collection->addResult($item),
24 24
             iterator_to_array($this->resultCollection->getIterator())
25 25
         );
26 26
 
Please login to merge, or discard this patch.