Continued: - no need for redundant code for just test classes, it can be done in the application's 'classes' path
Continued: - updated year to 2023
Continued: - added method FrameworkConfiguration::isEnabled() which requires configuration keys like 'is_foo_enabled' while you can just invoke $configInstance->isEnabled('foo') - Added some debug lines - added missing configuration entries - Configuration entries like is_<form-name>_captcha_secured_enabled are still missing
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>
Rewrite: - constructors of concrete (=implementing non-abstract) classes should be private to avoid somone making an inheriting class of a concrete class - this is good practice: only make inheriting (concrete) classes of abstract classes, not another concrete class only because you want that functionality in your class, too - the private constructor also stops you from doing such wrong things, no need to make all concrete classes final Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - reduced over-usage of is_string() Signed-off-by: Roland Häder <roland@mxchange.org>
Refacturing: - introduced IndexableTrait - the test for loadable classes is basically finished, later add more tests (filters) for each single class Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - BaseFrameworkSystem-><get|set>ConfigInstance() was deprecated and no longer working since below rewrite happened. It was also slow and unneccessary as FrameworkBootstrap::getConfigurationInstance() does the same - moved $registryInstance and getter/setter to RegistryIterator (only place) - moved $commandName / $controllerName and getter/setter to proper resolver classes 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: - configKey's value should be string here - word "method" is better describing - rewrote single-line to multi-line - added internal TODO 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>
Continued: - added namespace to class config entries - opps, need to multiply by 100 - added "import" of RandomNumberGenerator - added "import" of BaseAction Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - fixed some configuration entries, missing namespace - output nice statistics about passed and failed tests Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added generic test on loading classes configured in some_foo_class entries - now you can see, why "_class" must be set - added method getConfigurationArray() in FrameworkConfiguration which returns the whole configuration array ... - added "import" of XmlParser + fixed config entry with namespace - added "import" of BaseParser and Parseable Signed-off-by: Roland Häder <roland@mxchange.org>
Moving-session has started: - moved all files in application/tests/classes/ to framework/main/tests/ as they can (and should) be used by any application that wishes to run (unit) tests. Signed-off-by: Roland Häder <roland@mxchange.org>