From cd17efc82a5ed560a50b8a1619e4e724098eb209 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 29 Oct 2019 01:37:57 +0100 Subject: Remove PHP closing tags and add LF to text files Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character. --- core/namespace/Application.php | 1 - core/namespace/Attribute.php | 1 - core/namespace/AttributeInterface.php | 1 - core/namespace/Database.php | 1 - core/namespace/Factory.php | 1 - core/namespace/FactoryInterface.php | 1 - core/namespace/HTTP.php | 1 - core/namespace/Item.php | 1 - core/namespace/ItemFactory.php | 1 - core/namespace/ItemInterface.php | 1 - core/namespace/Language.php | 1 - core/namespace/Page/Attribute.php | 1 - core/namespace/Page/Exception.php | 1 - core/namespace/Page/Factory.php | 1 - core/namespace/Page/Item.php | 1 - core/namespace/Post/Attribute.php | 1 - core/namespace/Post/Exception.php | 1 - core/namespace/Post/Factory.php | 1 - core/namespace/Post/Item.php | 1 - core/namespace/Router.php | 1 - core/namespace/Template/Exception.php | 1 - core/namespace/Template/Factory.php | 1 - core/namespace/Template/Template.php | 1 - 23 files changed, 23 deletions(-) (limited to 'core/namespace') diff --git a/core/namespace/Application.php b/core/namespace/Application.php index a45e1e8..64e562d 100644 --- a/core/namespace/Application.php +++ b/core/namespace/Application.php @@ -163,4 +163,3 @@ class Application { exit(); } } -?> \ No newline at end of file diff --git a/core/namespace/Attribute.php b/core/namespace/Attribute.php index 32cfa0a..505a4cd 100644 --- a/core/namespace/Attribute.php +++ b/core/namespace/Attribute.php @@ -82,4 +82,3 @@ abstract class Attribute implements AttributeInterface { return $Statement->execute([$this->get('id')]); } } -?> \ No newline at end of file diff --git a/core/namespace/AttributeInterface.php b/core/namespace/AttributeInterface.php index 74cd1f1..7a7c38c 100644 --- a/core/namespace/AttributeInterface.php +++ b/core/namespace/AttributeInterface.php @@ -4,4 +4,3 @@ interface AttributeInterface { public function databaseUPDATE(\Database $Database); public function databaseDELETE(\Database $Database); } -?> \ No newline at end of file diff --git a/core/namespace/Database.php b/core/namespace/Database.php index ae233f4..54fb36b 100644 --- a/core/namespace/Database.php +++ b/core/namespace/Database.php @@ -4,4 +4,3 @@ class Database extends \PDO { parent::__construct("mysql:host={$hostname};dbname={$basename};charset=utf8mb4;", $username, $password); } } -?> \ No newline at end of file diff --git a/core/namespace/Factory.php b/core/namespace/Factory.php index 38be666..779b890 100644 --- a/core/namespace/Factory.php +++ b/core/namespace/Factory.php @@ -16,4 +16,3 @@ abstract class Factory implements FactoryInterface { return self::$storage[get_called_class()][$identifier] ?? FALSE; } } -?> \ No newline at end of file diff --git a/core/namespace/FactoryInterface.php b/core/namespace/FactoryInterface.php index 54a115b..e9017d6 100644 --- a/core/namespace/FactoryInterface.php +++ b/core/namespace/FactoryInterface.php @@ -2,4 +2,3 @@ interface FactoryInterface { public static function build($identifier); } -?> \ No newline at end of file diff --git a/core/namespace/HTTP.php b/core/namespace/HTTP.php index c8aea27..9145539 100644 --- a/core/namespace/HTTP.php +++ b/core/namespace/HTTP.php @@ -228,4 +228,3 @@ class HTTP { } } } -?> \ No newline at end of file diff --git a/core/namespace/Item.php b/core/namespace/Item.php index c009740..02de382 100644 --- a/core/namespace/Item.php +++ b/core/namespace/Item.php @@ -169,4 +169,3 @@ abstract class Item implements ItemInterface { return 0; } } -?> \ No newline at end of file diff --git a/core/namespace/ItemFactory.php b/core/namespace/ItemFactory.php index dec136f..d81ff9f 100644 --- a/core/namespace/ItemFactory.php +++ b/core/namespace/ItemFactory.php @@ -21,4 +21,3 @@ abstract class ItemFactory extends Factory { return self::build($Item::getIDByField('slug', $slug, \Application::getDatabase())); } } -?> \ No newline at end of file diff --git a/core/namespace/ItemInterface.php b/core/namespace/ItemInterface.php index e7ccb6a..efee734 100644 --- a/core/namespace/ItemInterface.php +++ b/core/namespace/ItemInterface.php @@ -2,4 +2,3 @@ interface ItemInterface { public function __construct($itemID, \Database $Database); } -?> \ No newline at end of file diff --git a/core/namespace/Language.php b/core/namespace/Language.php index fdaf104..f082b37 100644 --- a/core/namespace/Language.php +++ b/core/namespace/Language.php @@ -49,4 +49,3 @@ class Language { return $this->text($name, $params); } } -?> \ No newline at end of file diff --git a/core/namespace/Page/Attribute.php b/core/namespace/Page/Attribute.php index b1c4e01..05eaa33 100644 --- a/core/namespace/Page/Attribute.php +++ b/core/namespace/Page/Attribute.php @@ -20,4 +20,3 @@ class Attribute extends \Attribute { #=============================================================================== const TABLE = 'page'; } -?> \ No newline at end of file diff --git a/core/namespace/Page/Exception.php b/core/namespace/Page/Exception.php index d4794b7..c41bddc 100644 --- a/core/namespace/Page/Exception.php +++ b/core/namespace/Page/Exception.php @@ -2,4 +2,3 @@ namespace Page; class Exception extends \Exception {} -?> \ No newline at end of file diff --git a/core/namespace/Page/Factory.php b/core/namespace/Page/Factory.php index 4b8d390..2fcc361 100644 --- a/core/namespace/Page/Factory.php +++ b/core/namespace/Page/Factory.php @@ -2,4 +2,3 @@ namespace Page; class Factory extends \ItemFactory {} -?> \ No newline at end of file diff --git a/core/namespace/Page/Item.php b/core/namespace/Page/Item.php index e3bf6a3..d559b81 100644 --- a/core/namespace/Page/Item.php +++ b/core/namespace/Page/Item.php @@ -40,4 +40,3 @@ class Item extends \Item { return []; } } -?> \ No newline at end of file diff --git a/core/namespace/Post/Attribute.php b/core/namespace/Post/Attribute.php index 73af3a2..20aafae 100644 --- a/core/namespace/Post/Attribute.php +++ b/core/namespace/Post/Attribute.php @@ -20,4 +20,3 @@ class Attribute extends \Attribute { #=============================================================================== const TABLE = 'post'; } -?> \ No newline at end of file diff --git a/core/namespace/Post/Exception.php b/core/namespace/Post/Exception.php index 516ddbe..29b9345 100644 --- a/core/namespace/Post/Exception.php +++ b/core/namespace/Post/Exception.php @@ -2,4 +2,3 @@ namespace Post; class Exception extends \Exception {} -?> \ No newline at end of file diff --git a/core/namespace/Post/Factory.php b/core/namespace/Post/Factory.php index 4ad8ac8..20b29cc 100644 --- a/core/namespace/Post/Factory.php +++ b/core/namespace/Post/Factory.php @@ -2,4 +2,3 @@ namespace Post; class Factory extends \ItemFactory {} -?> \ No newline at end of file diff --git a/core/namespace/Post/Item.php b/core/namespace/Post/Item.php index a269ce4..0f2c6a5 100644 --- a/core/namespace/Post/Item.php +++ b/core/namespace/Post/Item.php @@ -47,4 +47,3 @@ class Item extends \Item { return []; } } -?> \ No newline at end of file diff --git a/core/namespace/Router.php b/core/namespace/Router.php index b6221d1..803a8e0 100644 --- a/core/namespace/Router.php +++ b/core/namespace/Router.php @@ -61,4 +61,3 @@ class Router { } } } -?> \ No newline at end of file diff --git a/core/namespace/Template/Exception.php b/core/namespace/Template/Exception.php index a38ee1d..3bfbf63 100644 --- a/core/namespace/Template/Exception.php +++ b/core/namespace/Template/Exception.php @@ -2,4 +2,3 @@ namespace Template; class Exception extends \Exception {} -?> \ No newline at end of file diff --git a/core/namespace/Template/Factory.php b/core/namespace/Template/Factory.php index 3b40998..7e56a79 100644 --- a/core/namespace/Template/Factory.php +++ b/core/namespace/Template/Factory.php @@ -15,4 +15,3 @@ class Factory extends \Factory implements \FactoryInterface { return $Template; } } -?> \ No newline at end of file diff --git a/core/namespace/Template/Template.php b/core/namespace/Template/Template.php index 16459fb..25034a2 100644 --- a/core/namespace/Template/Template.php +++ b/core/namespace/Template/Template.php @@ -41,4 +41,3 @@ class Template { return ob_get_clean(); } } -?> \ No newline at end of file -- cgit v1.2.3