Continued:
authorRoland Haeder <roland@mxchange.org>
Mon, 20 Feb 2017 22:08:14 +0000 (23:08 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:10:04 +0000 (22:10 +0100)
- removed more [EOF] (own old style)
- removed more closing PHP tag as this is discouraged
- added namespaces + some more deprecation (can be replaced with generic
  exceptions)

Signed-off-by: Roland Häder <roland@mxchange.org>
266 files changed:
application/tests/config.php
application/tests/data.php
application/tests/debug.php
application/tests/init.php
application/tests/starter.php
contrib/chash/chash.php
contrib/lfdb2/read.php
contrib/lfdb2/write.php
inc/config.php
inc/database/lib-local.php
inc/includes.php
inc/main/classes/actions/html/class_HtmlLoginProfileAction.php
inc/main/classes/actions/post_registration/class_LoginAfterRegistrationAction.php
inc/main/classes/class_FrameworkArrayObject.php
inc/main/classes/client/http/class_HttpClient.php
inc/main/classes/commands/console/class_ConsoleFuseCommand.php
inc/main/classes/commands/html/class_HtmlConfirmCommand.php
inc/main/classes/commands/html/class_HtmlDoFormCommand.php
inc/main/classes/commands/html/class_HtmlHomeCommand.php
inc/main/classes/commands/html/class_HtmlLoginAreaCommand.php
inc/main/classes/commands/html/class_HtmlLoginCommand.php
inc/main/classes/commands/html/class_HtmlLoginFailedCommand.php
inc/main/classes/commands/html/class_HtmlLogoutCommand.php
inc/main/classes/commands/html/class_HtmlLogoutDoneCommand.php
inc/main/classes/commands/html/class_HtmlProblemCommand.php
inc/main/classes/commands/html/class_HtmlRegisterCommand.php
inc/main/classes/commands/html/class_HtmlResendLinkCommand.php
inc/main/classes/commands/html/class_HtmlStatusCommand.php
inc/main/classes/commands/image/class_ImageCodeCaptchaCommand.php
inc/main/classes/container/socket/class_SocketContainer.php
inc/main/classes/controller/console/class_ConsoleDefaultController.php
inc/main/classes/controller/console/class_ConsoleDefaultNewsController.php
inc/main/classes/controller/html/class_HtmlConfirmController.php
inc/main/classes/controller/html/class_HtmlDefaultController.php
inc/main/classes/controller/html/class_HtmlDefaultNewsController.php
inc/main/classes/controller/html/class_HtmlLoginController.php
inc/main/classes/controller/html/class_HtmlLoginFailedController.php
inc/main/classes/controller/html/class_HtmlLogoutController.php
inc/main/classes/controller/html/class_HtmlLogoutDoneController.php
inc/main/classes/controller/html/class_HtmlProblemController.php
inc/main/classes/controller/html/class_HtmlStatusController.php
inc/main/classes/controller/html/form/class_HtmlDoFormController.php
inc/main/classes/controller/html/login/class_HtmlLoginAreaController.php
inc/main/classes/controller/image/captcha/class_ImageCodeCaptchaController.php
inc/main/classes/controller/image/class_ImageDefaultController.php
inc/main/classes/criteria/dataset/class_DataSetCriteria.php
inc/main/classes/criteria/search/class_SearchCriteria.php
inc/main/classes/criteria/update/class_UpdateCriteria.php
inc/main/classes/database/backend/class_CachedLocalFileDatabase.php
inc/main/classes/database/frontend/class_PaymentsDatabaseWrapper.php
inc/main/classes/database/result/class_CachedDatabaseResult.php
inc/main/classes/decorator/template/class_XmlRewriterTemplateDecorator.php
inc/main/classes/decorator/xml/class_XmlCompactorDecorator.php
inc/main/classes/discovery/payment/class_LocalPaymentDiscovery.php
inc/main/classes/factories/cache/class_CacheFactory.php
inc/main/classes/factories/client/class_ClientFactory.php
inc/main/classes/factories/database/class_DatabaseWrapperFactory.php
inc/main/classes/factories/html/class_HtmlNewsFactory.php
inc/main/classes/factories/index/class_FileStackIndexFactory.php
inc/main/classes/factories/login/class_LoginFactory.php
inc/main/classes/factories/objects/class_ObjectFactory.php
inc/main/classes/factories/registry/class_SocketRegistryFactory.php
inc/main/classes/factories/stacks/class_FileStackFactory.php
inc/main/classes/factories/user/class_UserFactory.php
inc/main/classes/factories/xml/class_XmlTemplateEngineFactory.php
inc/main/classes/feature/fuse/class_FuseFeature.php
inc/main/classes/file_directories/binary/class_BaseBinaryFile.php
inc/main/classes/file_directories/binary/index/class_IndexFile.php
inc/main/classes/file_directories/binary/stack/class_StackFile.php
inc/main/classes/file_directories/io_stream/class_FileIoStream.php
inc/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php
inc/main/classes/file_directories/output/text/class_FrameworkTextFileOutputPointer.php
inc/main/classes/file_directories/text/class_BaseTextFile.php
inc/main/classes/file_directories/text/input/class_BaseInputTextFile.php
inc/main/classes/file_directories/text/input/csv/class_CsvInputFile.php
inc/main/classes/file_directories/text/output/class_BaseOutputTextFile.php
inc/main/classes/filter/auth/class_UserAuthFilter.php
inc/main/classes/filter/change/class_EmailChangeFilter.php
inc/main/classes/filter/change/class_PasswordChangeFilter.php
inc/main/classes/filter/checkboxes/class_RulesAcceptedFilter.php
inc/main/classes/filter/crypto/class_CaptchaEncryptFilter.php
inc/main/classes/filter/guest/class_UserNameIsGuestFilter.php
inc/main/classes/filter/news/class_NewsDownloadFilter.php
inc/main/classes/filter/news/class_NewsProcessFilter.php
inc/main/classes/filter/null/class_NullFilter.php
inc/main/classes/filter/payment/class_PaymentDiscoveryFilter.php
inc/main/classes/filter/update/class_UserStatusConfimedUpdateFilter.php
inc/main/classes/filter/update/class_UserUpdateFilter.php
inc/main/classes/filter/validator/class_EmailValidatorFilter.php
inc/main/classes/filter/validator/class_PasswordValidatorFilter.php
inc/main/classes/filter/validator/class_UserNameValidatorFilter.php
inc/main/classes/filter/verifier/class_AccountPasswordVerifierFilter.php
inc/main/classes/filter/verifier/class_BirthdayVerifierFilter.php
inc/main/classes/filter/verifier/class_ConfirmCodeVerifierFilter.php
inc/main/classes/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php
inc/main/classes/filter/verifier/class_PasswordGuestVerifierFilter.php
inc/main/classes/filter/verifier/class_PasswordVerifierFilter.php
inc/main/classes/filter/verifier/class_UserGuestVerifierFilter.php
inc/main/classes/filter/verifier/class_UserNameVerifierFilter.php
inc/main/classes/filter/verifier/class_UserStatusVerifierFilter.php
inc/main/classes/filter/verifier/class_UserUnconfirmedVerifierFilter.php
inc/main/classes/handler/raw_data/class_BaseDataHandler.php
inc/main/classes/handler/raw_data/network/class_BaseRawDataHandler.php
inc/main/classes/handler/tasks/class_TaskHandler.php
inc/main/classes/helper/captcha/images/class_ImageHelper.php
inc/main/classes/helper/html/blocks/class_HtmlBlockHelper.php
inc/main/classes/helper/html/class_BaseHtmlHelper.php
inc/main/classes/helper/html/links/class_HtmlLinkHelper.php
inc/main/classes/helper/login/class_BaseLoginHelper.php
inc/main/classes/iterator/default/class_DefaultIterator.php
inc/main/classes/iterator/file/class_FileIterator.php
inc/main/classes/listener/class_BaseListenerDecorator.php
inc/main/classes/listener/socket/class_SocketFileListener.php
inc/main/classes/listener/socket/decorator/class_SocketFileListenerDecorator.php
inc/main/classes/lists/groups/class_ListGroupList.php
inc/main/classes/lists/tasks/class_TaskList.php
inc/main/classes/mailer/debug/class_DebugMailer.php
inc/main/classes/output/console/class_ConsoleOutput.php
inc/main/classes/output/debug/class_BaseDebugOutput.php
inc/main/classes/output/debug/error/class_DebugErrorLogOutput.php
inc/main/classes/output/debug/web/class_DebugWebOutput.php
inc/main/classes/output/web/class_WebOutput.php
inc/main/classes/parser/xml/class_XmlParser.php
inc/main/classes/registry/generic/class_Registry.php
inc/main/classes/registry/sub/class_SubRegistry.php
inc/main/classes/request/console/class_ConsoleRequest.php
inc/main/classes/request/html/class_HtmlRequest.php
inc/main/classes/resolver/action/class_BaseActionResolver.php
inc/main/classes/resolver/action/html/class_HtmlActionResolver.php
inc/main/classes/resolver/command/class_BaseCommandResolver.php
inc/main/classes/resolver/command/console/class_ConsoleCommandResolver.php
inc/main/classes/resolver/command/image/class_ImageCommandResolver.php
inc/main/classes/resolver/controller/class_BaseControllerResolver.php
inc/main/classes/resolver/controller/console/class_ConsoleControllerResolver.php
inc/main/classes/resolver/controller/html/class_HtmlControllerResolver.php
inc/main/classes/resolver/controller/image/class_ImageControllerResolver.php
inc/main/classes/response/console/class_ConsoleResponse.php
inc/main/classes/response/html/class_HtmlResponse.php
inc/main/classes/response/image/class_ImageResponse.php
inc/main/classes/stacker/fifo/class_FiFoStacker.php
inc/main/classes/stacker/file/class_BaseFileStack.php
inc/main/classes/stacker/filo/class_FiLoStacker.php
inc/main/classes/streams/crypto/class_McryptStream.php
inc/main/classes/streams/crypto/class_NullCryptoStream.php
inc/main/classes/tasks/idle/class_IdleLoopTask.php
inc/main/classes/template/console/class_ConsoleTemplateEngine.php
inc/main/classes/template/html/class_HtmlTemplateEngine.php
inc/main/classes/template/image/class_ImageTemplateEngine.php
inc/main/classes/template/mail/class_MailTemplateEngine.php
inc/main/classes/template/menu/class_MenuTemplateEngine.php
inc/main/classes/user/guest/class_Guest.php
inc/main/classes/user/member/class_Member.php
inc/main/classes/visitor/tasks/class_ActiveTaskVisitor.php
inc/main/classes/visitor/tasks/class_ShutdownTaskVisitor.php
inc/main/exceptions/actions/class_InvalidActionException.php
inc/main/exceptions/auth/class_UserAuthorizationException.php
inc/main/exceptions/base64/class_Base64EncodingBadException.php
inc/main/exceptions/base64/class_Base64EncodingModuloException.php
inc/main/exceptions/class_FrameworkException.php
inc/main/exceptions/compressor/class_MismatchingCompressorsException.php
inc/main/exceptions/config/class_ConfigEntryIsEmptyException.php
inc/main/exceptions/config/class_ConfigValueTypeUnsupportedException.php
inc/main/exceptions/config/class_NoConfigEntryException.php
inc/main/exceptions/connection/class_ConnectionAlreadyRegisteredException.php
inc/main/exceptions/controller/class_DefaultControllerException.php
inc/main/exceptions/controller/class_InvalidControllerException.php
inc/main/exceptions/crypto/class_EncryptInvalidLengthException.php
inc/main/exceptions/crypto/class_EncryptMissingException.php
inc/main/exceptions/database/general/class_SqlException.php
inc/main/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php
inc/main/exceptions/database/local_file/class_SavePathReadProtectedException.php
inc/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php
inc/main/exceptions/feature/class_FeatureMethodNotCallableException.php
inc/main/exceptions/file_directory/class_DirPointerNotOpenedException.php
inc/main/exceptions/file_directory/class_FileIsEmptyException.php
inc/main/exceptions/file_directory/class_FileWriteProtectedException.php
inc/main/exceptions/file_directory/class_InvalidDataLengthException.php
inc/main/exceptions/filter/class_FilterChainException.php
inc/main/exceptions/filter/class_InvalidFilterChainException.php
inc/main/exceptions/helper/class_FormClosedException.php
inc/main/exceptions/helper/class_FormGroupClosedException.php
inc/main/exceptions/helper/class_FormOpenedException.php
inc/main/exceptions/helper/class_HelperGroupAlreadyCreatedException.php
inc/main/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php
inc/main/exceptions/helper/class_HelperSubGroupAlreadyCreatedException.php
inc/main/exceptions/helper/class_InvalidFormNameException.php
inc/main/exceptions/helper/class_NoGroupOpenedException.php
inc/main/exceptions/helper/class_UserInstanceMissingException.php
inc/main/exceptions/language/class_InvalidLanguagePathStringException.php
inc/main/exceptions/language/class_LanguagePathIsNoDirectoryException.php
inc/main/exceptions/language/class_LanguagePathReadProtectedException.php
inc/main/exceptions/result/class_InvalidDatabaseResultException.php
inc/main/exceptions/result/class_ResultUpdateException.php
inc/main/exceptions/socket/class_AbstractSocketException.php
inc/main/exceptions/socket/class_InvalidServerSocketException.php
inc/main/exceptions/socket/class_InvalidSocketException.php
inc/main/exceptions/socket/class_NoSocketErrorDetectedException.php
inc/main/exceptions/socket/class_NoSocketRegisteredException.php
inc/main/exceptions/socket/class_SocketAlreadyRegisteredException.php
inc/main/exceptions/socket/class_SocketBindingException.php
inc/main/exceptions/socket/class_SocketConnectionException.php
inc/main/exceptions/socket/class_SocketCreationException.php
inc/main/exceptions/socket/class_SocketOptionException.php
inc/main/exceptions/socket/class_SocketShutdownException.php
inc/main/exceptions/socket/class_UnsupportedSocketErrorHandlerException.php
inc/main/exceptions/stacker/class_AlreadyInitializedStackerException.php
inc/main/exceptions/stacker/class_EmptyStackerException.php
inc/main/exceptions/stacker/class_FullStackerException.php
inc/main/exceptions/stacker/class_NoStackerException.php
inc/main/exceptions/state/class_InvalidStateInstanceException.php
inc/main/exceptions/state/class_UnexpectedStateException.php
inc/main/exceptions/state/class_UnresolveableStateException.php
inc/main/exceptions/template/class_BasePathIsNoDirectoryException.php
inc/main/exceptions/template/class_BasePathReadProtectedException.php
inc/main/exceptions/template/class_InvalidBasePathStringException.php
inc/main/exceptions/template/class_NoVariableException.php
inc/main/exceptions/template/class_UnexpectedTemplateTypeException.php
inc/main/exceptions/xml/class_InvalidXmlNodeException.php
inc/main/exceptions/xml/class_XmlNodeMismatchException.php
inc/main/exceptions/xml/class_XmlParserException.php
inc/main/interfaces/actions/commands/class_Commandable.php
inc/main/interfaces/block/calculatable/class_CalculatableBlock.php
inc/main/interfaces/criteria/extended/class_LocalSearchCriteria.php
inc/main/interfaces/criteria/extended/class_LocalUpdateCriteria.php
inc/main/interfaces/criteria/extended/class_StoreableCriteria.php
inc/main/interfaces/database/backend/class_DatabaseBackend.php
inc/main/interfaces/database/middleware/class_DatabaseConnector.php
inc/main/interfaces/database/wrapper/class_BookablePointsWrapper.php
inc/main/interfaces/handler/class_HandleableDataSet.php
inc/main/interfaces/handler/protocol/class_HandleableProtocol.php
inc/main/interfaces/handler/task/class_HandleableTask.php
inc/main/interfaces/helper/login/class_HelpableLogin.php
inc/main/interfaces/helper/template/class_HelpableTemplate.php
inc/main/interfaces/index/stack/class_IndexableStack.php
inc/main/interfaces/io/class_StreamableInput.php
inc/main/interfaces/io/class_StreamableOutput.php
inc/main/interfaces/io/file/class_FileInputStreamer.php
inc/main/interfaces/io/file/class_FileOutputStreamer.php
inc/main/interfaces/io/file/csv/class_CsvInputStreamer.php
inc/main/interfaces/io/output/class_OutputStreamer.php
inc/main/interfaces/io/pointer/class_InputPointer.php
inc/main/interfaces/io/pointer/class_OutputPointer.php
inc/main/interfaces/io/pointer/io/class_InputOutputPointer.php
inc/main/interfaces/iterator/class_SeekableWritableFileIterator.php
inc/main/interfaces/points/class_BookablePoints.php
inc/main/interfaces/registration/class_UserRegister.php
inc/main/interfaces/resolver/actions/class_ActionResolver.php
inc/main/interfaces/resolver/commands/class_CommandResolver.php
inc/main/interfaces/resolver/controller/class_ControllerResolver.php
inc/main/interfaces/resolver/state/class_StateResolver.php
inc/main/interfaces/result/class_UpdateableResult.php
inc/main/interfaces/stacker/file/class_StackableFile.php
inc/main/interfaces/streams/crypto/class_EncryptableStream.php
inc/main/interfaces/streams/input/class_InputStream.php
inc/main/interfaces/streams/output/class_OutputStream.php
inc/main/interfaces/user/extended/class_ManageableGuest.php
inc/main/interfaces/user/extended/class_ManageableMember.php
inc/main/interfaces/visitor/decorator/class_DecoratorVisitor.php
inc/main/interfaces/visitor/listener/class_ListenerVisitor.php
inc/main/interfaces/visitor/pool/class_PoolVisitor.php
inc/main/interfaces/visitor/tasks/class_TaskVisitor.php
inc/main/middleware/compressor/class_CompressorChannel.php
inc/main/middleware/database/class_DatabaseConnection.php
inc/main/middleware/debug/class_DebugMiddleware.php
inc/main/middleware/io/class_FileIoHandler.php
index.php

index a34a3c07315dd597ca2d5a54faad88aec4af8577..64ea955d599e971e5003899c46de2b2ba3ef4b9e 100644 (file)
@@ -29,6 +29,3 @@ $cfg = FrameworkConfiguration::getSelfInstance();
 
 // CFG: DEFAULT-CONSOLE-COMMAND
 $cfg->setConfigEntry('default_console_command', 'tests');
-
-// [EOF]
-?>
index e2132b755ec63fc990d50b8168678f87da71bbff..e1fd3230d90bfd093b9857452ea9ae6c720dfe6c 100644 (file)
@@ -35,6 +35,3 @@ $app = call_user_func_array(
 $app->setAppName('Unit tests and more');
 $app->setAppVersion('0.0.0');
 $app->setAppShortName('tests');
-
-// [EOF]
-?>
index c9b7203946dbe33aa699e4265b080a6f4a598d1d..45cc15012588b08f3302d7895ce5777e2406e5bf 100644 (file)
@@ -23,6 +23,3 @@
 
 // Set error reporting
 error_reporting(E_ALL | E_STRICT);
-
-// [EOF]
-?>
index 4db2c18debca9a5579b14b4f6a22bc18f13c908d..4c6879c6d1735c426da6905e249782ef988b9525 100644 (file)
@@ -29,6 +29,3 @@ use CoreFramework\Configuration\FrameworkConfiguration;
 
 // Get config instance
 $cfg = FrameworkConfiguration::getSelfInstance();
-
-// [EOF]
-?>
index b3f8d7d85f960a2199c779a0fced6360eb90d9dd..377f446241dec0bae7abc0d9214f986ccabc7763 100644 (file)
@@ -55,6 +55,3 @@ if ((empty($app)) || (is_null($app))) {
 
 // Call user function
 call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array());
-
-// [EOF]
-?>
index 34a30b5bfb819e02b64403266532e04b19e421a6..41af8db1c97077b765294049e5dbeb811a62e4e2 100644 (file)
@@ -614,6 +614,3 @@ while (TRUE) {
 
        print ('totalReward=' . $GLOBALS['total_reward'] . ',blockValue=' . $blockValue . ',rewardPerHour=' . $rewardPerHour . PHP_EOL);
 } // END - while
-
-// [EOF]
-?>
index ae573df2ddbefd109858ac67e3a167b1a5811d73..da41e10278a6e2a80f8fa0dda4c2471b5df098bc 100644 (file)
@@ -65,6 +65,3 @@ $decoded = gzuncompress($decoded);
 
 print 'Writing ' . strlen($decoded) . ' bytes to output ...' . PHP_EOL;
 file_put_contents('test.data.out' . ($__factor * 2), $decoded);
-
-// [EOF]
-?>
index 25941cdd1c2106929737b175b6a4ad6df115757a..2b25a6a69aca426be843a4d6ffc77fc92ec78e52 100644 (file)
@@ -64,6 +64,3 @@ print 'Encoded ' . strlen($str) . ' bytes into ' . strlen($encoded) . ' bytes ..
 file_put_contents('test.data.bin' . ($__factor * 2), $encoded);
 
 print 'File size is: ' . filesize('test.data.bin' . ($__factor * 2)) . ' bytes.' . PHP_EOL;
-
-// [EOF]
-?>
index 4e9b902d9511f725aeb35ff485803ada360a52e3..6ea2a793473a4cfc306444c6c6a16d4bbd8d0fdc 100644 (file)
@@ -474,6 +474,3 @@ $cfg->setConfigEntry('extension_uuid_loaded', FALSE);
 
 // Remove config from this name-space. Don't worry, no configuration is cleared.
 unset($cfg);
-
-// [EOF]
-?>
index 544f50fb492384bfd5fe3984bb231616fc79baa6..b522315844e975b3c22d6bec55f20ab4b2a10d08 100644 (file)
@@ -24,6 +24,3 @@
 
 // For testing purposes we use a local file database
 $databaseInstance = ObjectFactory::createObjectByConfiguredName('local_file_database_class');
-
-// [EOF]
-?>
index d9f382300605f67d63d01e9941eb4a5c2c0bcf7f..7817f7aa6d5d748cacbe90b372ab6cbb077d215f 100644 (file)
@@ -73,6 +73,3 @@ FrameworkConfiguration::getSelfInstance()->setConfigEntry('app_name', $applicati
 
 // Scan for all framework classes, exceptions and interfaces
 ClassLoader::scanFrameworkClasses();
-
-// [EOF]
-?>
index f6538e0e27465d5a8ad25422649f71bbaae0907e..a0742f683f58cb4b3f7f8cd4106631fb2c9ca030 100644 (file)
@@ -77,7 +77,5 @@ class HtmlLoginProfileAction extends BaseAction implements Commandable, Register
                // Add user status filter here
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
-}
 
-// [EOF]
-?>
+}
index 95493604176f4d132e41561a00e40e1dab4c66f7..93eaf14f7d75fe25901e403e3e2e3cf782ac4d5d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Action\PostRegistration\Login;
+
 /**
  * A post registration action to login after the registration is done
  *
@@ -77,7 +80,5 @@ class LoginAfterRegistrationAction extends BaseAction implements PerformableActi
                        $responseInstance->addFatalMessage('failed_login_after_registration');
                }
        }
-}
 
-// [EOF]
-?>
+}
index 223dd0229905e8c541db0ea4f34f6381ad2d8d2f..a6fa8bea9e22e0c1a1bf5ab45333349be608f046 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace CoreFramework\Array;
+
+// Import SPL stuff
+use \ArrayObject;
+
 /**
  * Class for saving arrays as an object. We need this little extension for
  * some common methods used in whole application. Please see below if you
@@ -46,7 +52,5 @@ class FrameworkArrayObject extends ArrayObject {
        public function __toString () {
                return $this->realClass;
        }
-}
 
-// [EOF]
-?>
+}
index 22504c1fe2196ebe0adfbb552c211dd5517bd276..bd06c93f60e1593831d45c4dc59b379722420380 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Client\Http;
+
 /**
  * A HTTP client class
  *
@@ -158,7 +161,5 @@ class HttpClient extends BaseClient implements Client {
                // Return response array
                return $responseArray;
        }
-}
 
-// [EOF]
-?>
+}
index 48345447d430200883670f628237820bd1eca161..f30aac8a758f5f239375d4c69f46ae77c1602d68 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Fuse;
+
 /**
  * A Fuse console command
  *
@@ -83,7 +86,5 @@ class ConsoleFuseCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now ...
        }
-}
 
-// [EOF]
-?>
+}
index 076fbbb95bdd6ddbad33513199ac81050b838168..7534e1848bdec7b58339619b1ea2beaa78545c65 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Guest;
+
 /**
  * A command for the confirmation link handling
  *
@@ -140,7 +143,5 @@ class HtmlConfirmCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index aab4248b471a5c772dfa61edba3e6b8f46972700..e5fd4e18807c552bbfeea1af8f4b9308cb362081 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Form;
+
 /**
  * A command for the form processor
  *
@@ -73,6 +76,3 @@ class HtmlDoFormCommand extends BaseCommand implements Commandable {
        }
 
 }
-
-// [EOF]
-?>
index dbe7d4efe926186683e8d09be53b359272bcc975..b9538f8b662083f8dff46ac147c103699945c8ae 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Guest;
+
 /**
  * A command for the home page
  *
@@ -126,7 +129,5 @@ class HtmlHomeCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index f8057ab34aa4e81581e834dacfb64fd84173f807..f0d8c36605b68d82118c2218de0ef69eb603e131 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Login;
+
 /**
  * A command for the login area (member/gamer area)
  *
@@ -197,7 +200,5 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable {
                // Remember this action in registry
                Registry::getRegistry()->addInstance('action', $actionInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 1ad15d54739f14f3d9dd105498ba5e7ae243d85c..8e5d152128b58c01f2d67307b554b992c5500440 100644 (file)
@@ -138,7 +138,5 @@ class HtmlLoginCommand extends BaseCommand implements Commandable, Registerable
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index 2e3e77cd8fec69a9e24ec81c17848402b4da174f..126a42401714cd61d092dbecaa8d275e2d660e71 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Failed;
+
 /**
  * A command for the login failed page
  *
@@ -129,7 +132,5 @@ class HtmlLoginFailedCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index 05344d3205188ecc000c3c2f834818d402a70c6c..121fb97b4928fa8b9bae3ada7d483342d14396e9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Login;
+
 /**
  * A command for logout
  *
@@ -83,7 +86,5 @@ class HtmlLogoutCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index 5842a9918883a4a4d436612419bc0f544be90f81..4c81971b043d267831668068832c9091df25ffb1 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Logout;
+
 /**
  * A command for the login failed page
  *
@@ -129,7 +132,5 @@ class HtmlLogoutDoneCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index 51e6d105896b59642293eae9963a684ea33a10fc..562d1429a6dfef3302aef3732227790dbe202eb9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Failed;
+
 /**
  * A command for Problem page
  *
@@ -71,7 +74,5 @@ class HtmlProblemCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index 7d6f7982fb42307ba0a38dfdced6d1a13c37560b..cf86494f912558d38640e157757db7a965fdf58f 100644 (file)
@@ -139,7 +139,5 @@ class HtmlRegisterCommand extends BaseCommand implements Commandable, Registerab
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty method
        }
-}
 
-// [EOF]
-?>
+}
index cafa6c328a5f34c3802f6773d21de0aaf43ea6ef..823996db64dfb2b88261bf2519da9cd6e8f4823c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Guest;
+
 /**
  * A command class for resending the confirmation link
  *
@@ -129,7 +132,5 @@ class HtmlResendLinkCommand extends BaseCommand implements Commandable {
                // Filter for checking if account is unconfirmed
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_unconfirmed_filter'));
        }
-}
 
-// [EOF]
-?>
+}
index c4bf6fe4d03fa45a5891983284527fb7346bae57..bae495d881050ff77b02fd08aa12d98b6a123ee2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Status;
+
 /**
  * A command for Status page
  *
@@ -127,7 +130,5 @@ class HtmlStatusCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
-// [EOF]
-?>
+}
index 2f6d25e7449a29e8b438eb2018981ebe4c92ea8b..c8f45222f4f17dd88c81fb57d78cfffa2f9f09e2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Captcha;
+
 /**
  * A command for creating code CAPTCHAs
  *
@@ -92,7 +95,5 @@ class ImageCodeCaptchaCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Extra filters here...
        }
-}
 
-// [EOF]
-?>
+}
index 9c40f74e66ffc166bf1625551ea7f44b05f072df..087f2c58cc80f11aeb78d6ce927ddf3e50b4b9de 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Container\Socket;
+
 /**
  * A Socket Container class
  *
@@ -122,7 +125,5 @@ class SocketContainer extends BaseContainer implements Registerable {
                // Return result
                return $matches;
        }
-}
 
-// [EOF]
-?>
+}
index e058f4ecd9ee46a34f49599299a2d072a16907b1..bcb09fe7437e8dfe3294d6cac4fa51b8b889f4fe 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
 /**
  * The default controller for all other console requests
  *
@@ -70,7 +73,5 @@ class ConsoleDefaultController extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
-// [EOF]
-?>
+}
index 6c986650098cbf225995e908f0e43aa126631990..27ec6d799b0412e97c232442d4740f1fd84822f4 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
 /**
  * The default controller with news for e.g. home or news page
  *
@@ -64,7 +67,5 @@ class ConsoleDefaultNewsController extends BaseController implements Controller
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 2c22095e2b8dea7d73185b9993c784f0ccd48880..6821591e74a7456885a9335873876b2214ced3e2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Confirm;
+
 /**
  * Controller for confirmation link
  *
@@ -67,7 +70,5 @@ class HtmlConfirmController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 727592abc9a75a596d0afd7d314bc5613431aeb9..29078e48771ef47e5f507b7513db110e40243e95 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
 /**
  * The default controller for all other web requests
  *
@@ -70,7 +73,5 @@ class HtmlDefaultController extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
-// [EOF]
-?>
+}
index 64a7935d22aee0356d0d6446db3cb1ea374accb8..8a0ecd4fac050fe9ec6c1af989d3df91bcf63c8b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\News;
+
 /**
  * The default controller with news for e.g. home or news page
  *
@@ -64,7 +67,5 @@ class HtmlDefaultNewsController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 633a1066023b6f5048887bcae2f26088aeed3e3e..e8188464494cb8fd8d993b693f6933be3f96be8b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Login;
+
 /**
  * Controller for login form with password reminder and maybe enabled
  * "guest-login" button
@@ -62,7 +65,5 @@ class HtmlLoginController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 086e8ae7fe3d40efe19e405ac7eb43a0405b7a42..b20e079d45a5f3da02f0ce02626af0a30b88f2bf 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Failed;
+
 /**
  * A controller for login failed page
  *
@@ -69,7 +72,5 @@ class HtmlLoginFailedController extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
-// [EOF]
-?>
+}
index 8f9d5d80c6f86f5879fabf78cb589c747ed8ef3d..9f773c2b3ca03644e5a31459e8d61b570896e270 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Logout;
+
 /**
  * The default controller for logout page
  *
@@ -76,7 +79,5 @@ class HtmlLogoutController extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
-// [EOF]
-?>
+}
index e4976db442faed0f0ba5488bdd21c7ba1b75f6fe..a6092c73faf5f6a211981c0583ece562ae5b67c1 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Logout;
+
 /**
  * Controller for logout done page
  *
@@ -61,7 +64,5 @@ class HtmlLogoutDoneController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index f3c37356c1692ce8e8b03a22bf7cf538bf4d21e4..7114710d6a22e65aef70925816ce9c51d31e58e9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Problem;
+
 /**
  * Controller for problem requests
  *
@@ -61,7 +64,5 @@ class HtmlProblemController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index dfde9c76a51da3d115f7615d267798cdf61f4334..1b173b2ec19c6f7ab591b6d6dedb6c8df8d70c84 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Status;
+
 /**
  * Controller for changing user status
  *
@@ -70,7 +73,5 @@ class HtmlStatusController extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
-// [EOF]
-?>
+}
index ee2c28deee82604a4cdf5f456f5a1e06b90b569a..e7c816d570053e82968dcc7db42f70ac8ac2404c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Form;
+
 /**
  * A controller for handling sent forms
  *
@@ -63,7 +66,5 @@ class HtmlDoFormController extends BaseController implements Controller {
                // Generic handling with redirect to 'login_failed'
                $this->genericHanleRequestLoginFailedRedirect($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 715e6560076d3a24d6338fef7e8dd1e71eebcad4..c90e570dcab8cfac5bd4eee1b34c0518b07fbbd4 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Login;
+
 /**
  * Controller for login area with news
  *
@@ -76,7 +79,5 @@ class HtmlLoginAreaController extends BaseController implements Controller {
                 */
                $this->genericHanleRequestLoginAreaFailedRedirect($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index d8bb509c127a480e56c140a35aca5fe326572c5e..bb6b554e603eefabe35a620e0dc4283dfe8757ae 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Image\Captcha;
+
 /**
  * A controller for a code-based CAPTCHA where the user has to repeat a shown code
  *
@@ -63,7 +66,5 @@ class ImageCodeCaptchaController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 9a0292a1f62d38051720b22342b5c716b5d80d9c..63b78338a533c9f703d29c79c025e4855778e6ad 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
 /**
  * A default controller for images
  *
@@ -69,7 +72,5 @@ class ImageDefaultController extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
-// [EOF]
-?>
+}
index f0488c474db74c4b7dd588b5e9afdfd2ddd36a04..2e69e4c4382b9303b45244b0460c0f539711a677 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Criteria\DataSet;
+
 /**
  * A set of data storeable in databases
  *
@@ -214,7 +217,5 @@ class DataSetCriteria extends BaseCriteria implements StoreableCriteria {
                // Return it
                return $this->primaryKeys;
        }
-}
 
-// [EOF]
-?>
+}
index 565ed93e183c0f39d55b8b06c3ee3e1d3da606b6..9a647b283a29e1dc8e38670f2439140de0113765 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Criteria\Search;
+
 /**
  * Search criteria for e.g. searching in databases. Do not use this class if
  * you are looking for a ship or company, or what ever. Instead use this class
@@ -221,7 +224,5 @@ class SearchCriteria extends BaseCriteria implements LocalSearchCriteria {
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('SEARCH-CRITERIA[' . __METHOD__ . ':' . __LINE__ . ']: key=' . $key . ',value[' . gettype($value) . ']=' . $value . ',isMatching=' . intval($isMatching) . ' - EXIT!');
                return $isMatching;
        }
-}
 
-// [EOF]
-?>
+}
index 19b2343b20c3066f020acac1f45ba08322d71fa1..2a3e536ac611c8d1a874b4ff81baa18be9f6726d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Criteria\Update;
+
 /**
  * Search criteria for e.g. searching in databases. Do not use this class if
  * you are looking for a ship or company, or what ever. Instead use this class
@@ -55,7 +58,5 @@ class UpdateCriteria extends BaseCriteria implements LocalUpdateCriteria {
        public final function getUpdateCriteria () {
                return $this->getCriteriaArray();
        }
-}
 
-// [EOF]
-?>
+}
index 18efa561c563eb01e26a9d281aa8200ee46547c0..f39a866a8261998b0ce5a0429a29f9a11cab9130 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Backend\Lfdb;
+
 /**
  * Database backend class for storing objects in locally created files.
  *
@@ -670,7 +673,5 @@ class CachedLocalFileDatabase extends BaseDatabaseBackend implements DatabaseBac
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DATABASE: tableName=' . $tableName . ',count=' . $count . ' - EXIT!');
                return $count;
        }
-}
 
-// [EOF]
-?>
+}
index 2badf38208da6b5e8d94156797b3408618882571..8e10e956282d80a8a519da6eef1bbccf543eb6e7 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Wrapper;
+
 /**
  * A database wrapper for payments
  *
@@ -54,7 +57,5 @@ class PaymentsDatabaseWrapper extends BaseDatabaseWrapper implements Registerabl
                // Return the instance
                return $wrapperInstance;
        }
-}
 
-// [EOF]
-?>
+}
index b5fdf0b8aca089c6cc3587989925ba0dd92d651d..4cc7e26cc77af0fbf09a9bf716908b612822d7df 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Result;
+
 /**
  * A database result class
  *
@@ -413,7 +416,5 @@ class CachedDatabaseResult extends BaseDatabaseResult implements SearchableResul
                // Set the index
                call_user_func_array($callBack, array($indexValue));
        }
-}
 
-// [EOF]
-?>
+}
index 884341aaaf5dd00a45db7f10dcc6b2e90f5dd95b..9b8221a30335b91fe156e300650ed2c0324aefd8 100644 (file)
@@ -446,7 +446,5 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
                // Call the inner class' method but trim the characters before
                $this->getTemplateInstance()->assignMultipleVariables($variables);
        }
-}
 
-// [EOF]
-?>
+}
index b8e29a4a67c5d21b6a0dc801a9ac5491f89ca89f..1163a2452100443e9c9517013e81aa0a054e2ef4 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Parser\Xml;
+
 /**
  * A XML compacting decorator class for XML parsers
  *
@@ -69,7 +72,5 @@ class XmlCompactorDecorator extends BaseDecorator implements Parseable {
                // Parse the content
                $this->getParserInstance()->parseXmlContent($content);
        }
-}
 
-// [EOF]
-?>
+}
index 0864675b51bdb0dfb4120c81f955666ef7adec96..bd43e9420469af84b7cbaaf909524c700947521a 100644 (file)
@@ -93,7 +93,5 @@ class LocalPaymentDiscovery extends BaseDiscovery implements Discoverable, Regis
        public function addResultsToHelper (HelpableTemplate $helperInstance) {
                // Undone part
        }
-}
 
-// [EOF]
-?>
+}
index 1ca669c6fae6e79c389b8ff90f07e7301c12a9ae..e84be052430a896877a4740d629362b980ccd4f2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Cache;
+
 /**
  * A cache factory
  *
@@ -68,7 +71,5 @@ class CacheFactory extends BaseFactory {
                // Return the instance
                return $cacheInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 2ef09fab66962563377496ed32091ee2725ef54d..14b75423276fbead60d5a9c982f83b7ef96257dd 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Client;
+
 /**
  * An object factory for clients
  *
@@ -65,7 +68,5 @@ class ClientFactory extends ObjectFactory {
                // Return the prepared instance
                return $clientInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 9e0216f735c60f05536fe29cd02e459ecc6ca2be..a5a8a02c9ec9c94f70bc6ba07f507cac7ec8522a 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Database\Wrapper;
+
 /**
  * A factory class for socket registries
  *
@@ -58,7 +61,5 @@ class DatabaseWrapperFactory extends ObjectFactory {
                // Return the instance
                return $wrapperInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 8726a16c4357442da4dc6e098d6898f76ed4dac8..bbeee4fc5b17f7df5cace16da25f83be68a4755c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\News;
+
 /**
  * A news factory for web pages
  *
@@ -78,7 +81,5 @@ class HtmlNewsFactory extends BaseFactory {
                // Return the prepared factory instance
                return $newsInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 9c57f78a90a0e756390ed64809b84966445b2325..b2a09bb9ef10b01044369c05849263423e5a8f82 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Filesystem\Stack;
+
 /**
  * A factory class for file-based stack indexes
  *
@@ -57,7 +60,5 @@ class FileStackIndexFactory extends ObjectFactory {
                // Return the instance
                return $indexInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 1ec2a933d683b9536c890e8fc545a706f7db16f1..f5e4372b5165e9fdb4e9ffb88c4c8c3e4a13f95a 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Login;
+
 /**
  * A factory class for socket registries
  *
@@ -69,7 +72,5 @@ class LoginFactory extends ObjectFactory {
                // Return the instance
                return $loginInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 84dd0fe1d8b22648e01d108be16536290242f5e5..2a5a46ef4b7ba8db105c1daca8b2bd306d2653cb 100644 (file)
@@ -93,7 +93,5 @@ class ObjectFactory extends BaseFactory {
                // Return the instance
                return $objectInstance;
        }
-}
 
-// [EOF]
-?>
+}
index e4228a131758e09ca947b4935c1b28b46c5c89ba..f1ebfcd65b2028dc578843822230fcf645e2697e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Registry;
+
 /**
  * A factory class for socket registries
  *
@@ -58,7 +61,5 @@ class SocketRegistryFactory extends ObjectFactory {
                // Return the instance
                return $registryInstance;
        }
-}
 
-// [EOF]
-?>
+}
index d143789289cb141079d9ca2156ac7198e1056857..77ea415832d1386cd52c48fb1fba9322b1aaa440 100644 (file)
@@ -69,7 +69,5 @@ class FileStackFactory extends ObjectFactory {
                // Return the instance
                return $stackInstance;
        }
-}
 
-// [EOF]
-?>
+}
index a428cf001b1b056c15fd19dd7568e865cd43900d..ac7a3a06540196a115506832386945273db890d3 100644 (file)
@@ -75,7 +75,5 @@ class UserFactory extends ObjectFactory {
                // Return the instance
                return $userInstance;
        }
-}
 
-// [EOF]
-?>
+}
index cccb9cdb31dc827d902ff877951df8e4fa6b0bf6..fd83f516607dadc3cccfae44532c37ca008c3c22 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Factory\Template;
+
 /**
  * A factory class for XML template engines. All instances generated by this
  * factory does have language support disabled and XML-compacting enabled (to
@@ -67,7 +70,5 @@ class XmlTemplateEngineFactory extends ObjectFactory {
                // Return the instance
                return $templateInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 942520eac621ab04bd69431e1bb39866a61ba8e6..60d33883111e6e3fb00ca9953136fc540cbe02f9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Feature\Fuse;
+
 /**
  * A FUSE feature class
  *
@@ -61,7 +64,5 @@ class FuseFeature extends BaseFeature implements Feature {
                // Return status
                return $isAvailable;
        }
-}
 
-// [EOF]
-?>
+}
index fb571e84a2151aa7b7b14a50f95dbc9bbb5b2cc1..15b5f0b391a50e9b09e16f9954f17d0663775a58 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\File;
+
 /**
  * A general binary file class
  *
@@ -848,7 +851,5 @@ class BaseBinaryFile extends BaseAbstractFile {
                // @TODO Unfinished
                $this->partialStub('length=' . $length);
        }
-}
 
-// [EOF]
-?>
+}
index 32bac87ca634f471e34f8d819ac1c34b285b412c..40d8f8e10ffed5b86ba1d1f83f3d771356540dc5 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Index;
+
 /**
  * An index file class
  *
@@ -79,7 +82,5 @@ class IndexFile extends BaseBinaryFile implements Block {
                self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] groupId=' . $groupId . ',encoded()=' . strlen($encoded));
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index fc203a72f887eaa8d2b73a8ce593f9eb694c0551..270c6f85bde8823cf574854541296152bd4c9406 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stack;
+
 /**
  * A stack file class
  *
@@ -91,7 +94,5 @@ class StackFile extends BaseBinaryFile implements Block {
                self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] groupId=' . $groupId . ',hash=' . $hash . ',encoded()=' . strlen($encoded));
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index a9f6d0f913218238f2ca7b21adef0fd3b58dab90..3de4520b4411468645e995890922d1c863083bdd 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stream;
+namespace CoreFramework\Stream\Filesystem;
 
 // Import framework stuff
 use CoreFramework\Object\BaseFrameworkSystem;
index 1db56899869d1cb690800ea45b0e3bb7f611a1b7..6b39bb5298df83788653f06bb208993fdb954195 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer\Raw;
+
 /**
  * A class for writing files
  *
@@ -144,7 +147,5 @@ class FrameworkRawFileOutputPointer extends BaseFileIo implements OutputPointer
        public function key () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index 1db56899869d1cb690800ea45b0e3bb7f611a1b7..b17e3464764c7b07a53399e423cf627fd8420daa 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer\Text;
+
 /**
  * A class for writing files
  *
@@ -144,7 +147,5 @@ class FrameworkRawFileOutputPointer extends BaseFileIo implements OutputPointer
        public function key () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index e0f36ec8ec36bb2e4535209957919037efed802a..b69e6aeef8088831b5d53e17785d68423d2f71d2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\File;
+
 /**
  * A general text file class
  *
@@ -72,7 +75,5 @@ class BaseTextFile extends BaseAbstractFile {
                self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] fqfn=' . $fqfn);
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index 1fda99514f835ea0411e9538e35d3815078c0e50..70d4ee14626e67bd27c1d63efcb43210ff896b8c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Text;
+
 /**
  * A general text input file class
  *
@@ -54,7 +57,5 @@ class BaseInputTextFile extends BaseTextFile {
         */
        public function readLine () {
        }
-}
 
-// [EOF]
-?>
+}
index 937f80a8cbefcb2560aa071579c6c5c60a8d4e87..0d1170b14204e1110e8fdb93f8e3d0c6f266d360 100644 (file)
@@ -166,7 +166,6 @@ class CsvInputFile extends BaseInputTextFile implements CsvInputStreamer {
                // Return it
                return $lineArray;
        }
