@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | ]); |
188 | 188 | break; |
189 | 189 | default: |
190 | - $inOut->writeError("Unsupported item type `$item`." . PHP_EOL); |
|
190 | + $inOut->writeError("Unsupported item type `$item`.".PHP_EOL); |
|
191 | 191 | break; |
192 | 192 | } |
193 | 193 | } |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | private function composeMigrationParameters(ContainerInterface $container, string $singular, string $plural): array |
205 | 205 | { |
206 | 206 | $outputPath = $this->getDataSettings($container)[DataSettingsInterface::KEY_MIGRATIONS_FOLDER] |
207 | - . DIRECTORY_SEPARATOR . $plural . 'Migration.php'; |
|
207 | + . DIRECTORY_SEPARATOR.$plural.'Migration.php'; |
|
208 | 208 | $parameters = [ |
209 | 209 | '{%SINGULAR_CC%}' => $singular, |
210 | 210 | '{%PLURAL_CC%}' => $plural, |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | private function composeSeedParameters(ContainerInterface $container, string $singular, string $plural): array |
226 | 226 | { |
227 | 227 | $outputPath = $this->getDataSettings($container)[DataSettingsInterface::KEY_SEEDS_FOLDER] |
228 | - . DIRECTORY_SEPARATOR . $plural . 'Seed.php'; |
|
228 | + . DIRECTORY_SEPARATOR.$plural.'Seed.php'; |
|
229 | 229 | $parameters = [ |
230 | 230 | '{%SINGULAR_CC%}' => $singular, |
231 | 231 | '{%PLURAL_CC%}' => $plural, |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | private function composeModelParameters(ContainerInterface $container, string $singular, string $plural): array |
247 | 247 | { |
248 | 248 | $outputPath = $this->getDataSettings($container)[DataSettingsInterface::KEY_MODELS_FOLDER] |
249 | - . DIRECTORY_SEPARATOR . $singular . '.php'; |
|
249 | + . DIRECTORY_SEPARATOR.$singular.'.php'; |
|
250 | 250 | $parameters = [ |
251 | 251 | '{%SINGULAR_CC%}' => $singular, |
252 | 252 | '{%SINGULAR_LC%}' => strtolower($singular), |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | private function composeSchemaParameters(ContainerInterface $container, string $singular, string $plural): array |
271 | 271 | { |
272 | 272 | $outputPath = $this->getFluteSettings($container)[FluteSettingsInterface::KEY_SCHEMAS_FOLDER] |
273 | - . DIRECTORY_SEPARATOR . $singular . 'Schema.php'; |
|
273 | + . DIRECTORY_SEPARATOR.$singular.'Schema.php'; |
|
274 | 274 | $parameters = [ |
275 | 275 | '{%SINGULAR_CC%}' => $singular, |
276 | 276 | '{%PLURAL_LC%}' => strtolower($plural), |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | private function composeApiParameters(ContainerInterface $container, string $singular, string $plural): array |
292 | 292 | { |
293 | 293 | $outputPath = $this->getFluteSettings($container)[FluteSettingsInterface::KEY_API_FOLDER] |
294 | - . DIRECTORY_SEPARATOR . $plural . 'Api.php'; |
|
294 | + . DIRECTORY_SEPARATOR.$plural.'Api.php'; |
|
295 | 295 | $parameters = [ |
296 | 296 | '{%SINGULAR_CC%}' => $singular, |
297 | 297 | '{%PLURAL_CC%}' => $plural, |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | string $plural |
318 | 318 | ): array { |
319 | 319 | $outputPath = $this->getAuthorizationSettings($container)[AuthorizationSettingsInterface::KEY_POLICIES_FOLDER] |
320 | - . DIRECTORY_SEPARATOR . $singular . 'Rules.php'; |
|
320 | + . DIRECTORY_SEPARATOR.$singular.'Rules.php'; |
|
321 | 321 | $parameters = [ |
322 | 322 | '{%SINGULAR_CC%}' => $singular, |
323 | 323 | '{%PLURAL_CC%}' => $plural, |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | string $plural |
345 | 345 | ): array { |
346 | 346 | $outputPath = $this->getFluteSettings($container)[FluteSettingsInterface::KEY_JSON_VALIDATION_RULES_FOLDER] |
347 | - . DIRECTORY_SEPARATOR . $singular . 'Rules.php'; |
|
347 | + . DIRECTORY_SEPARATOR.$singular.'Rules.php'; |
|
348 | 348 | $parameters = [ |
349 | 349 | '{%SINGULAR_CC%}' => $singular, |
350 | 350 | '{%SINGULAR_LC%}' => strtolower($singular), |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | $folder = $this->filterOutFolderMask( |
372 | 372 | $this->getFluteSettings($container)[FluteSettingsInterface::KEY_JSON_VALIDATORS_FOLDER] |
373 | 373 | ); |
374 | - $outputPath = $folder . DIRECTORY_SEPARATOR . $singular . 'Create.php'; |
|
374 | + $outputPath = $folder.DIRECTORY_SEPARATOR.$singular.'Create.php'; |
|
375 | 375 | $parameters = [ |
376 | 376 | '{%SINGULAR_CC%}' => $singular, |
377 | 377 | '{%SINGULAR_LC%}' => strtolower($singular), |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | $folder = $this->filterOutFolderMask( |
398 | 398 | $this->getFluteSettings($container)[FluteSettingsInterface::KEY_JSON_VALIDATORS_FOLDER] |
399 | 399 | ); |
400 | - $outputPath = $folder . DIRECTORY_SEPARATOR . $singular . 'Update.php'; |
|
400 | + $outputPath = $folder.DIRECTORY_SEPARATOR.$singular.'Update.php'; |
|
401 | 401 | $parameters = [ |
402 | 402 | '{%SINGULAR_CC%}' => $singular, |
403 | 403 | '{%SINGULAR_LC%}' => strtolower($singular), |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | $folder = $this->filterOutFolderMask( |
424 | 424 | $this->getFluteSettings($container)[FluteSettingsInterface::KEY_JSON_CONTROLLERS_FOLDER] |
425 | 425 | ); |
426 | - $outputPath = $folder . DIRECTORY_SEPARATOR . $plural . 'Controller.php'; |
|
426 | + $outputPath = $folder.DIRECTORY_SEPARATOR.$plural.'Controller.php'; |
|
427 | 427 | $parameters = [ |
428 | 428 | '{%SINGULAR_CC%}' => $singular, |
429 | 429 | '{%PLURAL_CC%}' => $plural, |
@@ -449,7 +449,7 @@ discard block |
||
449 | 449 | $folder = $this->filterOutFolderMask( |
450 | 450 | $this->getFluteSettings($container)[FluteSettingsInterface::KEY_ROUTES_FOLDER] |
451 | 451 | ); |
452 | - $outputPath = $folder . DIRECTORY_SEPARATOR . $singular . 'ApiRoutes.php'; |
|
452 | + $outputPath = $folder.DIRECTORY_SEPARATOR.$singular.'ApiRoutes.php'; |
|
453 | 453 | $parameters = [ |
454 | 454 | '{%SINGULAR_CC%}' => $singular, |
455 | 455 | '{%PLURAL_CC%}' => $plural, |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | $folder = $this->filterOutFolderMask( |
476 | 476 | $this->getFluteSettings($container)[FluteSettingsInterface::KEY_WEB_CONTROLLERS_FOLDER] |
477 | 477 | ); |
478 | - $outputPath = $folder . DIRECTORY_SEPARATOR . $plural . 'Controller.php'; |
|
478 | + $outputPath = $folder.DIRECTORY_SEPARATOR.$plural.'Controller.php'; |
|
479 | 479 | $parameters = [ |
480 | 480 | '{%SINGULAR_CC%}' => $singular, |
481 | 481 | '{%PLURAL_CC%}' => $plural, |
@@ -502,7 +502,7 @@ discard block |
||
502 | 502 | $folder = $this->filterOutFolderMask( |
503 | 503 | $this->getFluteSettings($container)[FluteSettingsInterface::KEY_ROUTES_FOLDER] |
504 | 504 | ); |
505 | - $outputPath = $folder . DIRECTORY_SEPARATOR . $singular . 'WebRoutes.php'; |
|
505 | + $outputPath = $folder.DIRECTORY_SEPARATOR.$singular.'WebRoutes.php'; |
|
506 | 506 | $parameters = [ |
507 | 507 | '{%SINGULAR_CC%}' => $singular, |
508 | 508 | '{%PLURAL_CC%}' => $plural, |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | { |
677 | 677 | $mask = '**'; |
678 | 678 | |
679 | - $folder = str_replace($mask . DIRECTORY_SEPARATOR, '', $folder); |
|
679 | + $folder = str_replace($mask.DIRECTORY_SEPARATOR, '', $folder); |
|
680 | 680 | $folder = str_replace($mask, '', $folder); |
681 | 681 | |
682 | 682 | return $folder; |