Passed
Push — master ( 1ba30a...8ac47c )
by Luis
01:05 queued 12s
created
src/Templates/TemplateEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         try {
29 29
             return $this->twig->render($template, $values);
30
-        } catch (LoaderError | RuntimeError  | SyntaxError $e) {
30
+        } catch (LoaderError | RuntimeError | SyntaxError $e) {
31 31
             throw new TemplateFailure($e);
32 32
         }
33 33
     }
Please login to merge, or discard this patch.
src/Processors/ImageProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $process = new Process([$this->name->command(), '-Tpng', '-o', $outputFile, $inputFile]);
74 74
         $process->run();
75
-        if (! $process->isSuccessful()) {
75
+        if (!$process->isSuccessful()) {
76 76
             throw ImageGenerationFailure::withOutput($process->getErrorOutput());
77 77
         }
78 78
     }
Please login to merge, or discard this patch.
src/Graphviz/Styles/ThemeName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public function __construct(string $name)
18 18
     {
19
-        if (! \in_array($name, self::VALID_NAMES, true)) {
19
+        if (!\in_array($name, self::VALID_NAMES, true)) {
20 20
             throw UnknownTheme::named($name, self::VALID_NAMES);
21 21
         }
22 22
         $this->name = $name;
Please login to merge, or discard this patch.
src/Processors/ImageProcessorName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public function __construct(string $name)
18 18
     {
19
-        if (! \in_array($name, self::NAMES, true)) {
19
+        if (!\in_array($name, self::NAMES, true)) {
20 20
             throw UnknownImageProcessor::named($name, self::NAMES);
21 21
         }
22 22
         $this->name = $name;
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 use Rector\Set\ValueObject\SetList;
14 14
 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
15 15
 
16
-return static function (ContainerConfigurator $containerConfigurator): void {
16
+return static function(ContainerConfigurator $containerConfigurator): void {
17 17
     $parameters = $containerConfigurator->parameters();
18 18
 
19 19
     $parameters->set(Option::PATHS, [__DIR__ . '/src', __DIR__ . '/tests']);
Please login to merge, or discard this patch.
src/Parser/SourceCodeFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public static function fromConfiguration(CodeFinderConfiguration $configuration): SourceCodeFinder
24 24
     {
25 25
         $finder = new Finder();
26
-        if (! $configuration->recursive()) {
26
+        if (!$configuration->recursive()) {
27 27
             $finder->depth(0);
28 28
         }
29 29
         return new self($finder);
Please login to merge, or discard this patch.
src/Parser/Code/Builders/Members/ParametersBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function build(array $parameters, ?Doc $methodDocBlock, UseStatements $useStatements): array
27 27
     {
28
-        return array_map(function (Param $parameter) use ($methodDocBlock, $useStatements): Parameter {
28
+        return array_map(function(Param $parameter) use ($methodDocBlock, $useStatements) : Parameter {
29 29
             /** @var \PhpParser\Node\Expr\Variable $parsedParameter Since the parser throws error by default */
30 30
             $parsedParameter = $parameter->var;
31 31
 
Please login to merge, or discard this patch.
src/Parser/Code/Builders/Filters/VisibilityFilter.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
 interface VisibilityFilter
14 14
 {
15
-    public function accept(Stmt|Param $member): bool;
15
+    public function accept(Stmt | Param $member): bool;
16 16
 }
Please login to merge, or discard this patch.
src/Code/UseStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function endsWith(Name $name): bool
17 17
     {
18
-        return str_ends_with(haystack: (string) $this->name, needle: $name->removeArraySuffix());
18
+        return str_ends_with(haystack : (string) $this->name, needle : $name->removeArraySuffix());
19 19
     }
20 20
 
21 21
     public function includes(Name $name): bool
Please login to merge, or discard this patch.