+
 }
 
-// [EOF]
-?>
index e4cd06f64704b4afa76cfd0a8782ba3f6f117d18..57bb5f18f17922ba47e50ffa503e98903cdd8152 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Text;
+
 /**
  * A general text file class
  *
@@ -46,7 +49,5 @@ class BaseOutputTextFile extends BaseAbstractFile {
                // ... and set it here
                $this->setPointerInstance($pointerInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 88b354b136c28026cd1566c8454ab41a73b0149d..ff067215de57cc7593cc3fcd79b8cea432407391 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\User\Auth;
+
 /**
  * A filter for checking user permissions
  *
@@ -131,7 +134,5 @@ class UserAuthFilter extends BaseFilter implements Filterable {
                Registry::getRegistry()->addInstance('auth', $authInstance);
                Registry::getRegistry()->addInstance('user', $userInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 4eaa678acd3cd28666f8bf49e1b9396f2f517738..fe2b1e68942a74ada111d16db310c2445e21ef93 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Change\Email;
+
 /**
  * A filter for detecting email changes
  *
@@ -116,7 +119,5 @@ class EmailChangeFilter extends BaseFilter implements Filterable {
                // Update the "new_email" field
                $this->partialStub('Unfinished part.');
        }
-}
 
-// [EOF]
-?>
+}
index b5db12ebd7e2490f7e319b3829805ca4373d4831..4c4de125c35714183d16b06a471c112f482eb1e1 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Change\Email;
+
 /**
  * A filter for password change detection
  *
@@ -108,7 +111,5 @@ class PasswordChangeFilter extends BaseFilter implements Filterable {
                // Update the "password" field
                $this->partialStub('Unfinished part.');
        }
-}
 
-// [EOF]
-?>
+}
index a5a7a74eb11299cad0e2859e6613002ca6b0ade2..1a0729e28632e42a79ad7e98a4c27ec5e73e6d58 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\RulesCheckbox;
+
 /**
  * A filter for checking if the user has accepted the rules. This is mainly
  * used and done in registration process and should not be removed from your
@@ -71,7 +74,5 @@ class RulesAcceptedFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index 4a75ebfa97d1ac6eba42fe33e73f2f406c545acf..e13ca5ac8f48b9d4eb0d179dc6bb62251343763d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Captcha;
+
 /**
  * A filter for checking if value "encrypt" is set and fine
  *
@@ -84,7 +87,5 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
                // Write it to the request
                $requestInstance->setRequestElement('decrypted', $decryptedString);
        }
-}
 
-// [EOF]
-?>
+}
index 3a9fdf5be6139d2c43e643ccd1aaaafa6824a686..6e75e1469953fb58ec436338b644e4d148c4779d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\User\Username;
+
 /**
  * A filter for checking if username "guest" has been choosen as configured. If
  * so the password will be set to the configured password.
@@ -64,7 +67,5 @@ class UserNameIsGuestFilter extends BaseFilter implements Filterable {
                        $requestInstance->setRequestElement('pass2', $this->getConfigInstance()->getConfigEntry('guest_login_passwd'));
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index c6be8464a7c1021d6199efd7d28fbbea72f04cfc..c1da219358ceec46208c8f66daa819d01c01fefd 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\News;
+
 /**
  * A pre-filter for downloading news from a source. This can be a XML feed or
  * the local database. You *can* register this filter as post filter but for
@@ -61,7 +64,5 @@ class NewsDownloadFilter extends BaseFilter implements Filterable {
                // Store the news instance in registry
                Registry::getRegistry()->addInstance('news', $newsInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 935671119d63179d3f82c3a00c889e2f57caf5be..ace9341327b1f91091faf6b4c43b7a84fd29631c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\News;
+
 /**
  * A post-filter for processing downloaded news. This will prepare the news fir
  * output to the template engine.
@@ -56,7 +59,5 @@ class NewsProcessFilter extends BaseFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
        }
-}
 
-// [EOF]
-?>
+}
index 2011f92445570687a7624b88dba02dd73308d06a..2228c6d319c69a117b4b7e1459efa77efb5e2e12 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Generic;
+
 /**
  * As the name said: A null filter does just pass through the data. This is
  * useful to make other filters switch on/off-able.
@@ -56,7 +59,5 @@ class NullFilter extends BaseFilter implements Filterable {
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Not implemented, just passing through
        }
-}
 
-// [EOF]
-?>
+}
index f31ad5b222103bddebe190fbc847f71281640d83..85edcc87b14458ec8221a623a204b10a4a6a4c93 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Discovery\Payment;
+
 /**
  * A filter for payment discovery. This class discovers the payment type and
  * returns an object holding all available payment system for the requested
@@ -130,7 +133,5 @@ class PaymentDiscoveryFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                }
        }
-}
 
-// [EOF]
-?>
+}
index aa1f246ce9aa00fef0781edc0bd683df2822e95e..bfa4486a16d1c170f471aa96190309484b5d30ec 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\User\Status;
+
 /**
  * A filter for updating the user account status to confirmed
  *
@@ -68,7 +71,5 @@ class UserStatusConfimedUpdateFilter extends BaseFilter implements Filterable {
                // Write all updates to the database
                $userInstance->flushPendingUpdates();
        }
-}
 
-// [EOF]
-?>
+}
index 1c2fdf65e3a252d46944390ff2546e4063cd844d..c64ed021efd0f3cbd6c46b092c2ecd1c0bec836c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\User;
+
 /**
  * A filter for updating the user account like last activity, last action
  * performed and so on.
@@ -68,7 +71,5 @@ class UserUpdateFilter extends BaseFilter implements Filterable {
                // Write all updates to the database
                $userInstance->flushPendingUpdates();
        }
-}
 
-// [EOF]
-?>
+}
index c70635663407fcd18a5ac9d90603429af1a31688..78b78d7337f19baaec3735cd85e5632f87e2cea4 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Validator\Email;
+
 /**
  * A concrete filter for validating the email address. This filter may intercept
  * the filter chain if no email address is given or if supplied email has an
@@ -163,7 +166,5 @@ class EmailValidatorFilter extends BaseFilter implements Filterable {
                // Return the result
                return $alreadyTaken;
        }
-}
 
-// [EOF]
-?>
+}
index 4dec46b13a8fdb0c5f2301a1277f0e2b9994821c..bf0bf85af4f7f1d8adf8d0ac73d60b5e34e35ed2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Validator\Password;
+
 /**
  * A concrete filter for validating the password. This filter may intercept
  * the filter chain if no password is given or if both passwords didn't match.
@@ -98,7 +101,5 @@ class PasswordValidatorFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } // END - elseif
        }
-}
 
-// [EOF]
-?>
+}
index 1ed2e7ef0a0f36a1d771a07d75f11f1755bcf15b..dfbb5f7422e7744eccd005b1e28bdcaabbca4230 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Validator\Username;
+
 /**
  * A concrete filter for validating the username. This filter may intercept the
  * filter chain if no username is given or if supplied username has an invalid
@@ -133,7 +136,5 @@ class UserNameValidatorFilter extends BaseFilter implements Filterable {
                // Return the result
                return $alreadyTaken;
        }
-}
 
-// [EOF]
-?>
+}
index 515ba61a9afb0cdbdb25498bff6e405f1efdc745..b27af9ef9da8c2569ef6d284f39a18e69400b647 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Password;
+
 /**
  * A concrete filter for validating the password. This filter may intercept
  * the filter chain if no password is given or the password is invalid
@@ -104,7 +107,5 @@ class AccountPasswordVerifierFilter extends BaseFilter implements Filterable {
                        throw new AccountPasswordMismatchException($this, BaseUser::EXCEPTION_USER_PASS_MISMATCH);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index a6d1468e5aa59c3b76d014271920fe549a7dc606..1b1c73c48fc3cff6fa5030d473eb925e5ae9648f 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
 /**
  * A verifier filter for birthday data
  *
@@ -108,7 +111,5 @@ class BirthdayVerifierFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index 3eace252964e4bd792fb31b0e4dcae4664f8e40c..55f7b5425b500ff30b76cd013d283fa8eadbb814 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Confirmation;
+
 /**
  * A filter for checking if supplied confirmation code is valid.
  *
@@ -96,7 +99,5 @@ class ConfirmCodeVerifierFilter extends BaseFilter implements Filterable {
                        exit();
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index b57c1181b7f1d1860d5a64f3b2c9f48f3917f7fc..f7340b71a3220ee92b8d09a1762c6834308a9667 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Captcha;
+
 /**
  * A concrete filter for validating code graphical CAPTCHAs with hashes
  *
@@ -143,7 +146,5 @@ class GraphicalCodeCaptchaVerifierFilter extends BaseFilter implements Filterabl
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } // END - not the same!
        }
-}
 
-// [EOF]
-?>
+}
index 62321d399972324ef7e8c07a1487fb5320c453b4..1f9060a390d254a819cfe1cffc5be468dfed28ba 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
 /**
  * A concrete filter for validating the guest password. This filter may intercept
  * the filter chain if no password is given or the password is invalid
@@ -79,7 +82,5 @@ class PasswordGuestVerifierFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                }
        }
-}
 
-// [EOF]
-?>
+}
index 62130073553a8ed78dc877e30c9473bb4c3bc899..66714a24307b8ea102b31bdc2c36ffa9d9aa2006 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Password;
+
 /**
  * A concrete filter for validating the password. This filter may intercept
  * the filter chain if no password is given or the password is invalid
@@ -79,7 +82,5 @@ class PasswordVerifierFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                }
        }
-}
 
-// [EOF]
-?>
+}
index f4c0666029099c57789e5702c33fedea36c5e801..703d5ece408179c46013dca9c6eae14bdc2590e9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
 /**
  * A concrete filter for verfying the guest username. This filter may intercept the
  * filter chain if no username is given or if supplied username has an invalid
@@ -136,7 +139,5 @@ class UserGuestVerifierFilter extends BaseFilter implements Filterable {
                // Return the result
                return $alreadyTaken;
        }
-}
 
-// [EOF]
-?>
+}
index 09add35b5cba6f4147c36bbc2513bbcea4018453..ba1b20ba007bba842c1538fd1567c7600956bda7 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
 /**
  * A concrete filter for verfying the username. This filter may intercept the
  * filter chain if no username is given or if supplied username has an invalid
@@ -133,7 +136,5 @@ class UserNameVerifierFilter extends BaseFilter implements Filterable {
                // Return the result
                return $alreadyTaken;
        }
-}
 
-// [EOF]
-?>
+}
index ac73a8485935e298823e85ad59829ed1640be6b8..b6ef58dac35980dcceac4682569313cab10c5e5a 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
 /**
  * A filter for checking if user status is GUEST or CONFIRMED.
  *
@@ -68,7 +71,5 @@ class UserStatusVerifierFilter extends BaseFilter implements Filterable {
                        exit();
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index e526e1eac712875afa52369976035d24b6d6c7cb..f71e0aa335ff0e12553ff607a8b6eb8c106a1563 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
 /**
  * A filter for checking if user status is UNCONFIRMED.
  *
@@ -83,7 +86,5 @@ class UserUnconfirmedVerifierFilter extends BaseFilter implements Filterable {
                // Add this instance to registry
                Registry::getRegistry()->addInstance('user', $userInstance);
        }
-}
 
-// [EOF]
-?>
+}
index abf88f2e14bd95e0e5f23d5f58c46a7e02323252..a213ce325d0d752191123ce932247fe95e565bc7 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Data;
+
 /**
  * A general data Handler
  *
@@ -191,7 +194,5 @@ abstract class BaseDataHandler extends BaseHandler {
         * @return      void
         */
        abstract protected function removeMessageConfigurationData (array $messageData);
