Passed
Branch develop (3021df)
by Pavel
07:44
created
tests/Maker/FunctionalTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     protected function setUp(): void
25 25
     {
26
-        $this->app_path = dirname(__DIR__) . '/app';
26
+        $this->app_path = dirname(__DIR__).'/app';
27 27
         parent::setUp();
28 28
     }
29 29
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $input = new StringInput("make:form-layer $name $entity");
48 48
         $output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
49 49
         $this->application->run($input, $output);
50
-        $filePath = $this->app_path . "/FormLayer/$name.php";
50
+        $filePath = $this->app_path."/FormLayer/$name.php";
51 51
         $this->assertTrue(is_file($filePath));
52 52
         $layerClass = "Pfilsx\\FormLayer\\Tests\\app\\FormLayer\\$name";
53 53
         $layer = new $layerClass();
Please login to merge, or discard this patch.
src/Renderer/FormLayerRenderer.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
     {
24 24
         $this->generator->generateClass(
25 25
             $formClassDetails->getFullName(),
26
-            __DIR__ . '/../Resources/skeleton/FormLayer.tpl.php',
26
+            __DIR__.'/../Resources/skeleton/FormLayer.tpl.php',
27 27
             [
28 28
                 'bounded_full_class_name' => $boundClassDetails ? $boundClassDetails->getFullName() : null,
29 29
                 'bounded_class_name' => $boundClassDetails ? $boundClassDetails->getShortName() : null,
Please login to merge, or discard this patch.
src/Maker/MakeFormLayer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             $argument = $command->getDefinition()->getArgument('bound-class');
68 68
             $entities = $this->entityHelper->getEntitiesForAutocomplete();
69 69
             $question = new Question($argument->getDescription());
70
-            $question->setValidator(function ($answer) use ($entities) {
70
+            $question->setValidator(function($answer) use ($entities) {
71 71
                 return Validator::existsOrNull($answer, $entities);
72 72
             });
73 73
             $question->setAutocompleterValues($entities);
Please login to merge, or discard this patch.