summaryrefslogtreecommitdiff
path: root/ste.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-30 09:38:05 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-30 09:38:25 +0200
commit2381c52c690342f773a7cfa500387b6bfad76952 (patch)
tree340296ea529e40b81012c936703429a86481788e /ste.php
parent2d26169b367af60cbc03d417c09918f50aa3b882 (diff)
downloadste-2381c52c690342f773a7cfa500387b6bfad76952.tar.gz
ste-2381c52c690342f773a7cfa500387b6bfad76952.tar.bz2
ste-2381c52c690342f773a7cfa500387b6bfad76952.zip
Automatic code formatting
Also add git hooks that checks formatting
Diffstat (limited to 'ste.php')
-rw-r--r--ste.php62
1 files changed, 46 insertions, 16 deletions
diff --git a/ste.php b/ste.php
index 35e2084..72d6eca 100644
--- a/ste.php
+++ b/ste.php
@@ -38,22 +38,52 @@ require_once(__DIR__ . "/src/ste/STECore.php");
/* Providing "proxy classes", so old applications can continue using the ste namespace */
-class ASTNode extends \kch42\ste\ASTNode {}
-class TagNode extends \kch42\ste\TagNode {}
-class TextNode extends \kch42\ste\TextNode {}
-class VariableNode extends \kch42\ste\VariableNode {}
-class ParseCompileError extends \kch42\ste\ParseCompileError {}
-class RuntimeError extends \kch42\ste\RuntimeError {}
-class FatalRuntimeError extends \kch42\ste\FatalRuntimeError {}
-class StorageAccessFailure extends \kch42\ste\StorageAccessFailure {}
-class CantLoadTemplate extends \kch42\ste\CantLoadTemplate {}
-class CantSaveTemplate extends \kch42\ste\CantSaveTemplate {}
-class FilesystemStorageAccess extends \kch42\ste\FilesystemStorageAccess {}
-class Parser extends \kch42\ste\Parser {}
-class Transcompiler extends \kch42\ste\Transcompiler {}
-class STECore extends \kch42\ste\STECore {}
-
-interface StorageAccess extends \kch42\ste\StorageAccess {}
+class ASTNode extends \kch42\ste\ASTNode
+{
+}
+class TagNode extends \kch42\ste\TagNode
+{
+}
+class TextNode extends \kch42\ste\TextNode
+{
+}
+class VariableNode extends \kch42\ste\VariableNode
+{
+}
+class ParseCompileError extends \kch42\ste\ParseCompileError
+{
+}
+class RuntimeError extends \kch42\ste\RuntimeError
+{
+}
+class FatalRuntimeError extends \kch42\ste\FatalRuntimeError
+{
+}
+class StorageAccessFailure extends \kch42\ste\StorageAccessFailure
+{
+}
+class CantLoadTemplate extends \kch42\ste\CantLoadTemplate
+{
+}
+class CantSaveTemplate extends \kch42\ste\CantSaveTemplate
+{
+}
+class FilesystemStorageAccess extends \kch42\ste\FilesystemStorageAccess
+{
+}
+class Parser extends \kch42\ste\Parser
+{
+}
+class Transcompiler extends \kch42\ste\Transcompiler
+{
+}
+class STECore extends \kch42\ste\STECore
+{
+}
+
+interface StorageAccess extends \kch42\ste\StorageAccess
+{
+}
/* We also put the storage mode constants here (they were outside of the interface before for some reason I can't remember...) */