@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | CodeEditorField::new('definition')->setTemplatePath('@Oliverde8PhpEtl/fields/code_editor.html.twig'), |
| 103 | 103 | |
| 104 | 104 | FormField::addPanel('Execution outpus')->addCssClass("col-12"), |
| 105 | - TextField::new('Files')->formatValue(function ($value, EtlExecution $entity) { |
|
| 105 | + TextField::new('Files')->formatValue(function($value, EtlExecution $entity) { |
|
| 106 | 106 | $urls = []; |
| 107 | 107 | if ($this->isGranted(EtlExecutionVoter::DOWNLOAD, EtlExecution::class)) { |
| 108 | 108 | $files = $this->chainWorkDirManager->listFiles($entity); |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | return $urls; |
| 119 | 119 | })->setTemplatePath('@Oliverde8PhpEtl/fields/files.html.twig'), |
| 120 | 120 | CodeEditorField::new('errorMessage')->setTemplatePath('@Oliverde8PhpEtl/fields/code_editor.html.twig'), |
| 121 | - TextField::new('Logs')->formatValue(function ($value, EtlExecution $entity) { |
|
| 121 | + TextField::new('Logs')->formatValue(function($value, EtlExecution $entity) { |
|
| 122 | 122 | $logs = $this->chainWorkDirManager->getFirstLogLines($entity, 100); |
| 123 | 123 | $url = ""; |
| 124 | 124 | $moreLogs = false; |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | continue; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | - $files[] =$item; |
|
| 75 | + $files[] = $item; |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | return $files; |