From ceb262e08027531717f1a16faafc343e8d9656e3 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Mon, 21 Sep 2020 20:46:15 +0200 Subject: Move to r7r namespace and r7r composer package vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's face it, no one but my CMS Ratatöskr (r7r for short) uses this template engine anyway. Also it's a good excuse to get rid of more remnants of my old kch42 nickname. --- ste.php | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'ste.php') diff --git a/ste.php b/ste.php index 72d6eca..67285ca 100644 --- a/ste.php +++ b/ste.php @@ -2,7 +2,7 @@ namespace ste; -/* This file is for backwards compatibility only. Use an autoloader and the \kch42\ste namespace in new applications instead! */ +/* This file is for backwards compatibility only. Use an autoloader and the \r7r\ste namespace in new applications instead! */ require_once(__DIR__ . "/src/ste/Misc.php"); @@ -38,54 +38,54 @@ 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 ASTNode extends \r7r\ste\ASTNode { } -class TagNode extends \kch42\ste\TagNode +class TagNode extends \r7r\ste\TagNode { } -class TextNode extends \kch42\ste\TextNode +class TextNode extends \r7r\ste\TextNode { } -class VariableNode extends \kch42\ste\VariableNode +class VariableNode extends \r7r\ste\VariableNode { } -class ParseCompileError extends \kch42\ste\ParseCompileError +class ParseCompileError extends \r7r\ste\ParseCompileError { } -class RuntimeError extends \kch42\ste\RuntimeError +class RuntimeError extends \r7r\ste\RuntimeError { } -class FatalRuntimeError extends \kch42\ste\FatalRuntimeError +class FatalRuntimeError extends \r7r\ste\FatalRuntimeError { } -class StorageAccessFailure extends \kch42\ste\StorageAccessFailure +class StorageAccessFailure extends \r7r\ste\StorageAccessFailure { } -class CantLoadTemplate extends \kch42\ste\CantLoadTemplate +class CantLoadTemplate extends \r7r\ste\CantLoadTemplate { } -class CantSaveTemplate extends \kch42\ste\CantSaveTemplate +class CantSaveTemplate extends \r7r\ste\CantSaveTemplate { } -class FilesystemStorageAccess extends \kch42\ste\FilesystemStorageAccess +class FilesystemStorageAccess extends \r7r\ste\FilesystemStorageAccess { } -class Parser extends \kch42\ste\Parser +class Parser extends \r7r\ste\Parser { } -class Transcompiler extends \kch42\ste\Transcompiler +class Transcompiler extends \r7r\ste\Transcompiler { } -class STECore extends \kch42\ste\STECore +class STECore extends \r7r\ste\STECore { } -interface StorageAccess extends \kch42\ste\StorageAccess +interface StorageAccess extends \r7r\ste\StorageAccess { } /* We also put the storage mode constants here (they were outside of the interface before for some reason I can't remember...) */ -const MODE_SOURCE = \kch42\ste\StorageAccess::MODE_SOURCE; -const MODE_TRANSCOMPILED = \kch42\ste\StorageAccess::MODE_TRANSCOMPILED; +const MODE_SOURCE = \r7r\ste\StorageAccess::MODE_SOURCE; +const MODE_TRANSCOMPILED = \r7r\ste\StorageAccess::MODE_TRANSCOMPILED; -- cgit v1.2.3-70-g09d2