-}
 
-// [EOF]
-?>
+}
index 27c48b29fc49256e9afff12eafc17a91d9fedd82..2e1edd24dcfc03662990ac5fa2bd2110d2f01452 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Raw;
+
 /**
  * A general Handler for raw data from sockets
  *
@@ -177,7 +180,5 @@ class BaseRawDataHandler extends BaseHandler {
        public final function getErrorCode () {
                return $this->errorCode;
        }
-}
 
-// [EOF]
-?>
+}
index 19ea2cdbf954e2377b040c79f2f10f45f88ada17..74f59c73c1f38d93392a02de0f17392fb649cace 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Task;
+
 /**
  * A Task handler
  *
@@ -341,7 +344,5 @@ class TaskHandler extends BaseHandler implements Registerable, HandleableTask {
                        $this->unregisterTask($entry);
                } // END - foreach
        }
-}
 
-// [EOF]
-?>
+}
index 1b4da34461e604189d3ea1b405a457946f9b5cf7..a7a1235c0242928869a7c15de729c36b04c4c068 100644 (file)
@@ -396,7 +396,5 @@ class ImageHelper extends BaseCaptcha implements HelpableTemplate {
                // Transfer all to the template engine
                $templateInstance->renderXmlContent($imageContent);
        }
-}
 
-// [EOF]
-?>
+}
index 67a4bd8fbe5bcb28a9872f93fb2aa2093b1dc064..0855bff6cb9bee01f29639490710a1024829ef02 100644 (file)
@@ -151,7 +151,5 @@ class HtmlBlockHelper extends BaseHtmlHelper implements HelpableTemplate {
                // Transfer it to the template instance
                $templateInstance->assignVariable($this->getBlockName(), $templateInstance->getRawTemplateData());
        }
-}
 
-// [EOF]
-?>
+}
index 5d100f771dcdfd631c5c858e52f40ca7d393b203..2bc7ffb1b24e60c80d2001db2a1b3fbc3b1f73bf 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Helper;
+
 /**
  * A general purpose web helper. You should not instance this like all the other
  * base classes. Instead write your own web helper class and inherit this class.
@@ -33,7 +36,5 @@ class BaseHtmlHelper extends BaseHelper {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 12a9fab57d9dd526da7cbb7767d27b15ec150049..5ffe2940b765359964483a2c74887120d7867374 100644 (file)
@@ -346,7 +346,5 @@ class HtmlLinkHelper extends BaseHtmlHelper implements HelpableTemplate {
                // Add the content to the previous group
                $this->addContentToPreviousGroup($linkContent);
        }
-}
 
-// [EOF]
-?>
+}
index ea4764fc09d26aaca252cd6a760542cfb3f170df..e5d24bcc8b2e5b515ba884817f7560a3a9d6d5cc 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Helper\Login;
+
 /**
  * A general login helper class
  *
@@ -32,7 +35,5 @@ class BaseLoginHelper extends BaseHelper {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index fb8494a0eec36f4b3fcae90294b492d4b7b41707..d075a4ef442f9e9f81ccec5174d10cf39bce4602 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Iterator;
+
 /**
  * A Default iterator
  *
@@ -116,7 +119,5 @@ class DefaultIterator extends BaseIterator implements Iterator {
                // Return result
                return $isValid;
        }
-}
 
-// [EOF]
-?>
+}
index 97293903c5aa1e7386340bfa3291b3f7ad47196c..e28045cb69fc1191bf96d01c7edd7c1482132896 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Iterator\File;
+
 /**
  * A file iterator
  *
@@ -324,7 +327,5 @@ class FileIterator extends BaseIterator implements SeekableWritableFileIterator
                print $this->getBlockInstance()->__toString() . PHP_EOL;
                return $this->getBlockInstance()->searchNextGap($length);
        }
-}
 
-// [EOF]
-?>
+}
index ae66a5c75e8ca6e3cdf27e6e165f57faabada416..adaa544a18ac7491d13a824effc8f1dd54813206 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Listener;
+
 /**
  * A general decorator for listeners to communicate to hubs
  *
@@ -147,7 +150,5 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable {
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('BASE-LISTENER-DECORATOR[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ') ...');
                $receiverInstance->addRawDataToIncomingStack($handlerInstance);
        }
-}
 
-// [EOF]
-?>
+}
index a627c708eece60ea3b0f6f22acae5c5a93d0f4b7..81ad500a0411984f88c932d212b853224ebae214 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Listener\Socket;
+
 /**
  * A file-based socket listener
  *
@@ -213,7 +216,5 @@ class SocketFileListener extends BaseListener implements Listenable {
        public function monitorIncomingRawData () {
                $this->partialStub('Need to implement this method.');
        }
-}
 
-// [EOF]
-?>
+}
index 1b044e4be9cb82c5b47e1ced3e676c232e6acd72..a2664a59e19e57b5f219116f9cad40dc7ba4434e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Listener\Socket;
+
 /**
  * A decorator for the SocketFileListener to communicate to hubs
  *
@@ -91,7 +94,5 @@ class SocketFileListenerDecorator extends BaseListenerDecorator implements Liste
                // Return the result
                return $accepts;
        }
-}
 
-// [EOF]
-?>
+}
index 388ab613f41818fafae8abf73d2923c3cdf2f318..096f72c870184ffe7611cb8850c81b7aaaf88d2f 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\List\Group;
+
 /**
  * A ListGroup list
  *
@@ -63,7 +66,5 @@ class ListGroupList extends BaseList implements Listable {
        public function clearList () {
                $this->partialStub('Please implement this method.');
        }
-}
 
-// [EOF]
-?>
+}
index 37b2141a8d46a9ad6993e3b553a0847be8a2e2cf..c868cd51fd66878d0f47ba1c9f3ceace7a3e9a92 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\List\Task;
+
 /**
  * A Task list
  *
@@ -66,7 +69,5 @@ class TaskList extends BaseList implements Listable {
                // Clear the only one group
                $this->clearGroup('tasks');
        }
-}
 
-// [EOF]
-?>
+}
index 89a631beba7f637216134307f4f30cde731942e4..6740d0cab65f48aa0bc88fc1dd25c5bd454ecffa 100644 (file)
@@ -176,7 +176,5 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
                // Then compile it again
                $templateInstance->compileVariables();
        }
-}
 
-// [EOF]
-?>
+}
index ddec2cc00de4176bc011c270be9fc114f3c935ff..f0c94c83c4994b035dde5ff70c853feb1a1ef4ec 100644 (file)
@@ -129,7 +129,5 @@ class ConsoleOutput extends BaseOutput implements OutputStreamer {
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index a56f3ad40ce7021909da285980c157b6d8886ce7..7643d51dcc3f9629a2f39bc87506a5c97592474f 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Output\Debug;
+
 /**
  * Generic debug output class
  *
@@ -56,7 +59,5 @@ class BaseDebugOutput extends BaseOutput {
        public final function getLoggerClassName () {
                return $this->loggerClassName;
        }
-}
 
-// [EOF]
-?>
+}
index edc0385d7d4fec2030098e0718c9b0529c654a0f..bf02a3186a1bc54de1901d51bd8b2c17a272091d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Output\Debug;
+
 /**
  * A debug output class for PHP's error_log() command
  *
@@ -127,7 +130,5 @@ class DebugErrorLogOutput extends BaseDebugOutput implements Debugger, OutputStr
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index ce68606126c212f66b26dc50e3ac7a0096397ff8..e34ec9059b35159d17e56afe011a1e88e5eb3230 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Output\Debug;
+
 /**
  * A debug output class for the web browser
  *
@@ -116,7 +119,5 @@ class DebugWebOutput extends BaseDebugOutput implements Debugger, OutputStreamer
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index e08d8396e1c3c2604d02a8791199d1df937c3d07..03fe275f01d375262cc80d6a7d8147a5bd711e8e 100644 (file)
@@ -114,7 +114,5 @@ class WebOutput extends BaseOutput implements OutputStreamer, Registerable {
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index 13c32eb198dcc86efea3b995b21dafa30db1c5ee..44c2844149fb0ff809ad5793cefd8e319a62dbbd 100644 (file)
@@ -115,7 +115,5 @@ class XmlParser extends BaseParser implements Parseable {
                // Free the parser
                xml_parser_free($xmlParser);
        }
-}
 
-// [EOF]
-?>
+}
index 116a5216f06d182d1f46808fb7142800d2bebab8..3647dfc773c84a14c60f08b124690d500538b4cd 100644 (file)
@@ -63,4 +63,3 @@ class Registry extends BaseRegistry implements Register {
        }
 
 }
-// [EOF]
index 2cf76b35cc2a67cc1bec279a7da48d9d0114f88a..c2eb43ecaaeaa5514966ada16623194155eda589 100644 (file)
@@ -53,4 +53,3 @@ class SubRegistry extends BaseRegistry implements Register {
        }
 
 }
-// [EOF]
index 86b6c3bc9c10b9678d051ea386a9164445f9b1ca..dbd81edf1999d62a564ffa1c53479d428d6cec47 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Request;
+
 /**
  * A concrete request class
  *
@@ -157,7 +160,5 @@ class ConsoleRequest extends BaseRequest implements Requestable {
                // Not support method
                throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index f5ca6aa3486c78c9e72bebe2f5a8b3e0e57efea2..dd2c301ac3c4ad243fe34bc5b4771a073e12a8c8 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Request;
+
 /**
  * A concrete and secured HTML request class to make HTML requests more abstract
  *
@@ -141,7 +144,5 @@ class HtmlRequest extends BaseRequest implements Requestable {
                // Return the value
                return $cookieValue;
        }
-}
 
-// [EOF]
-?>
+}
index 0f5c5398eef46a5bbaa9ce7ff472eab497e0aa0a..c20410d3cfab4365be4702c2782cc7c7876a93e2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Action;
+
 /**
  * A generic action resolver class
  *
@@ -114,7 +117,5 @@ class BaseActionResolver extends BaseResolver {
                // Return the result
                return $actionInstance;
        }
-}
 
-// [EOF]
-?>
+}
index ce2c0d7a2ed54f57b9328f969955a46136d91874..9c9afc72825afb12b50be3d0245ae76123f37128 100644 (file)
@@ -151,7 +151,5 @@ class HtmlActionResolver extends BaseActionResolver implements ActionResolver {
                // Return the instance
                return $actionInstance;
        }
-}
 
-// [EOF]
-?>
+}
index c89e656a356f4a60b8109534062589ea99387261..7bfa17a2fb6b4e6e00bf2ba37a7a741ae01bb536 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Controller;
+
 /**
  * A generic command resolver class
  *
@@ -174,7 +177,5 @@ class BaseCommandResolver extends BaseResolver {
                // Return the result
                return $isValid;
        }
-}
 
-// [EOF]
-?>
+}
index 0be18596a9406db8a20797f9f618090350406c27..42ac4c753744a0ee64495cd30e60328c1bdbe385 100644 (file)
@@ -69,7 +69,5 @@ class ConsoleCommandResolver extends BaseCommandResolver implements CommandResol
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 54e19d5b880fbdf4e9ec0850ca2db6a14988d4d8..4a473b523280e47e43a8c6e8df5a08a7299b55e6 100644 (file)
@@ -74,7 +74,5 @@ class ImageCommandResolver extends BaseCommandResolver implements CommandResolve
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 2ec24e4c91670a98546c68914c85bb4700ad9605..3f973885d0dbecdb3bd42b99288f953c53de0e7b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Controller;
+
 /**
  * A generic controller resolver class
  *
@@ -173,7 +176,5 @@ class BaseControllerResolver extends BaseResolver {
                // Return the maybe resolved instance
                return $controllerInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 9795d89d4bef74b13f317954df13b16132447198..dd3554337a3fdc65148a2b0400d515f0e7993f2d 100644 (file)
@@ -72,7 +72,5 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
-// [EOF]
-?>
+}
index a90bb66bfdbd22e850ceccbcd144149ddb347721..8882dbdbb58187263dc242b97462d9aeff594d59 100644 (file)
@@ -72,7 +72,5 @@ class HtmlControllerResolver extends BaseControllerResolver implements Controlle
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 9855742b1777988ae4b62b160723c6248a5c2017..7098713df858be5ad865a72316cf950f26ec0f40 100644 (file)
@@ -72,7 +72,5 @@ class ImageControllerResolver extends BaseControllerResolver implements Controll
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 430959f96d63531344dc8c407328aacea6763035..f2ba710bab301e29acfc97a477fdea913943aa90 100644 (file)
@@ -130,13 +130,10 @@ class ConsoleResponse extends BaseResponse implements Responseable {
         * @param       $force  Whether we shall force the output or abort if headers are
         *                                      already sent with an exception
         * @return      void
-        * @throws      ResponseHeadersAlreadySentException             Thrown if headers are
-        *                                                                                                      already sent
+        * @throws      ResponseHeadersAlreadySentException             Thrown if headers are already sent
         */
        public function flushBuffer ($force = FALSE) {
                $this->partialStub('Please implement this class.');
        }
