diff --git a/Classes/View/MjmlBasedView.php b/Classes/View/MjmlBasedView.php index 53fcce3..a18f515 100644 --- a/Classes/View/MjmlBasedView.php +++ b/Classes/View/MjmlBasedView.php @@ -9,7 +9,7 @@ use TYPO3\CMS\Core\Utility\CommandUtility; class MjmlBasedView extends StandaloneView { - function render($actionName = null) + public function render($actionName = null) { return $this->getHtmlFromMjml(parent::render()); } @@ -32,7 +32,7 @@ class MjmlBasedView extends StandaloneView GeneralUtility::unlink_tempfile($temporaryMjmlFileWithPath); - return implode('',$result); + return implode('', $result); } /** @@ -40,7 +40,8 @@ class MjmlBasedView extends StandaloneView * @param string $args * @return string */ - private function getEscapedCommand(string $cmd, string $args) { + private function getEscapedCommand(string $cmd, string $args) + { $escapedCmd = escapeshellcmd($cmd); $argsArray = explode(' ', $args); diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 4bf161b..61e813a 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -5,7 +5,7 @@ ./Classes/ - +