@@ -23,7 +23,7 @@ discard block |
||
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 |
||
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(); |
@@ -23,7 +23,7 @@ |
||
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, |
@@ -67,7 +67,7 @@ |
||
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); |