-}
 
-// [EOF]
-?>
+}
index 9cbcea860288d8b8aaec5643c9dde45bed43a149..b9f8a9d21ab248db275e0a0db0e1d830a86b415d 100644 (file)
@@ -211,7 +211,5 @@ class HtmlResponse extends BaseResponse implements Responseable {
                        $this->addCookie($cookieName, $_COOKIE[$cookieName], FALSE);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index 0b60bb47c9d32af3b16135c9d32da4bdd2f7fc63..c443769def2074ebffeeceb2c8b357c901a412e4 100644 (file)
@@ -243,7 +243,5 @@ class ImageResponse extends BaseResponse implements Responseable {
                        $this->addCookie($cookieName, $_COOKIE[$cookieName], FALSE);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index c00801c75a7318c81e16c58dbdeeff67f35e4064..abfca196d37652e43095d28498e7ba08c1a3b263 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stacker;
+
 /**
  * A FiFo Stacker class
  *
@@ -92,7 +95,5 @@ class FiFoStacker extends BaseStacker implements Stackable {
                // Call the protected method
                return parent::getFirstValue($stackerName);
        }
-}
 
-// [EOF]
-?>
+}
index dc4a33a3e5eaa6daf0171420a56bcfc8d161d853..3d95972c4db3b45998f30e3d7a27104134bade07 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stack\File;
+
 /**
  * A general file-based stack class
  *
@@ -610,7 +613,5 @@ class BaseFileStack extends BaseStacker {
                        self::ARRAY_INDEX_DATA_LENGTH  => strlen($rawData)
                );
        }
-}
 
-// [EOF]
-?>
+}
index 8450ed439317d4ec50231b8c1bba10b88c9464c8..f99a16b2352b855ecdcf6d21b5344dcb812edc60 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stacker;
+
 /**
  * A FiLo Stacker class
  *
@@ -92,7 +95,5 @@ class FiLoStacker extends BaseStacker implements Stackable {
                // Call the protected method
                return parent::getLastValue($stackerName);
        }
-}
 
-// [EOF]
-?>
+}
index f39b4d059a68dc1c6f2c4020f008958527422aee..2535f812ae8ec9c5d556615b4d701f8ae92409cc 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
 /**
  * A mcrypt-based encryption stream
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @todo               mcrypt will become deprecated, rewrite to OpenSSL
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -169,7 +173,5 @@ class McryptStream extends BaseStream implements EncryptableStream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index c42e6d1fbefed0b1d384a343c8efcd97b7c7a478..a2f33c2cf305747f6a0810272ed08fca6c5a92ef 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
 /**
  * A null-encryption stream does not encrypt anything but can be used if e.e.
  * mcrypt is not installed.
@@ -86,7 +89,5 @@ class NullCryptoStream extends BaseStream implements EncryptableStream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index 9d1fa30ad4400e0c649850ae0c651fa3042bac27..186cbf0ce132fe454867dc4b07012ff4f187b336 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Task\IdleLoop;
+
 /**
  * A IdleLoop task
  *
@@ -83,7 +86,5 @@ class IdleLoopTask extends BaseTask implements Taskable, Visitable {
                // Debug message
                self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Shutting down...');
        }
-}
 
-// [EOF]
-?>
+}
index 6fb2d813f4f7939763e4fa0afbe059188a3a5e90..2ac4006a6f5f1bed0b412e99c65e725d370e0424 100644 (file)
@@ -88,7 +88,5 @@ class ConsoleTemplateEngine extends BaseTemplateEngine implements CompileableTem
                // Return the prepared instance
                return $templateInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 3f919856f3025c47847af75b01a8fbefaf04774d..01653334ce400dbe5203c33f6e76b14e9acb5a08 100644 (file)
@@ -88,7 +88,5 @@ class HtmlTemplateEngine extends BaseTemplateEngine implements CompileableTempla
                // Return the prepared instance
                return $templateInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 92c8a5c656c0083dc198ebb3502f7f20eb306086..ade54d137a6b8eddeeb97345f792e217ad019e1c 100644 (file)
@@ -505,7 +505,5 @@ class ImageTemplateEngine extends BaseTemplateEngine implements CompileableTempl
                // Load the special template
                $this->loadTemplate($template);
        }
-}
 
-// [EOF]
-?>
+}
index 776c001698767bd712d364723380276b01fa7deb..adfeffbe582470ee7a9ebf521db237689b15f1d0 100644 (file)
@@ -359,7 +359,5 @@ class MailTemplateEngine extends BaseTemplateEngine implements CompileableTempla
        public function transferToResponse (Responseable $responseInstance) {
                $responseInstance->writeToBody($this->getCompiledData());
        }
-}
 
-// [EOF]
-?>
+}
index 6e281e94dea14d825d41279fe2c431ea7e6f9cbd..69d112d55b3b9e347a60d586e7c4b76e9b708d0c 100644 (file)
@@ -877,7 +877,5 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla
                // Return it
                return $fqfn;
        }
-}
 
-// [EOF]
-?>
+}
index fd68a9ba5be9ccc57d18159da535b253877f9e46..eba42dac0a7b38400745ba1d5371fc7648c5feee 100644 (file)
@@ -138,7 +138,5 @@ class Guest extends BaseUser implements ManageableGuest, Registerable {
        public function flushPendingUpdates () {
                // No updates will be flushed to database!
        }
-}
 
-// [EOF]
-?>
+}
index c9c87956d897cb2863235d27c8b0d524bf31116a..6be881617771393ed848f5137050bc56672da0d3 100644 (file)
@@ -152,7 +152,5 @@ class Member extends BaseUser implements ManageableMember, Registerable {
                // Remember the update in database result
                $this->getResultInstance()->add2UpdateQueue($updateInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 7b9e04b12fe516c730f12572fb2890c45db3b749..7df391abdb0454ec9d6cf2b4e0f4e49f55255a34 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Visitor\Task\Active;
+
 /**
  * An ActiveTask visitor
  *
@@ -98,7 +101,5 @@ class ActiveTaskVisitor extends BaseVisitor implements TaskVisitor, PoolVisitor,
                // A decorator itself can never become an active task so this method
                // remains empty.
        }
-}
 
-// [EOF]
-?>
+}
index 239ae350f44e87e6be49d7200098dc47a0078169..01d1b6b2999a7b4e120143332a29d97683420a92 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Visitor\Task\Shutdown;
+
 /**
  * An ShutdownTask visitor
  *
@@ -91,7 +94,5 @@ class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, PoolVisito
                // Shutdown the decorator instance
                $decoratorInstance->doShutdown();
        }
-}
 
-// [EOF]
-?>
+}
index 1a697a1de6814775e44f5dc03798fcaf71cc3361..36b6750177ce5095d09c18ada8cae3c276d44bb6 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Action;
+
 /**
  * This exception is thrown when a requested action is invalid
  *
@@ -41,7 +44,5 @@ class InvalidActionException extends FrameworkException {
                // Call parent contructor with message
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index a3dfcb7a112ea5c4307aabcd060a5a7b150285fa..4c99d05e6064193e68637d75789d3c8c60b12d01 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\User\Auth;
+
 /**
  * An exception thrown when authorization of the user has failed
  *
@@ -40,7 +43,5 @@ class UserAuthorizationException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 959d2f56a76ab60b716090dd1dac16b55a11efc5..f1b02f977a86b40e4804d194591f77298811a179 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * Thrown if the given data contains characters that are not valid for
  * BASE64-encoding.
@@ -8,6 +11,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class Base64EncodingBadException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index a8244edf28ae9633de3534f189007ce3a54abece..267112fdf02549d2c2dbb59c9770b959102d5772 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * Thrown if modulo 4 of the length of the given data is not zero.
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class Base64EncodingModuloException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 93af8280da0c294605a29499862079ad4ccf451f..d5a6da4b4030beb125caf8c37782b091d5ebddfe 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Generic;
+
 /**
  * A general abstract exception. You should not throw this even when you
  * remove the "abstract" key-word. Better you make your own exception and
@@ -201,7 +204,5 @@ abstract class FrameworkException extends ReflectionException {
        public final function getExtraData () {
                return $this->extraData;
        }
-}
 
-// [EOF]
-?>
+}
index 567cac57f3b31619fb8b6872de4c6c73362b1f1c..f54b84e3e3062a672fd0b6af396773127de172a5 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Compressor;
+
 /**
  * An exception thrown when compressors are mismatching
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @todo               Rename to CompressorMismatchException
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -45,7 +49,5 @@ class MismatchingCompressorsException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 367d2d8707cfda8d09a4d359882bbd3d6d8ba719..48f36e3a1fedacb22811165825d2398e789bef60 100644 (file)
@@ -42,7 +42,5 @@ class ConfigEntryIsEmptyException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index fc7edbbef524cb1aa99bdb8228a47e4e051a63ae..c2c0fc13376920bf37cbed7bd4491b2909de4345 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Configuration;
+
 /**
  * Thrown when the value variable type is NULL, an array, an object or a
  * resource as these values shall not be set as configuration values. Please use
@@ -9,6 +12,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
+ * @todo               These are invalid argument exceptions
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -43,7 +47,5 @@ class ConfigValueTypeUnsupportedException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 956f37cd96ae84e17fd52eab3dd869b76d849ac8..08c11033c5e4cd90312234cd186ec9f222dbb4bd 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Configuration;
+
 /**
  * An exception thrown when a configuration entry is not found
  *
@@ -44,7 +47,5 @@ class NoConfigEntryException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index b6cc9eccc7a54c794d42f2696c4a0017d7a858d9..8107c5f7d29cafd3e0c7cbd3b86d1503342c6d01 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Connection;
+
 /**
  * This exception is thrown if the connection is already registered in a matching
  * connection registry.
@@ -40,7 +43,5 @@ class ConnectionAlreadyRegisteredException extends AbstractConnectionException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 54169f95d2953c237b7b6b52291c4b2a3081a272..9c0dec20155a96de0fdcd7abddfb16c84351c185 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller;
+
 /**
  * This exception is thrown when the default controller is missing
  *
@@ -43,7 +46,5 @@ class DefaultControllerException extends FrameworkException {
                // Call parent contructor with message
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 0a0a99516a64798be4efd652a2b75073bdba4d77..af71722830c7526655b35613858c8c02c06c1356 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller;
+
 /**
  * This exception is thrown when the default controller is missing
  *
@@ -44,7 +47,6 @@ class InvalidControllerException extends FrameworkException {
                // Call parent contructor with message
                parent::__construct($message, $code);
        }
+
 }
 
-// [EOF]
-?>
index af8435ce08de0c6fa86a64ff95e0f73b120a6fbb..29fc9b4b63955622c6d172338ff6666645506523 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the decrypted "encrypt" string has an invalid length
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -46,7 +50,5 @@ class EncryptInvalidLengthException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index b58c83bd54880202caf4a4662f10ef750db11faa..c83dd16f9760547d7036b02b686d79a89f546e29 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the "encrypt" string is missing
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -42,7 +46,5 @@ class EncryptMissingException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 47a9269b553e484d93afb10a9b4edbc1368e6050..05003dc2d1f30b672e34611b63aa0989513b6217 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Sql;
+
 /**
  * A SQL exception thrown when an SQL error was detected.
  *
@@ -41,7 +44,5 @@ class SqlException extends DatabaseException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 14b2ebc9376f3fdd80fc3ca8bc8924941de97b86..3725cf7e959f718a5d885dae59e7d916d326c0b0 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the save path is no directory
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,7 +40,5 @@ class SavePathIsNoDirectoryException extends DatabaseException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 6ef0382502b74b9fa92f6689eb7f82bf42652a9a..a8db0666b19e506e8e6d485d42acfda0313c6fb4 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the save path is read-protected
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Please don't use this
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,7 +40,5 @@ class SavePathReadProtectedException extends DatabaseException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 2786d45ebc7f2ca5600395405d20cdca0b94777b..4db309ea24e64f7cb99ddb1f8b494645b03a2369 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the save path is write-protected
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Please don't use this
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,7 +40,5 @@ class SavePathWriteProtectedException extends DatabaseException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 7f07ea9503488f043266f00eab5744041a1e9309..b8f35d43ff2ec0370dcf2066015c469cd767281c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Feature;
+
 /**
  * Thrown if a given feature's method is not callable
  *
@@ -40,7 +43,5 @@ class FeatureMethodNotCallableException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 90ba80d4b5e29ef6ebd4d551c6286e0795e181f8..a4590f4c60c99f9e4194aa442b5026cd80062a4d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
 /**
  * An exception thrown when a directory pointer is not opended
  *
@@ -31,12 +34,10 @@ class DirPointerNotOpenedException extends FrameworkException {
         */
        public function __construct ($path, $code) {
                // Add a message around the missing class
-               $message = sprintf('F&uuml;r den Pfad %s konnte kein Pointer initialisiert werden.', $path);
+               $message = sprintf('No pointer could be initialized for path "%s".', $path);
 
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 50d0c301e9026ef69583f17f2f379174c49fc6d0..7b3df236c38a57eadbd895c65719fd845af6589e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a file name is empty or NULL.
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -33,7 +37,5 @@ class FileIsEmptyException extends FrameworkException {
                // Call parent constructor
                parent::__construct('No file name provided.', $code);
        }
-}
 
-// [EOF]
-?>
+}
index 15622a6336e8d678e004cf1dd294ff2bcdb3574c..fd6ed10737a8a84119e04e0fefe64ff5a2f1cd05 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a file could not be written.
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,7 +40,5 @@ class FileWriteProtectedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 8fedb73d647e05b7268faf6584d3144b6c899f8e..98745834bc60d9bfbbafc97ee53bb2643c3c5e85 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the length of the data mismatch
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class InvalidDataLengthException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 9797bb4e0a95634fa5f6df71c21d15b4f7cf004e..801cd47d0bc3f13cbde6f058f06f8b6a5e543bd5 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filter\Chain;
+
 /**
  * An exception thrown in a filter chain to stop processing further filters
  *
@@ -39,7 +42,5 @@ class FilterChainException extends FrameworkException {
                // Call the parent exception
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index aab82806ed18bf36b6eec26e1559293340a05a94..c8b82621d5e0dd64bcfcd3e0629aa70581225c19 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown in a filter chain to stop processing further filters
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class InvalidFilterChainException extends FrameworkException {
                // Call the parent exception
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index efa1157bd67877d1d704feb12c6ea131d158cde0..252af2738e507f20e49f0e7d1b520aea80da850b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the form is still closed but input field shall be
  * added to it. This should normally not happen, but well, who knows?
@@ -8,6 +11,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class FormClosedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 31e53c64cf3fc023050f5c20beae58a44c0cd77e..6290ef732f88f8ed3cb86ed52daf44eef049e9ea 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a form group is still closed.
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class FormGroupClosedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 371a500797b20f8313413e3050238b8e95418f91..2a85e8714a8d70be2c255966c0340e2fa94f3e6b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the form is still opened but we e.g. shall flush
  * the content.
@@ -8,6 +11,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class FormOpenedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 46d9e9f8a3e87183c9121faea7c03c52478c5469..3e505503ec28c04d58aeb66e89ff8d6fa51044b2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a group was added twice
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class HelperGroupAlreadyCreatedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 92057a94c2b19aa02088f3bb20a29f4169d2ac26..242a1ede5e735b17dd2d6d9c6ca2bfdf9aec9dc8 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when no sub group was opened previously
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class HelperNoPreviousOpenedSubGroupException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index eea9abbb64852e6ef2357678bcbfcc2e2a2ea1cd..6fae8914ddfde38e8b5c09bab1b09f28d1cc060d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a sub group was added twice
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class HelperSubGroupAlreadyCreatedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index c2198f31659a9ad61263d3e4cfdb764163291238..d995160ab8d5fa456d918243c1383cf9a13e51b7 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the form name is invalid (set to FALSE)
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -39,7 +43,5 @@ class InvalidFormNameException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 62adcc251289a0e494f0a4309497f7c7e23b6bfd..1350cd27727f86852363e802eb48fab45bacec61 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a group was not opened before
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class NoGroupOpenedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index cbfc2e542efe9a92c69d473621e919ea9192dde5..530677b1a6101e5c9ca4fd3a313f446bd70439c8 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a user instance is invalid
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class UserInstanceMissingException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 512b3b3c4d1c357cc2c3a4b36f192e0a0a2228a9..b67a3bf881e7b948d9315c4bd63b5dc2397739f8 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the language path string is invalid
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class InvalidLanguagePathStringException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index e2aa6f96ce924efd22d7a13144b54788bb84eb8a..49d08aa123edd625004547981d49f7f882fadd89 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the language path is no directory
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @todo               Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class LanguagePathIsNoDirectoryException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 92c386fad6fdab8466478f98336d3370a589c179..1a9df0ff86c608441307f980e1cf3deb0e6ae31a 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the language path is read-protected
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class LanguagePathReadProtectedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 32b902116fadbcab7dce7abfc072e3e16cb14339..31af593b9984ecd62f2920241abe9777c4b37b83 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Result;
+
 /**
  * An exception thrown if a database result does not contain expected entries
  *
@@ -40,7 +43,5 @@ class InvalidDatabaseResultException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index e6b39e09794eb4728ac649e01821d8619396d01d..6028e7f1674eee5018fa471e1c0f24e954cad298 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Result;
+
 /**
  * An exception thrown if result was not updated.
  *
@@ -39,7 +42,5 @@ class ResultUpdateException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 29f7383ce70846b3f5d37963ae0c6adde7870e41..f4d6ec70230af8ad2947025db1886e8b15dd8667 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is newer thrown, it bundles all socket exceptions together to
  * one abstract exception.
@@ -25,6 +28,3 @@
 abstract class AbstractSocketException extends FrameworkException {
        // This abstract exception is currently kept empty
 }
-
-// [EOF]
-?>
index 1e0b99cdaacf840a9386535cc327a203c49e8271..d99e9f10fa3f162571e571e5c8ec596f4f544e5e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when the socket resource is an invalid server socket.
  *
@@ -39,7 +42,5 @@ class InvalidServerSocketException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 77ad21c98ca33ccbdcf75ac4cf820556950a15f7..322b7c205d877e3707ed9cccaad95826792604ea 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when the socket resource is invalid or an error
  * occurs while socket initialization phase.
@@ -57,7 +60,5 @@ class InvalidSocketException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 048c2f40952c6562b91cf215fc85aa94f8c217ae..16eb3235c3e291c8f1ed63eefbeb6f5628e4de19 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when socket_last_error() has returned zero value
  * which means no error. This should not happen unless someone called
@@ -9,6 +12,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @todo               Those are logic exceptions and should be rewritten
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class NoSocketErrorDetectedException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 7def65ecbc00118fc55445bfa3a69ed1748e52dc..41d189869cb9a37473dfcf1a77b4c655521b80ea 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when the requested socket is not thrown
  *
@@ -38,7 +41,5 @@ class NoSocketRegisteredException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 090f006fc567a6539be1126f4f18abeab12d6c3f..42f6fe5bda803a0298be36ce652c5bed28a68680 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * This exception is thrown if the socket is already registered in a matching
  * socket registry.
@@ -8,6 +11,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class SocketAlreadyRegisteredException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index bd565c5fe0cccd5546416c112c3b396d5b8e2e08..1a323ea23f271a3e8b2fc388208c15bc698eed85 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
@@ -41,7 +44,5 @@ class SocketBindingException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 6924f7e2eeba4d3d974d69001da64e40716e68ff..39f5088efbefcf1d56dc982b5c138bdf59e1e9f3 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when socket_connection() could not succeed. This
  * means a lot: the connection was refused by other peer (no open port; mostly
@@ -43,7 +46,5 @@ class SocketConnectionException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index d6c40407a4e70deab92ee7de4f455eb925bae74f..6fb6abd634621ebbc3228a9312e90d1cd48f91ec 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when socket_create() returns a variable with
  * non-resource type. This could mean you don't have propper permission to
@@ -43,7 +46,5 @@ class SocketCreationException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 6e18ba45e2f47095f59c534ba6996ed52f87b361..06024d3b68b4917c752dd579eb6f1c5842d80ba5 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when an option could not be set on given socket
  * resource. This means that the socket could be (somehow) created but cannot
@@ -43,7 +46,5 @@ class SocketOptionException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 11122ff6387628909e94dfbc8f0ded03d4f1c42f..405ccb23ad2f979ec0f16e3f4b6d26516446e20b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown if the socket cannot be shut down is not error 107
  * which is "Transport endpoint not connected".
@@ -45,7 +48,5 @@ class SocketShutdownException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index f6f6183a976172f171895e3dbf89e531b3e4b292..21fa173e360d65be51e244a567dec3afeb042747 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Socket;
+
 /**
  * This exception is thrown when a socket error handler is not (yet)
  * implemented.
@@ -42,7 +45,5 @@ class UnsupportedSocketErrorHandlerException extends AbstractSocketException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 358db7de23220831fd4df5a7a0c67c6abf243dfb..5765286342b0cec446a7346533097c4ffda2aa74 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * Thrown if a stacker is already initialized
  *
@@ -41,7 +44,5 @@ class AlreadyInitializedStackerException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 014eace1f7849a8e999369965afe9e60c2194034..804ad6c4f90fecca6c617c0ea728134da4941c22 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * Thrown if a stacker is empty
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class EmptyStackerException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 5a942abbb6b3752054cd3eaffc14cfd960e898f3..7733dc63803920f6d288bb1d2cc2cf2734767aeb 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * Thrown if a stacker is full
  *
@@ -40,7 +43,5 @@ class FullStackerException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 63b22a196ca28dd8f68ce436c262f0c98b7ad7a2..e69801f2be7ef13a71ad4409ddb1cce513330dc2 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * Thrown if a stacker is empty
  *
@@ -40,7 +43,5 @@ class NoStackerException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 9aef5b8c815e2bbc151d082c047e469a804dabe6..08815bb11c79e39fad4f3e75db2d67392274cbb0 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\State;
+
 /**
  * This exception is thrown when a state instance is invalid
  *
@@ -41,7 +44,5 @@ class InvalidStateInstanceException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 09d07815805261a194acd9a6b12ad95c66481aea..9996702e26577ad676efbbcaee6eb3e1d70e3268 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\State;
+
 /**
  * This exception is thrown when an unexpected state is detected.
  *
@@ -39,7 +42,5 @@ class UnexpectedStateException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 0e7aaeac0bbf04671f1f753ecb82aee59bced45a..1b4973fe138f6fb8575814f78e011958c90fb51e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\State;
+
 /**
  * This exception is thrown when the default state is missing
  *
@@ -44,7 +47,5 @@ class UnresolveableStateException extends FrameworkException {
                // Call parent contructor with message
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 61958c582ed3f851424d2f253ed7d78efb18776d..0fba91a9b858b023b6bc568f6ea5674499956f3c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the base path is no directory
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class BasePathIsNoDirectoryException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 3939ea908ddf9bc706a0a0899974ead8ff3e53a4..ab8e0649f42d2d954619b78f3de5c70b08fe4ab9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the base path is read-protected
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class BasePathReadProtectedException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 3f9f8ed67a96b3057a55cef75d2001743a0cc757..5c89c08842d9538483975c7530fe7447b7d65f0b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown hen the base path string is invalid
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,7 +44,5 @@ class InvalidBasePathStringException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 288a1b1ba0c3a5965e992c268d69f644de7268dd..ed352301514f9e2749f59c86a248ac848c4ae18d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when a variable is not set but should be.
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class NoVariableException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 1b2aa3cdd5fbadbb9315f2abad153db9b3c0ec48..5f79b0bbe5b2bad1eafbad9817e2329be7c60f28 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
 /**
  * An exception thrown when the template type is not supported
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @deprecated Don't use this anymore
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -41,7 +45,5 @@ class UnexpectedTemplateTypeException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 51e8d31c31da4ff58613055dec920103cbc92c5d..9d94951a288d432d1e6b07c2bd56e2174fec74e8 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Xml;
+
 /**
  * An exception thrown when an XML parser error was detected
  *
@@ -47,7 +50,5 @@ class InvalidXmlNodeException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 9ac8fa81371936518fb9414dd376c4747a75a8fd..51c21164f4c9577329a48c16ee3519cdcf1b9d12 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Xml;
+
 /**
  * An exception thrown when an XML node does not match the excepted
  *
@@ -41,7 +44,5 @@ class XmlNodeMismatchException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 717b68f5772b1dfa555c53dd932e1d60df969aa7..548b7670e8ca22664848c748de01e5712f089c96 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Parser\Xml;
+
 /**
  * An exception thrown when an XML parser error was detected
  *
@@ -41,7 +44,5 @@ class XmlParserException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index 11f40bbd352d3b7c86b6c5148d4cd5194c4f2b14..ea636ff6530f85df3efd61ad647bf2ea73c4a923 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command;
+
 /**
  * An interface for commands for the front controller
  *
@@ -30,7 +33,5 @@ interface Commandable extends PerformableAction {
         * @return      void
         */
        function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance);
