mirror of
https://github.com/Karaka-Management/oms-Surveys.git
synced 2026-01-11 16:08:41 +00:00
phpcs autofixes
This commit is contained in:
parent
3d3a98be4d
commit
c80484c69d
|
|
@ -40,8 +40,8 @@ final class SurveyTemplateL11nMapper extends DataMapperFactory
|
|||
'survey_template_l11n_title' => ['name' => 'survey_template_l11n_title', 'type' => 'string', 'internal' => 'title', 'autocomplete' => true],
|
||||
'survey_template_l11n_description' => ['name' => 'survey_template_l11n_description', 'type' => 'string', 'internal' => 'description'],
|
||||
'survey_template_l11n_description_plain' => ['name' => 'survey_template_l11n_description_plain', 'type' => 'string', 'internal' => 'descriptionPlain'],
|
||||
'survey_template_l11n_footer' => ['name' => 'survey_template_l11n_footer', 'type' => 'string', 'internal' => 'footer'],
|
||||
'survey_template_l11n_footer_plain' => ['name' => 'survey_template_l11n_footer_plain', 'type' => 'string', 'internal' => 'footerPlain'],
|
||||
'survey_template_l11n_footer' => ['name' => 'survey_template_l11n_footer', 'type' => 'string', 'internal' => 'footer'],
|
||||
'survey_template_l11n_footer_plain' => ['name' => 'survey_template_l11n_footer_plain', 'type' => 'string', 'internal' => 'footerPlain'],
|
||||
'survey_template_l11n_template' => ['name' => 'survey_template_l11n_template', 'type' => 'int', 'internal' => 'template'],
|
||||
'survey_template_l11n_language' => ['name' => 'survey_template_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -170,13 +170,13 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php endforeach;
|
||||
echo '</select>';
|
||||
elseif ($element->type === SurveyElementType::TEXTFIELD) : ?>
|
||||
<input type="text" name="i<?= $element->id ?>">
|
||||
<input type="text" name="i<?= $element->id; ?>">
|
||||
<?php elseif ($element->type === SurveyElementType::TEXTAREA) : ?>
|
||||
<textarea name="i<?= $element->id ?>"></textarea>
|
||||
<textarea name="i<?= $element->id; ?>"></textarea>
|
||||
<?php elseif ($element->type === SurveyElementType::NUMERIC) : ?>
|
||||
<input type="number" name="i<?= $element->id ?>">
|
||||
<input type="number" name="i<?= $element->id; ?>">
|
||||
<?php elseif ($element->type === SurveyElementType::DATE) : ?>
|
||||
<input type="datetime-local" name="i<?= $element->id ?>">
|
||||
<input type="datetime-local" name="i<?= $element->id; ?>">
|
||||
<?php endif;
|
||||
echo '</div>'; // closing "values-section"
|
||||
echo '</div>'; // closing "survey-value-element"
|
||||
|
|
|
|||
|
|
@ -59,13 +59,13 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
protected string $appName = 'Api';
|
||||
};
|
||||
|
||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||
$this->app->unitId = 1;
|
||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||
$this->app->appSettings = new CoreSettings();
|
||||
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../../Modules/');
|
||||
$this->app->dispatcher = new Dispatcher($this->app);
|
||||
$this->app->eventManager = new EventManager($this->app->dispatcher);
|
||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||
$this->app->appSettings = new CoreSettings();
|
||||
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../../Modules/');
|
||||
$this->app->dispatcher = new Dispatcher($this->app);
|
||||
$this->app->eventManager = new EventManager($this->app->dispatcher);
|
||||
$this->app->eventManager->importFromFile(__DIR__ . '/../../../../Web/Api/Hooks.php');
|
||||
$this->app->sessionManager = new HttpSession(36000);
|
||||
$this->app->l11nManager = new L11nManager();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user