From 3ebbe07db64b854b207592a018e1adb0c455bca9 Mon Sep 17 00:00:00 2001 From: User Date: Wed, 8 May 2024 01:07:24 +0300 Subject: [PATCH] 20240508#1 --- .editorconfig | 8 ++++++++ .../Presentation/Controllers/IndexController.php | 3 +-- src/Main/Presentation/templates/index.tpl | 14 +++++++------- 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e79594b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true +[*] +charset = utf-8 +indent_style = tab +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true \ No newline at end of file diff --git a/src/Main/Presentation/Controllers/IndexController.php b/src/Main/Presentation/Controllers/IndexController.php index cd080f8..fa06461 100644 --- a/src/Main/Presentation/Controllers/IndexController.php +++ b/src/Main/Presentation/Controllers/IndexController.php @@ -4,7 +4,6 @@ namespace App\Main\Presentation\Controllers; use Base\Presentation\Controllers\AbstractPageController; use Psr\Http\Message\ResponseInterface; - class IndexController extends AbstractPageController { /** @@ -21,4 +20,4 @@ class IndexController extends AbstractPageController { catch(\Throwable $e){$error = $this->checkError($e);} return $this->render(); } -} \ No newline at end of file +} diff --git a/src/Main/Presentation/templates/index.tpl b/src/Main/Presentation/templates/index.tpl index 4e41c73..7f4e43b 100644 --- a/src/Main/Presentation/templates/index.tpl +++ b/src/Main/Presentation/templates/index.tpl @@ -1,8 +1,8 @@
-
-
-
Hello
-
Now is date?>
-
-
-
\ No newline at end of file +
+
+
Hello
+
Now is date ?>
+
+
+