-}
 
-// [EOF]
-?>
+}
index c2553f3f8eef134219c84713d3d5426acabcb568..2277bdff6416d8908574920a6eadd6d2e9994238 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Block;
+
 /**
  * A CalculatableBlock interface
  *
@@ -28,7 +31,5 @@ interface CalculatableBlock extends Block {
         * @return      $length         Minimum length for one entry/block
         */
        function calculateMinimumBlockLength ();
-}
 
-// [EOF]
-?>
+}
index 48cbc20369647b1a2c2f9a9b3a66669e284c7989..0e7c43eedbde7d4bce28e3a52bc897b24f90fcac 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Criteria\Local;
+
 /**
  * An interface for local criterias
  *
@@ -72,7 +75,5 @@ interface LocalSearchCriteria extends Criteria {
         * @return      $isMatching             Whether the key/value is matching or excluded
         */
        function isCriteriaMatching ($key, $value, $separator = ',');
-}
 
-// [EOF]
-?>
+}
index 7c3f13e35aa60012fc26144480cec3b3c334669c..7ae53d89d1e9689f53335705817e9b8daa4af2f0 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Criteria\Local;
+
 /**
  * An interface for local criterias
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface LocalUpdateCriteria extends Criteria {
-}
 
-// [EOF]
-?>
+}
index 9612582da54620b1e3dcfb3078df255898b81958..07fa5573f9242292992e03f808860034e0591260 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Criteria;
+
 /**
  * An interface for storeable data sets
  *
@@ -88,7 +91,5 @@ interface StoreableCriteria extends Criteria {
         * @return      $primaryKeys    Primary key array
         */
        function getPrimaryKeys ();
