Continued: - overall improval of framework tests (they aren't unit tests) - added framework test for is_*_enabled configuration keys - turned some Y/N into boolean (isEnabled() invoked instead of getConfigKey() == 'Y')
Continued: - updated year to 2023
Continued: - updated framework's (and testing application's) copyright year - also for tests copyright year has been updated Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - updated copyright year Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - let's get rid of own ObjectFactory::createObjectByName() construct and use the flexible (configurable) ObjectFactory::createObjectByConfiguredName() approach Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - Copyright year updated Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - updated copyright year (code was really updated there but not the year itself) - __call() does now finally show proper class name and only 'unknown' when self::$instance is not set (which must be an instance of FrameworkInterface for an obvious reason ...) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added Org\Nxchange\ namespace followwing Java convention Signed-off-by: Roland Häder <roland@mxchange.org>
Rewrite: - the configuration instance is now instanciated by FrameworkBootstrap::getConfigurationInstance(), this *may* has made it sure that the class FrameworkConfiguration can be fully covered by unit tests. - still a call-back instance test is pending Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added stub class for testing loadable configured class names - added "import" of ReflectionClass (SPL) - some tpzos fixed Signed-off-by: Roland Häder <roland@mxchange.org>
Continued with tests and renaming: - filters are also classes, so keep '_class' suffix for later (upcoming) tests on it - added base filter which currently does nothing special but later will - added filter for pre-checking PHP requirements (some may come, such as PHPUnit and more) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added missing config entry - expanded config entry local_file_database_class with namespace - need to load inc/database.php (which will later also be rewritten to an OOPed way) - added "import" of FrameworkDatabase - added "import" of BaseDatabaseBackend - added "import" of DatabaseBackend - added "import" of StoreableCriteria Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - tests may later have filters but now let's not focus on it - added "import" of BaseFactory - added "import" of HtmlNewsFactory - added "import" of ReadableNews - added config entry news_reader_main_class Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" of BaseFilter Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - add "import" for InvalidCommandException - is<Action|Command|Controller>Valid() methods now have 2 parameters: $namespace and $fooName - InvalidCommandException is no longer deprecated - removed [EOF] and ?> Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - no need to have namespace as parameter (only isValidFoo() calls) as it can be set in BaseResolver and all resolvers can use it which they must do anyway. - added "import" for DefaultControllerException - added "import" for Controller Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" for FrameworkException - added "import" for NoClassException Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - 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>
Continued: - added more namespaces - added "import" lines for BaseFrameworkSystem Signed-off-by: Roland Häder <roland@mxchange.org>
update copyright as changes will happen this year Signed-off-by: Roland Häder <roland@mxchange.org>