-}
 
-// [EOF]
-?>
+}
index 503ef0f9a3352d1c2134553ef1e1d71668cf61f2..62e116cadf435f465a7a47c5ae335dcf7c40b903 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Backend;
+
 /**
  * An interface for front-end database classes. The classes should prepare the
  * objects for saving in the database. So for server-bases database classes SQL
@@ -117,7 +120,5 @@ interface DatabaseBackend extends FrameworkDatabase {
         * @return      $count          Total rows of given table
         */
        function countTotalRows($tableName);
-}
 
-// [EOF]
-?>
+}
index 02f81d3e8b5e36a6dad718a8a711df61a7da9b8d..b6afce686811667f091f0d7305d8d107a4031413 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Connector\Database;
+
 /**
  * An interface for middleware database classes
  *
@@ -117,7 +120,5 @@ interface DatabaseConnector extends FrameworkDatabase {
         * @return      $count          Total rows of given table
         */
        function countTotalRows($tableName);
-}
 
-// [EOF]
-?>
+}
index 9d2c7d98d3cff20d52c7f68464c3f076b78f1c9b..939d6e838ac5ee71bdbb6770507a1c5a27235fbb 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Wrapper;
+
 /**
  * An interface for wrapper dealing with bookable points
  *
@@ -37,7 +40,5 @@ interface BookablePointsWrapper extends DatabaseWrapper {
         * @return      void
         */
        function doUpdateByResult (UpdateableResult $resultInstance);
-}
 
-// [EOF]
-?>
+}
index a848850cca3f019e7d0a6f95c5b62839c42b3da4..f93933b4a60dc760705bdcedd4c273cf9de047cc 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Handler\DataSet;
+
 /**
  * An interface for data set handlers
  *
@@ -30,7 +33,5 @@ interface HandleableDataSet extends Handleable {
         * @return      void
         */
        function addArrayToDataSet (StoreableCriteria $dataSetInstance, array $messageData);
-}
 
-// [EOF]
-?>
+}
index 982401acdc34c65eb3e37407f664bd353ebd279b..1ffbc04309e4004f9f53a104c5cfe618cfee72ca 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Protocol;
+
 /**
  * An interface for protocol handlers
  *
@@ -52,7 +55,5 @@ interface HandleableProtocol extends Handleable {
         * @return      $ifMatches      Whether the found UNL matches own addresss
         */
        function isOwnAddress ($unl);
-}
 
-// [EOF]
-?>
+}
index aa1df8922b3c7e83a3c9b24086ff5bbf224ebe75..0bdc518bf3ced72f6af3855f83c00ff58919e198 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Task;
+
 /**
  * A HandleableTask interface
  *
@@ -64,7 +67,5 @@ interface HandleableTask extends HandleableDataSet {
         * @return      void
         */
        function doShutdown ();
-}
 
-// [EOF]
-?>
+}
index 27aa8603657af4dced2c5837fa3aa5d2891d70fc..948267d88f611c32e67c485d2a0a4467d2b40c3c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Helper\Login;
+
 /**
  * A helper interface for logins
  *
@@ -30,7 +33,5 @@ interface HelpableLogin extends Helper {
         * @return      void
         */
        function executeLogin (Responseable $responseInstance);
-}
 
-// [EOF]
-?>
+}
index 638acda5475bdc434d62a5b04ad20a84893b7760..24c04436249765a09eebb8ea5762e1c33256c6cd 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Helper\Template;
+
 /**
  * A helper interface for template helper ;)
  *
@@ -28,7 +31,5 @@ interface HelpableTemplate extends Helper {
         * @return      void
         */
        function flushContent ();
-}
 
-// [EOF]
-?>
+}
index 2d37ff55c0acb63b33a8ea9205a39311841b92f5..8ed6b26d3851c4237ceffb6a388aaa315c2eaf57 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stack\Index;
+
 /**
  * An interface for Indexable stack classes
  *
@@ -30,7 +33,5 @@ interface IndexableStack extends Indexable, CalculatableBlock {
         * @return      void
         */
        function addHashToIndex ($stackName, array $data);
-}
 
-// [EOF]
-?>
+}
index 2b9b2cdb95c5a15c0861964307875c7eb1d7146f..0207ef9c25095306a9535d5044ba2c4c094c733e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Input;
+
 /**
  * An interface for input streams
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface StreamableInput extends Streamable {
-}
 
-// [EOF]
-?>
+}
index 5b6e0ae44baaf5a28b487e7b16737c397e11b101..846b5a71d1437f786aeeaa6384014c881ce4f2f0 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Output;
+
 /**
  * An interface for output streams
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface StreamableOutput extends Streamable {
-}
 
-// [EOF]
-?>
+}
index d1b439279f02482e4139bb7423130e0de3956fbe..e9359b03bcc6366e3559c34cf30972645c3aadd1 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stream;
+
 /**
  * An interface for file input operations.
  *
@@ -31,7 +34,5 @@ interface FileInputStreamer extends StreamableInput {
         * @throws      InvalidMD5ChecksumException     If two MD5 hashes did not match
         */
        function loadFileContents ($fqfn);
-}
 
-// [EOF]
-?>
+}
index 64b43e1e948ac57aaec046439d2ed640bb4a6ecb..f8d607f3b02c84614be9d89427c3471acc8aeff1 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stream;
+
 /**
  * An interface for file output operations.
  *
@@ -31,7 +34,5 @@ interface FileOutputStreamer extends StreamableOutput {
         * @return      void
         */
        function saveFile ($fileName, array $dataArray);
-}
 
-// [EOF]
-?>
+}
index c6ad14630c11bb21a8fdd96abe4c7ab39d0b678d..3862d788df9dded1486239abc5198954a4a91460 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Filesystem;
+
 /**
  * An interface for CSV file input operations.
  *
@@ -29,7 +32,5 @@ interface CsvInputStreamer extends FileInputStreamer {
         * @return      $lineArray                      An index array with the read line
         */
        function readCsvFileLine ($columnSeparator);
-}
 
-// [EOF]
-?>
+}
index a4ddb8b8c703f84a87e011cb3f4bc3c2e76c2def..ef29a35cef5e83aec2467ce60515f95d78a19edb 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Output;
+
 /**
  * An interface for output streams
  *
@@ -30,7 +33,5 @@ interface OutputStreamer extends StreamableOutput {
         * @return      void
         */
        function output ($outStream = FALSE, $stripTags = FALSE);
-}
 
-// [EOF]
-?>
+}
index f38b9e4f5014600535d6bbed379dfee785b78489..837f8cebde9e566056918ce68a81f88dca58371c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer;
+
 /**
  * An interface for (mostly) file input pointers.
  *
@@ -46,7 +49,5 @@ interface InputPointer extends StreamableInput, FilePointer {
         * @throws      InvalidResourceException        If there is being set
         */
        function read ($bytes = NULL);
-}
 
-// [EOF]
-?>
+}
index 583e1f0a103c92b3386eacc1747cfab8d1f592fa..edb3c4adb61026566cf158efed74004fa9c1cb56 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer;
+
 /**
  * An interface for (mostly) file output pointers.
  *
@@ -42,7 +45,5 @@ interface OutputPointer extends StreamableOutput, FilePointer {
         * @return      mixed                   Number of writes bytes or FALSE on error
         */
        function writeAtPosition ($seedPosition, $data);
-}
 
-// [EOF]
-?>
+}
index 3919d0e0db3fd73e3a1dfcf27ca7da3a82ae376e..95c35166e62a5a493b8137910e040b085f2b3c22 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer;
+
 /**
  * An interface for (mostly) file input/output pointers.
  *
@@ -50,7 +53,5 @@ interface InputOutputPointer extends InputPointer, OutputPointer {
         * @return      $key    Current key in iteration
         */
        function key ();
-}
 
-// [EOF]
-?>
+}
index c81fc141fee96cf9b14e8ed229b88f0215814df5..205fa99512de6d5692ce42bfc0afad80bec02595 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Iterator\Filesystem;
+
 /**
  * An interface for seekable iterators which also allow to write to the file
  * in different ways.
@@ -182,7 +185,5 @@ interface SeekableWritableFileIterator extends SeekableIterator {
         * @return      $seekPosition   Found next gap's seek position
         */
        function searchNextGap ($length);
-}
 
-// [EOF]
-?>
+}
index ea7aa9bef25d2e39e277cf51ef47320b950ffb74..e848b8e59156490f6c108d421263572869cdb94a 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\User\Points;
+
 /**
  * An interface for bookable points
  *
@@ -37,7 +40,5 @@ interface BookablePoints extends AddableCriteria {
         * @return      void
         */
        function bookPointsDirectly ($amount);
-}
 
-// [EOF]
-?>
+}
index 5fce140d004c16eea06a42055f746be4ec1db436..6ebfe562713fcc968434433169bf8020f24ea12f 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\User\Registration;
+
 /**
  * A class for user registration
  *
@@ -62,7 +65,5 @@ interface UserRegister extends AddableCriteria {
         * @return      void
         */
        function doPostAction ();
-}
 
-// [EOF]
-?>
+}
index 5ebd8b0ca60a10e3139d8a05851e1b68ef524dc2..321a3d20f73a3743ee98c0ca6f3d90975d2558c5 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Action;
+
 /**
  * An instance for action resolver classes
  *
@@ -45,7 +48,5 @@ interface ActionResolver extends Resolver {
         * @throws      EmptyVariableException  Thrown if given action is not set
         */
        function isActionValid ($actionName);
-}
 
-// [EOF]
-?>
+}
index 71e440b65f82d9a93f6f9bd7b1e05c096bb9a5fc..26750caffa799c2944b5d2ac4b14c5cf71f0678d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Command;
+
 /**
  * An instance for command resolver classes
  *
@@ -38,7 +41,5 @@ interface CommandResolver extends Resolver {
         * @throws      EmptyVariableException  Thrown if given command is not set
         */
        function isCommandValid ($commandName);
-}
 
-// [EOF]
-?>
+}
index 9b80fc566eea7ae304b7077c7edda659a0602bee..1bf389a69b976e813cb2b381a69edc69ab753f3b 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Controller;
+
 /**
  * An instance for controller resolver classes
  *
@@ -28,7 +31,5 @@ interface ControllerResolver extends Resolver {
         * @return      $controllerInstance             A controller instance for the default command
         */
         function resolveController ();
-}
 
-// [EOF]
-?>
+}
index a48d1d6f1729554990221646b6e5d3bb901761c8..be7657eac600c1e0cad6f25347e918d203278a2e 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\State;
+
 /**
  * An instance for state resolver classes
  *
@@ -40,7 +43,5 @@ interface StateResolver extends Resolver {
         * @throws      EmptyVariableException  Thrown if given state is not set
         */
        function isStateValid ($stateName);
-}
 
-// [EOF]
-?>
+}
index d67d967beb6903016f7da11c3437108a5c219415..22a19c392abaf9d2955a62ab6518cdb4f50ac1da 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Result;
+
 /**
  * An interface for searchable results
  *
@@ -31,7 +34,5 @@ interface UpdateableResult extends AddableCriteria {
         * @throws      ResultUpdateException   If no result was updated
         */
        function add2UpdateQueue (LocalUpdateCriteria $criteriaInstance);
-}
 
-// [EOF]
-?>
+}
index 3ecf27087ad3813b624fecbcf2ac9b694c5d0b32..b05019a5b7c4bafbd37cf951004d5ee35cc8dbaa 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stack;
+
 /**
  * A Stackable file interface
  *
@@ -36,7 +39,5 @@ interface StackableFile extends Stackable {
         * @return      $size   Size (in bytes) of file
         */
        function size ();
-}
 
-// [EOF]
-?>
+}
index 0c00dfdd7f58d2776e8d4d3f544ae0f1b9db9439..c8849660298c904798c05daac6b7c0fa74bdb4c1 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
 /**
  * An EncryptableStream interface
  *
@@ -38,7 +41,5 @@ interface EncryptableStream extends Stream {
         * @return      $str            The unencrypted string
         */
        function decryptStream ($encrypted);
-}
 
-// [EOF]
-?>
+}
index bbbcd30949ab8742cffb7f93ea8b1788549c3c51..b5982255ebc7b7fec795b7b9c52872e8abf8cb00 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream;
+
 /**
  * An InputStream interface
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface InputStream extends Stream {
-}
 
-// [EOF]
-?>
+}
index 83e389a865343bc783fe6c7211b8b4e7828bb454..fc4da020e6edad6c359e3b34729323a5d3812afc 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream;
+
 /**
  * An OutputStream interface
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface OutputStream extends Stream {
-}
 
-// [EOF]
-?>
+}
index 66bf4cccb9bb15812475029455899811ffeb62cf..75c11c6f011f19f4c7035d91f53acb8c3789e905 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Manager\Guest;
+
 /**
  * An interface for manageable guests
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface ManageableGuest extends ManageableAccount {
-}
 
-// [EOF]
-?>
+}
index 2f62572288ead4ebe345fbcc72d83906ed4f6ba5..3095c243cdb15472b73c27193ae34d3a268870de 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Manager\Login;
+
 /**
  * An interface for manageable users
  *
@@ -22,7 +25,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface ManageableMember extends ManageableAccount {
-}
 
-// [EOF]
-?>
+}
index 0e7a3ff3b5f92858791cef184684c090cb281a4a..8b7cab4c96ff73f345b1fc7ea6209c997c3b2cfe 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Visitor\Decorator;
+
 /**
  * An interface for the visitor implementation for decorators
  *
@@ -29,7 +32,5 @@ interface DecoratorVisitor extends Visitor {
         * @return      void
         */
        function visitDecorator (BaseDecorator $decoratorInstance);
-}
 
-// [EOF]
-?>
+}
index 6e9a90070c5350e2eabba9362787f2a5f865c88f..03a4adcec0d1b60e561b6d99bb40284d82a64532 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Visitor\Listener;
+
 /**
  * An interface for the visitor implementation for listeners
  *
@@ -29,7 +32,5 @@ interface ListenerVisitor extends Visitor {
         * @return      void
         */
        function visitListener (Listenable $listenerInstance);
-}
 
-// [EOF]
-?>
+}
index 9b98e3e72c5b40bb7e5cf7d994d046e6938ea658..6a63a766be1b241c07b16e96eb27e7b9d03e40ed 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Visitor\Pool;
+
 /**
  * An interface for the visitor implementation for pools
  *
@@ -29,7 +32,5 @@ interface PoolVisitor extends Visitor {
         * @return      void
         */
        function visitPool (Poolable $poolInstance);
-}
 
-// [EOF]
-?>
+}
index 2384507e606a30a203192af2a0bb3b315d3df0de..8012b9aa50fa6e0e68ddd60a11b27e12f4141860 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Visitor\Task;
+
 /**
  * An interface for the visitor implementation for tasks
  *
@@ -29,7 +32,5 @@ interface TaskVisitor extends Visitor {
         * @return      void
         */
        function visitTask (Taskable $taskInstance);
-}
 
-// [EOF]
-?>
+}
index 8b6dae490ba9d0d94db0b610954af864df8f8bad..7cdc9f418281e9973fde83e226d23cededf1314c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Channel\Compressor;
+
 /**
  * Middleware class for selecting the right compressor channel
  *
@@ -134,7 +137,5 @@ class CompressorChannel extends BaseMiddleware implements Registerable {
                // Get compressor extension from current compressor
                return $this->getCompressor()->getCompressorExtension();
        }
-}
 
-// [EOF]
-?>
+}
index d0732ea43a85c44c22fa775ff8b12fb1ea1025fd..b695c867eb12d7060eca3dfe184276d5d0e8ac4e 100644 (file)
@@ -218,7 +218,5 @@ class DatabaseConnection extends BaseMiddleware implements DatabaseConnector, Re
                // Return the value
                return $count;
        }
-}
 
-// [EOF]
-?>
+}
index 07b5ee151150448767029a48859952c5f38c2958..09f31da049832a11990370139deb2bac4935d422 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Middleware\Debug;
+
 /**
  * The middlware debug output system. A *real* or concrete output class shall
  * become registered with this middleware because the back-fall class will
@@ -122,7 +125,5 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
                // Use the output instance
                $this->getOutputInstance()->outputStream($outStream, $stripTags);
        }
-}
 
-// [EOF]
-?>
+}
index 4966e75d8357d520702df62c9a5b519067bdf27d..e239de5d5a91d4e482aee8e25c1a21f2796650dd 100644 (file)
@@ -204,4 +204,3 @@ class FileIoHandler extends BaseMiddleware implements IoHandler {
        }
 
 }
-// [EOF]
index 9bd38f95bc50b3a8350e8d8d1f7dc0a4e44bfdef..9f6a0e17e4db4680a6a36ff8ef325c20a1755962 100644 (file)
--- a/index.php
+++ b/index.php
@@ -228,6 +228,3 @@ define('DEVELOPER', TRUE);
 
 // Call above main() method
 ApplicationEntryPoint::main();
-
-// [EOF]
-?>