]> git.mxchange.org Git - city.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 18 Feb 2023 04:10:31 +0000 (05:10 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Feb 2023 04:12:02 +0000 (05:12 +0100)
- removed old " // END - <foo>"
- updated copyright year to 2023
- updated 'core' framework

126 files changed:
application/city/class_ApplicationHelper.php
application/city/classes/actions/class_
application/city/classes/actions/class_BaseCityAction.php
application/city/classes/actions/html/city/class_HtmlCityLoginCityMapAction.php
application/city/classes/actions/html/class_HtmlCityLoginGovernmentAction.php
application/city/classes/actions/html/class_HtmlCityLoginLogoutAction.php
application/city/classes/actions/html/class_HtmlCityLoginProfileAction.php
application/city/classes/actions/html/class_HtmlCityLoginStatusProblemAction.php
application/city/classes/actions/html/class_HtmlCityLoginWelcomeAction.php
application/city/classes/city_daemon/class_
application/city/classes/city_daemon/class_BaseCityDaemon.php
application/city/classes/city_daemon/default/class_SimulationDefaultCityDaemon.php
application/city/classes/class_
application/city/classes/class_Base
application/city/classes/class_BaseCitySystem.php
application/city/classes/commands/console/class_CityConsoleDaemonCommand.php
application/city/classes/commands/html/class_CityHtmlCityGuestLoginCommand.php
application/city/classes/commands/html/class_CityHtmlCityMapCommand.php
application/city/classes/commands/html/class_CityHtmlCityRegisterCommand.php
application/city/classes/commands/html/class_CityHtmlCityUserLoginCommand.php
application/city/classes/commands/html/class_CityHtmlConfirmCommand.php
application/city/classes/commands/html/class_CityHtmlDoFormCommand.php
application/city/classes/commands/html/class_CityHtmlHomeCommand.php
application/city/classes/commands/html/class_CityHtmlLoginAreaCommand.php
application/city/classes/commands/html/class_CityHtmlLoginCommand.php
application/city/classes/commands/html/class_CityHtmlLoginFailedCommand.php
application/city/classes/commands/html/class_CityHtmlLogoutCommand.php
application/city/classes/commands/html/class_CityHtmlLogoutDoneCommand.php
application/city/classes/commands/html/class_CityHtmlRegisterCommand.php
application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php
application/city/classes/controller/console/class_CityConsoleDefaultNewsController.php
application/city/classes/controller/html/class_CityHtmlConfirmController.php
application/city/classes/controller/html/class_CityHtmlDefaultNewsController.php
application/city/classes/controller/html/class_CityHtmlLoginController.php
application/city/classes/controller/html/class_CityHtmlLoginFailedController.php
application/city/classes/controller/html/class_CityHtmlLogoutController.php
application/city/classes/controller/html/class_CityHtmlLogoutDoneController.php
application/city/classes/controller/html/class_CityHtmlRegisterController.php
application/city/classes/controller/html/form/class_CityHtmlDoFormController.php
application/city/classes/controller/html/login/class_CityHtmlLoginAreaController.php
application/city/classes/database/frontend/city/class_CityInformationDatabaseFrontend.php
application/city/classes/database/frontend/city_entities/districts/class_CityDistrictsDatabaseFrontend.php
application/city/classes/database/frontend/city_entities/lots/class_CityLotsDatabaseFrontend.php
application/city/classes/database/frontend/city_entities/sections/class_CitySectionsDatabaseFrontend.php
application/city/classes/database/frontend/game_options/class_CityGameOptionsDatabaseFrontend.php
application/city/classes/database/frontend/region/class_RegionInformationDatabaseWrapper.php
application/city/classes/database/frontend/region_map/class_RegionMapDatabaseFrontend.php
application/city/classes/factories/city_daemon/class_CityDaemonFactory.php
application/city/classes/factories/manager/class_ManagerFactory.php
application/city/classes/factories/states/city/class_CityStateFactory.php
application/city/classes/filter/bootstrap/city_daemon/class_CityDaemonBootstrapExtraBootstrappingFilter.php
application/city/classes/filter/bootstrap/class_CityDaemonBootstrap
application/city/classes/filter/bootstrap/init/class_CityDaemonBootstrapInitDaemonFilter.php
application/city/classes/filter/city_daemon/class_CityDaemon
application/city/classes/filter/city_daemon/class_CityDaemonInitializationFilter.php
application/city/classes/filter/city_daemon/class_CityDaemonPhpRequirementsFilter.php
application/city/classes/filter/city_daemon/class_CityDaemonWelcomeTeaserFilter.php
application/city/classes/filter/class_
application/city/classes/filter/class_BaseCityFilter.php
application/city/classes/filter/shutdown/city/class_CityDaemonShutdown
application/city/classes/filter/shutdown/city/class_CityDaemonShutdownCityFilter.php
application/city/classes/filter/shutdown/city/class_CityDaemonShutdownTaskHandlerFilter.php
application/city/classes/filter/task/city_daemon/class_CityDaemonTaskHandlerInitializerFilter.php
application/city/classes/filter/verifier/class_CityNameVerifierFilter.php
application/city/classes/login/class_CityGuestLogin.php
application/city/classes/login/class_CityUserLogin.php
application/city/classes/login/helper/class_CityLoginHelper.php
application/city/classes/manager/city/class_CityManager.php
application/city/classes/manager/city_entities/districts/class_CityDistrictsManager.php
application/city/classes/manager/city_entities/lots/class_CityLotsManager.php
application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php
application/city/classes/manager/class_
application/city/classes/manager/class_BaseManager.php
application/city/classes/manager/game/class_GameOptionsManager.php
application/city/classes/manager/region/class_RegionManager.php
application/city/classes/manager/region/class_RegionMapManager.php
application/city/classes/menu/class_City
application/city/classes/menu/class_CityConfirmMenu.php
application/city/classes/menu/class_CityHomeMenu.php
application/city/classes/menu/class_CityLoginAreaMenu.php
application/city/classes/menu/class_CityLoginFailedMenu.php
application/city/classes/menu/class_CityLoginMenu.php
application/city/classes/menu/class_CityLogoutMenu.php
application/city/classes/menu/class_CityRegisterMenu.php
application/city/classes/menu/class_CityStatusMenu.php
application/city/classes/menu/government/class_CityGovernmentFailedAreaMenu.php
application/city/classes/registration/class_CityRegistration.php
application/city/classes/resolver/command/console/class_CityConsoleCommandResolver.php
application/city/classes/resolver/command/html/class_CityHtmlCommandResolver.php
application/city/classes/resolver/controller/console/class_CityConsoleControllerResolver.php
application/city/classes/resolver/controller/html/class_CityHtmlControllerResolver.php
application/city/classes/resolver/controller/image/class_CityImageControllerResolver.php
application/city/classes/states/city/active/class_CityActiveState.php
application/city/classes/states/city/class_
application/city/classes/states/city/class_BaseCityState.php
application/city/classes/states/city/init/class_CityInitState.php
application/city/classes/tasks/class_BaseCityTask.php
application/city/classes/tasks/daemon/building/class_CityDaemonBuildingGrowthTask.php
application/city/classes/tasks/daemon/class_CityDaemon
application/city/classes/tasks/daemon/household/class_CityDaemonHouseholdGrowthTask.php
application/city/classes/tasks/daemon/map_expander/class_CityDaemonMapExpanderTask.php
application/city/config-local.php-dist
application/city/config.php
application/city/debug.php
application/city/exceptions.php
application/city/interfaces/database/frontend/city/class_CityInformationFrontend.php
application/city/interfaces/database/frontend/city_entities/districts/class_CityDistrictsFrontend.php
application/city/interfaces/database/frontend/city_entities/lots/class_CityLotsFrontend.php
application/city/interfaces/database/frontend/city_entities/sections/class_CitySectionsFrontend.php
application/city/interfaces/database/frontend/game_options/class_CityGameOptionsFrontend.php
application/city/interfaces/database/frontend/region/class_RegionInformationFrontend.php
application/city/interfaces/database/frontend/region/class_RegionMapFrontend.php
application/city/interfaces/helper/city/class_CityHelper.php
application/city/interfaces/manager/city/class_ManageableCity.php
application/city/interfaces/manager/city_entities/class_ManageableCityEntities.php
application/city/interfaces/manager/city_entities/districts/class_ManageableCityDistricts.php
application/city/interfaces/manager/city_entities/lots/class_ManageableCityLots.php
application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php
application/city/interfaces/manager/class_Manageable.php
application/city/interfaces/manager/region/class_ManageableRegion.php
application/city/interfaces/manager/region/class_ManageableRegionMap.php
application/city/templates/menu/base_menu.xml
application/city/templates/menu/generic_menu_entries.xml
application/city/templates/menu/login_area_menu_entries.xml
contrib/update_year.sh [new file with mode: 0755]
core

index 4ccd98db7ee4f502603ffbe23bd6581c8426f2a3..3d9c194a25253fe45a2a9f4cdb3a3a71defa6538 100644 (file)
@@ -126,7 +126,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
 
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);
-               } // END - if
+               }
 
                // Get a controller resolver
                $resolverClass = sprintf(
@@ -177,7 +177,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                // Walk through all messages
                foreach ($messageList as $message) {
                        exit(__METHOD__ . ':MSG:' . $message);
-               } // END - foreach
+               }
        }
 
        /**
index f1ebf1a4c925b62bd824e43776122d46ccc398c1..aaa7d344be3f6fb1c79e5ecc25ca9865f2ab6498 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index ee069c8d0bca6818676be487e5615750e1fba36e..bac7b84e77e0dbe0c88eb704067d6b9347e96ce3 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 29f89cbc4946cc60229a3fa9175efce7d97a9d97..18ba3f71237aaf001f50e0ac833f2c7642a33c99 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 82ea314617b88ca11d1c26628071205dc802f937..38b4e48e87691f40bf7175cb1d72a95aae7a74f3 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index e686d1b574abc6ed8748fa657341e6b29bfc64dc..4640291a7dbae7cd72a7e7358a4c13a176affa3d 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index e16f88e1a34c9675b903b273eb3b30b08787a546..0dbd50cfda14c7528f11adc04db8b503701ac9de 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 968e45e6f1f8dac6985de71936088bc5cff880a8..4803f4e7ff90866e345ff51eaee141ffa0255c32 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 10dee4054582192af53a313503e22fe894be844c..35680d575a8b0147b301c06122849352fddf10ac 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index c9184eb31ee01ee8f644ab39d9d232b6180e76d8..bf92a57d2557f40db3a50d68a99a2a8e357e9e10 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Request\Requestable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index b4e3b1cce548b08e422614a88483e9fa60034fc5..4fc93914967cd05adec359b23319f80ab73f9b7b 100644 (file)
@@ -29,7 +29,7 @@ use Org\Mxchange\CoreFramework\Traits\State\StateableTrait;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -115,7 +115,7 @@ abstract class BaseCityDaemon extends BaseCitySystem implements Updateable, Adda
                // Output all lines
                self::createDebugInstance(__CLASS__)->debugOutput(' ');
                self::createDebugInstance(__CLASS__)->debugOutput($applicationInstance->getAppName() . ' v' . $applicationInstance->getAppVersion() . ' - ' . FrameworkBootstrap::getRequestInstance()->getRequestElement('mode') . ' daemon starting');
-               self::createDebugInstance(__CLASS__)->debugOutput('Copyright (c) 2015, 2016 City Developer Team');
+               self::createDebugInstance(__CLASS__)->debugOutput('Copyright (c) 2015 - 2023 City Developer Team');
                self::createDebugInstance(__CLASS__)->debugOutput(' ');
                self::createDebugInstance(__CLASS__)->debugOutput('This program comes with ABSOLUTELY NO WARRANTY; for details see docs/COPYING.');
                self::createDebugInstance(__CLASS__)->debugOutput('This is free software, and you are welcome to redistribute it under certain');
@@ -252,7 +252,7 @@ abstract class BaseCityDaemon extends BaseCitySystem implements Updateable, Adda
                                // Output warning message
                                /* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CITY[' . __METHOD__ . ':' . __LINE__ . ']: addArrayToDataSet(): Element ' . $element . ' not found in CityData array.');
                        }
-               } // END - foreac
+               }
        }
 
        /**
index 167ac8f920a411d03204218b295d26b2e60385a9..a2c693a35d53e6cb1ef8937a9e43eb9c2014b05f 100644 (file)
@@ -19,7 +19,7 @@ use Org\Mxchange\CoreFramework\Request\Requestable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 69af380686c82bf89aa8c711d74fd7ca800728f1..4a9e1956612fbf3c27062d11ef4c06788d739c94 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Generic\BaseCitySystem;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index a3c6bd4060abc809ab8e4ed14fb07ff6a631a76d..14d4d5425962d25e98aba1175b1b9bebe567bfa5 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Generic\BaseCitySystem;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 13d1a29e50a0a314fc42606ee5fb83882f6f62c5..16c92fb603caf60029e8806f40462def9a0d9bc0 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index df6f1e3bfd7cd6628f686ba5e501ed71cac60cc9..546bb29703f50d2578572947833024b94b8ca661 100644 (file)
@@ -21,7 +21,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -116,7 +116,7 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable {
                while (($cityInstance->isCityActive()) && ($handlerInstance->hasTasksLeft())) {
                        // Handle all tasks here
                        $handlerInstance->handleTasks();
-               } // END - while
+               }
 
                // Debug message
                self::createDebugInstance(__CLASS__)->debugOutput('MAIN: --- Leaving main loop. ---');
index e95e23d842a24eabe4875325711a09e35d2ae067..96d65a8d495ecd88f7f11089a603d24c9114e40b 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index b265c0f24a7fe43b9d526520faa68faf4d1df7d2..841d916fb0f0bab7b588ef40e1de04e77aa67cb1 100644 (file)
@@ -20,7 +20,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 99c6b2f1b3e0623a0cf2effe892629f5c4a04a69..a809f2c33dcd193b9d9721c5c25cdc9f7afda6d2 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 45341d42ae3fa58ab809d19e3c7ad5904d672560..fb646872cb02c688e8dd737cd5c861d8e0d6ccc3 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index f8a5a8558d1d736b8695505c3e3544d62e9963db..77b3d41d44f3f9dc0fbffa10f905db6333d18689 100644 (file)
@@ -21,7 +21,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 841a9951af7d5dc66712630dcb1952c515a4bdb0..3f7c16c100aea9510d0c51aece6def669d974d66 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 9c9b72cf254a995dd60b442dd722e962c69f65f0..552fb8be98b7f2d4a19ff9268ccdc54935e58a05 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -75,8 +75,8 @@ class CityHtmlHomeCommand extends BaseCommand implements Commandable {
                        $response->sendRequestMethodNotAllowed();
 
                        // Bail out
-                       exit();
-               } // END - if
+                       exit;
+               }
 
                /*
                 * This is a generic HTML request, this means that a regular page with
index d4f5a9f0bc8e178e09655fc252cda6d0b3c5811e..d48e4af7f8eb753cc756041673ceb847040d3185 100644 (file)
@@ -17,7 +17,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -94,7 +94,7 @@ class CityHtmlLoginAreaCommand extends BaseCommand implements Commandable {
                if ($actionInstance instanceof PerformableAction) {
                        // Execute the action (shall not output anything, see below why)
                        $actionInstance->execute($requestInstance, $responseInstance);
-               } // END - if
+               }
 
                // Get the application instance
                $applicationInstance = ApplicationHelper::getSelfInstance();
@@ -193,7 +193,7 @@ class CityHtmlLoginAreaCommand extends BaseCommand implements Commandable {
                if ((is_string($actReq)) && (!empty($actReq))) {
                        // Then use it with prefix
                        $this->actionName = $this->convertDashesToUnderscores($applicationInstance->getAppShortName()) . '_login_' . $actReq;
-               } // END - if
+               }
 
                // Get a resolver
                $actionResolver = HtmlActionResolver::createHtmlActionResolver($this->actionName);
index e6852fe8103e3ced7a4b812fdbdff1c401783b60..42e1206615b92f8d571d56d7eddef4bf3b23e3d2 100644 (file)
@@ -20,7 +20,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 4ef43faf215b62a312b810708dbb64c454193ac0..5076e6797bff6568818e18c54d36ed1c33683bf0 100644 (file)
@@ -19,7 +19,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 5164679f3d38c9e93070b2141c70610e9123e75a..4ae62373fbe8771a10775a177e90ec830e5806da 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 1b366fbd06fa69158e0b9b26557eab5de97cda4d..32afecee3aaaee252f8828c1194ac47103955a31 100644 (file)
@@ -19,7 +19,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 13ddeb90274be858b008008c2f8810dbceaf70fb..160e9b3b9336cfc1dfd68dc189e94c4d2eb94ac2 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 972b8abce82acd8e13cc7d43437d2cc961a39b20..3893083a7b47e2dc4a848152db64a5054ec6495d 100644 (file)
@@ -20,7 +20,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index ab46954dd0a711203b420ebeb9e7ff45c7e8bd95..25b9c111715507d731256af3f4da2b7a57dd335b 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -44,9 +44,9 @@ class CityConsoleDefaultNewsController extends BaseController implements Control
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('bootstrap', 'activation','shutdown') as $filterChain) {
+               foreach (['bootstrap', 'activation', 'shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index 9f87eb7310eebaf44ba10599526378b9d0ca5323..7f30f82af046d73e085d52b721cd327882005966 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 437932624e53a7f8297bf2afd76cb9ea32813150..8bc890088a1c1086874ef1faa5a3cad5c1321e2b 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -43,9 +43,9 @@ class CityHtmlDefaultNewsController extends BaseController implements Controller
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index af170330f069a4c3219423775b9dbcd4cf602766..1f23d2b76503cc632ea5671d16c762c0348e3acf 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -43,9 +43,9 @@ class CityHtmlLoginController extends BaseController implements Controller {
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index 58816335e63b59585d02dc5a887a8a1ab06a5f1f..f9fe14c57b9714cfd816016c787f987ad40d87dd 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -42,9 +42,9 @@ class CityHtmlLoginFailedController extends BaseController implements Controller
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index a09ac8aef0a8b1e9ba52ce2aa67255c307a0686c..be68d8613cb22bbde94ef7b7e798e0318eb61272 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @todo               This controller shall still provide some headlines for sidebars
@@ -43,9 +43,9 @@ class CityHtmlLogoutController extends BaseController implements Controller {
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index b98695e284a0c7f50c75a8485987aaded671961b..585ca6e280b73c78c1753e8e6882722d365f928d 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -42,9 +42,9 @@ class CityHtmlLogoutDoneController extends BaseController implements Controller
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index fe6b17b3dc36cf855f60a2e9e7bee5c413c9d301..86fb90aac4e3778eb049e96eb778fb88b7536f2f 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -42,9 +42,9 @@ class CityHtmlRegisterController extends BaseController implements Controller {
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index 5213548096535138aa9a04e8fe11f21cd4788fa1..3bc9d0a5c3bccbe8e55051a29f7a27c7c888a68e 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -42,9 +42,9 @@ class CityHtmlDoFormController extends BaseController implements Controller {
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
@@ -106,7 +106,7 @@ class CityHtmlDoFormController extends BaseController implements Controller {
 
                        // Execute *very* generic ppost filters
                        $this->executePostFilters($requestInstance, $responseInstance);
-               } // END - if
+               }
 
                // Flush the buffer out
                $responseInstance->flushBuffer();
index 87acb0e61788fef5ae23c45103a2d8480ec4e171..eab271246647eba851c6e3006feab88cdd89a49c 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -43,9 +43,9 @@ class CityHtmlLoginAreaController extends BaseController implements Controller {
                parent::__construct(__CLASS__);
 
                // Init additional filter chains
-               foreach (array('shutdown') as $filterChain) {
+               foreach (['shutdown'] as $filterChain) {
                        $this->initFilterChain($filterChain);
-               } // END - foreach
+               }
        }
 
        /**
index 77e4e5b181c8f11d93d9668ac52aaed066d24878..b643401be8362c1eb6fcd9ddf95bdca7f10fe477 100644 (file)
@@ -20,7 +20,7 @@ use Org\Mxchange\CoreFramework\Request\Requestable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -264,7 +264,7 @@ class CityInformationDatabaseFrontend extends BaseDatabaseFrontend implements Ci
                if ($resultInstance->count() == 0) {
                        // Nothing found
                        return $cityIds;
-               } // END - if
+               }
 
                // Now get all 'city_id' columns
                while ($resultInstance->next()) {
@@ -276,7 +276,7 @@ class CityInformationDatabaseFrontend extends BaseDatabaseFrontend implements Ci
 
                        // Add it to the array
                        array_push($cityIds, $current[self::DB_COLUMN_CITY_ID]);
-               } // END - while
+               }
 
                // Return result
                return $cityIds;
index 7d78471b5793fb9d52a0994117ebc5513b7a2dfd..dcd474ac692caadf34f440f0ca228d780cbd86dd 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 90596875446b87b1693b7e850d07e5a18f8ed340..a7194910d5368952b6c91a0f23c27249176e7537 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 4044201b3153414b9e5ae435d1cb0fa606734cbd..f8608118d05fbbde90d3680763241cc67b1f2561 100644 (file)
@@ -6,8 +6,12 @@ namespace Org\Mxchange\City\Database\Frontend\Sections;
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Database\Frontend\BaseDatabaseFrontend;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
+// Import SPL stuff
+use \InvalidArgumentException;
+
 /**
  * A database frontend for city sections. Sections are the smalles entity of a
  * city. They can be connected with each other and form a lot. Therefore only
@@ -21,7 +25,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -122,8 +126,16 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
         *
         * @param       $cityId         City id to check
         * @return      $isFound        Whether the city id is found
+        * @throws      InvalidArgumentException        If a parameter as an invalid value
         */
        public function ifCityHasSections (int $cityId) {
+               // Check parameter
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('CITY-SECTIONS-DATABASE-FRONTEND: cityId=%d - CALLED!', $cityId));
+               if ($cityId < 1) {
+                       // Throw IAE
+                       throw new InvalidArgumentException(sprintf('cityId=%d is not a valid id', $cityId), FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
+               }
+
                // Get search instance
                $searchInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
 
@@ -140,9 +152,11 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
                $resultInstance = $this->doSelectByCriteria($searchInstance);
 
                // Check if there is one entry
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('CITY-SECTIONS-DATABASE-FRONTEND: resultInstance=%s', $resultInstance->__toString()));
                $isFound = $resultInstance->next();
 
                // Return result
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('CITY-SECTIONS-DATABASE-FRONTEND: isFound=%d - EXIT!', intval($isFound)));
                return $isFound;
        }
 
@@ -151,11 +165,20 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
         *
         * @param       $cityId         City id to check
         * @return      $ids            Sections ids from initial expansion
+        * @throws      InvalidArgumentException        If a parameter as an invalid value
+        * @throws      BadMethodCallException  If the city has already sections but this method was invoked
         * @todo        Add handling of water types to make a more cooler map
         */
        public function doInitialCityExpansion (int $cityId) {
-               // Make sure this city has no sections
-               assert(!$this->ifCityHasSections($cityId));
+               // Check parameter
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('CITY-SECTIONS-DATABASE-FRONTEND: cityId=%d - CALLED!', $cityId));
+               if ($cityId < 1) {
+                       // Throw IAE
+                       throw new InvalidArgumentException(sprintf('cityId=%d is not a valid id', $cityId), FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
+               } elseif ($this->ifCityHasSections($cityId)) {
+                       // Already has sections
+                       throw new BadMethodCallException(sprintf('cityId=%d has already sections', $cityId), FrameworkInterface::EXCEPTION_BAD_METHOD_CALL);
+               }
 
                /*
                 * "Cache" max "radius" for initial city expansion. It is not a real
@@ -175,10 +198,8 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
                // Calculate total sections
                $totalSections = (($radius + 1) * ($radius + 1) * $maxUp * ($maxDown + 1));
 
-               // Debug message:
-               /* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: radius=' . $radius . ',maxUp=' . $maxUp . ',maxDown=' . $maxDown . ',totalSections=' . $totalSections);
-
                // Get data set instance
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('CITY-SECTIONS-DATABASE-FRONTEND: radius=%d,maxUp=%d,maxDown=%d,totalSections=%d', $radius, $maxUp, $maxDown, $totalSections));
                $dataSetInstance = ObjectFactory::createObjectByConfiguredName('dataset_criteria_class', array(self::DB_TABLE_CITY_SECTIONS));
 
                // Add values for "zero point"
@@ -199,7 +220,7 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
                $dataSetInstance->addCriteria(self::DB_COLUMN_SECTION_RESERVED          , self::IS_NOT_RESERVED);
 
                // Set primary key to 'city_id'/'section_id'
-               $dataSetInstance->setPrimaryKeyCombined(array(self::DB_COLUMN_CITY_ID, self::DB_COLUMN_SECTION_ID));
+               $dataSetInstance->setPrimaryKeyCombined([self::DB_COLUMN_CITY_ID, self::DB_COLUMN_SECTION_ID]);
 
                // Entry id for counting each entry
                $dataSetInstance->setUniqueKey(self::DB_COLUMN_ENTRY_ID);
@@ -208,10 +229,10 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
                $this->queryInsertDataSet($dataSetInstance);
 
                // Set section id to 2 as 1 is already initialized + init array
-               $sections = array();
+               $sections = [];
 
                // Output message to ask for user's patience ...
-               self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Writing ' . $totalSections . ' sections for city ' . $cityId . ' ... (this may takes some time)');
+               self::createDebugInstance(__CLASS__)->debugOutput(sprintf('CITY-SECTIONS-DATABASE-FRONTEND: Writing %d sections for city %d ... (this may takes some time)', $totalSections, $cityId));
 
                // Expand half of it to north/south (north=positive, south=negative)
                for ($north = 1; $north < round($radius / 2); $north++) {
@@ -219,19 +240,17 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
                        for ($west = 1; $west < round($radius / 2); $west++) {
                                // Expand up/down (including "zero point")
                                for ($z = $maxDown; $z < ($maxUp + 1); $z++) {
-                                       // Debug message
-                                       //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: north=' . $north . ',west=' . $west . ',z=' . $z);
-
                                        // Fill array up with south/east/down ids
+                                       //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: north=' . $north . ',west=' . $west . ',z=' . $z);
                                        $sections[($north * -1)][($west * -1)][$z]['type'] = self::SECTION_TYPE_EMPTY_LAND;
                                        $sections[($north * -1)][($west * -1)][$z]['sub']  = self::SECTION_SUB_TYPE_GRASS;
 
                                        // Fill up array with north/west/up ids (only air)
                                        $sections[$north][$west][$z]['type'] = self::SECTION_TYPE_AIR;
                                        $sections[$north][$west][$z]['sub']  = self::SECTION_SUB_TYPE_AIR;
-                               } // END - for
-                       } // END - for
-               } // END - for
+                               }
+                       }
+               }
 
                // Init section id with 2 as 1 is the "zero point"
                $sectionId = 2;
@@ -242,10 +261,8 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
                        foreach ($sectionX as $y => $sectionY) {
                                // Loop through up/down values
                                foreach ($sectionY as $z => $sectionData) {
-                                       // Debug message
-                                       //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: x=' . $x . ',y=' . $y . ',z=' . $z . ',sectionId=' . $sectionId);
-
                                        // Set all coordinates for positive directions
+                                       //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: x=' . $x . ',y=' . $y . ',z=' . $z . ',sectionId=' . $sectionId);
                                        $dataSetInstance->setCriteria(self::DB_COLUMN_SECTION_ID        , $sectionId);
                                        $dataSetInstance->setCriteria(self::DB_COLUMN_SECTION_POSITION_X, $x);
                                        $dataSetInstance->setCriteria(self::DB_COLUMN_SECTION_POSITION_Y, $y);
@@ -258,15 +275,15 @@ class CitySectionsDatabaseFrontend extends BaseDatabaseFrontend implements CityS
 
                                        // Count id up
                                        $sectionId++;
-                               } // END - foreach
+                               }
 
                                // Debug message
                                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: x=' . $x . ',y=' . $y . ' has been written.');
-                       } // END - foreach
+                       }
 
                        // Debug message
                        //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: x=' . $x . ' has been written.');
-               } // END - foreach
+               }
 
                // Thank you for waiting! :-)
                self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: A total of ' . $totalSections . ' sections has been written for city id ' . $cityId . '.');
index 956cac2822bc2c5cce1ca3db6f24dfa253b54d2a..16508f8f89e0372e2ce459049a5706775713688f 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 6990652795a89f00a1a718ec2cff5c85b54eee91..83de450e13ca1342d65b677999223d8c77ab2977 100644 (file)
@@ -22,7 +22,7 @@ use \BadMethodCallException;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 1b50f562647fcca4fb56d8cde6ff666e213fba25..3b35fe6a3e4225540450778ef0fe1a610d443289 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 3984b23da5f6c4a336769578b4ea67acb28fd8c1..bbe7c7e2ac0d5372c27fb46cf0249d891ec06700 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index f07b6c8a0513d72ddbeb59b6645690ad0e5df2e3..f9b5a83bd176acb0b4e9b62018645388629ac352 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index f87426f8e21b73cc035e4c34f1e7f1120562e10d..3ae6a87b9e5a4136cc3724691008973914aac220 100644 (file)
@@ -17,7 +17,7 @@ use \InvalidArgumentException;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 1ee22ac5c2cbfb105d00ada5a0610953bedd35d3..0bf725527fc402b98573093aa003ae80fb135934 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 6c9a3ab12a2f968735e9c7091158034ca503d73c..18a179f6f095b2fc93f73d9f2b8951da94cde853 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 6eff2c20864368830b5b630fd7b366a6c6873366..35432e665ee1df15aaf60d5e2bbd7a0df3c9ccdb 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 52c414415c3b986c326c78bc31bf9ac7fe94b47e..7cad5a6e6789289aca2bcfb3af83f6d33da7e85c 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 78c879055dc7cf37529d2f2aeb3824c49bdad483..54b194fb2561dded0540f6bec32f5a95622a2069 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 6358a46db3a7b9377322c8539084fbfeff19190c..045772210764c76a3a0c7bd5fd3c69cdf92d5b94 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -75,6 +75,6 @@ class CityDaemonPhpRequirementsFilter extends BaseCityFilter implements Filterab
                if ($checkPassed === FALSE) {
                        // Throw an exception
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - if
+               }
        }
 }
index 09c438621d65c4bc6b653623b86f2ebebbe50a85..2f11dc7a1a9a03b4e1bcb5fb507741fcaa88f603 100644 (file)
@@ -17,7 +17,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index ef289471d4ffb76fabb73a180215ac745181303e..854312f4a6ac609651470ae1b3a4f6665ec580b1 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 9d35f48599ee90a2ca54558ac652b9db6f178a59..6972b7ffaa7a3f89612ab4585ea56ddabe718616 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -63,7 +63,7 @@ abstract class BaseCityFilter extends BaseFilter {
         * @return      void
         * @todo        Exceptions from renderXmlContent() are currently unhandled
         */
-       protected function genericProcessMessage ($messageType, $messageContent, Receivable $packageInstance) {
+       protected function genericProcessMessage (string $messageType, string $messageContent, Receivable $packageInstance) {
                // Get a template instance from the factory
                $templateInstance = XmlTemplateEngineFactory::createXmlTemplateEngineInstance('city_' . $messageType . '_template_class');
 
@@ -93,14 +93,14 @@ abstract class BaseCityFilter extends BaseFilter {
 
                                // Skip this part, don't write NULLs to the array
                                continue;
-                       } // END - if
+                       }
 
                        // Debug message
                        //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(str_replace('_', '-', strtoupper($messageType)) . '-TAG: key=' . $key . ',value=' . $value);
 
                        // Set it now
                        $this->dataXmlNodes[$key] = $value;
-               } // END - foreach
+               }
 
                // Construct an array for pushing it on next stack
                $messageArray = array(
index 59333c9e801f2224d1dfc986feaba1fc74adc694..2d77c2045648766f58610e228555847677ebf5b2 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 61700e39338399c759529d3395b5c6f31cd8caca..bb70af186dbdb61f071847633f46e8113ac896ae 100644 (file)
@@ -18,7 +18,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index dd7e376ec9f76cee2e205f4255f4b0b03bb2d8cb..f577159ffe9d8ec3390cc9bdf9ad75d3660c4d23 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index aa7e874b1ca5ea6d271b264f5fa083c75a628c08..efafcc64c980eeb484876307a8090c77245a9f61 100644 (file)
@@ -18,7 +18,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 97e3026994a2774b50aa4da74a48aba9d25fa628..1c9feb86f6f92f7739141030c6b18cd4da7af011 100644 (file)
@@ -20,7 +20,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 775b8abc65659ac2da75d50345f58be7ffa61483..de877222bcb7df5d2631261b7fdd74bc099ac374 100644 (file)
@@ -18,7 +18,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -86,7 +86,7 @@ class CityGuestLogin extends BaseFrameworkSystem implements LoginableUser, Regis
                if ($userInstance->ifPasswordHashMatches($requestInstance) === FALSE) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
-               } // END - if
+               }
 
                // Now do the real login. This can be cookie- or session-based login
                // which depends on the admins setting then on the user's taste.
@@ -146,6 +146,6 @@ class CityGuestLogin extends BaseFrameworkSystem implements LoginableUser, Regis
 
                        // Store the hash back in request
                        FrameworkBootstrap::getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
-               } // END - if
+               }
        }
 }
index 873946e6d4417bace817c11ec08005dcfb05fbbd..8ab2a45e1ac97c65878c01794690eab13d8bf26b 100644 (file)
@@ -18,7 +18,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -89,7 +89,7 @@ class CityUserLogin extends BaseFrameworkSystem implements LoginableUser, Regist
                if ($userInstance->ifPasswordHashMatches($requestInstance) === FALSE) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
-               } // END - if
+               }
 
                // @TODO What else?
 
@@ -154,6 +154,6 @@ class CityUserLogin extends BaseFrameworkSystem implements LoginableUser, Regist
 
                        // Store the hash back in request
                        FrameworkBootstrap::getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
-               } // END - if
+               }
        }
 }
index 65f92baab62ad53c3fd03f3c00df18176c51a48f..45dad3da9904c230d7a42d6ede7e6bb6cd27b9d0 100644 (file)
@@ -26,7 +26,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -80,7 +80,7 @@ class CityLoginHelper extends BaseLoginHelper implements HelpableLogin {
                if (!$userInstance instanceof ManageableAccount) {
                        // Thrown an exception here
                        throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER);
-               } // END - if
+               }
 
                // Set default login method from config
                $helperInstance->setDefaultAuthMethod();
index 0a962d4658f5a0e9e43fa0c8eb6629195e27675f..7635b16e48269b993a9d0e338991bc29b6b015b3 100644 (file)
@@ -17,7 +17,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index b4b26fa878f43cb38b3b1202da9c7c79af9dd4bd..2d8a087fe6f8146bbf58ba5c319cf3037291e059 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 8090ed0bf4b6c74d8e2cebd74b7fd049876c924f..3e74efca2e1343ccb69c79a9f5f7814826578770 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index d9144a81cfa61dbd848edd226c34fb43a7fec3c9..211aeb89590e269c7a01b2a77182d5712d1530cb 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -75,7 +75,7 @@ class CitySectionsManager extends BaseManager implements ManageableCitySections,
                if ($this->getFrontendInstance()->countTotalRows() == 0) {
                        // This definedly requires expansion
                        $requireExpansion = TRUE;
-               } // END - if
+               }
 
                // Return status
                return $requireExpansion;
@@ -104,6 +104,6 @@ class CitySectionsManager extends BaseManager implements ManageableCitySections,
                        } else {
                                // @TODO Maybe some expansion is needed
                        }
-               } // END - foreach
+               }
        }
 }
index a8cb29298c8fff7cb4cf91bbfcf4c9e48a453e2f..e35c2d7294bb2137dc618094b2ed5304e7fcb70f 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 251f2656c3910da5c2467fb6b3455f8b2c51563a..7301cfeca228d631667e991957ee524a9e278152 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Traits\Database\Frontend\DatabaseFrontendTrait;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index aa2ae4c9c0a0e8ede1c1f17e984925d18cd4f37e..a828d188934b8b421e62474d1b7f7beb2e1eb260 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Factory\Database\Frontend\DatabaseFrontendFactory
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index b5cfaf143620155e47aa73d1ef5292942d0fd892..37314a28c3e699fbad56b9ff686bf1822934657d 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Factory\Database\Frontend\DatabaseFrontendFactory
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 1e3b774ef63c10bcc08eeb8a86bf0a0e4a07d1a7..6534db574067decb4305f00711bc7888c948b69f 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Factory\Database\Frontend\DatabaseFrontendFactory
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 84450b4765e3ef43ba46e4e2fc19265ba1a2475c..9be658b5fb0cc30c6f7283d6d34d5fd1601e1817 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index f4646ae094a634ace474b984846f6a85db0aa8f5..79dbf16fa1b369d35964dc0dc5a9a9ce11514804 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index c9ed8aa85c6c4d29794509c9530e9f5e9d090714..0bd61bc32c02d4e1018e41515381885c96e2a9f4 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index f14095eebb7c0ca8bd86bdb0778ab2e8997611a5..766662633d60407d9df8f666cc02084fb0867b18 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index fa17bfa7db331fa0eb0fab72f0c049295c0e9198..54cb87b0a4f87a7743eea2ccf11009875895dfbd 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index f99c2734ab1ad3c31bbe36aab593e8572b1577a8..de5969228a729ad4fe0f4dbce225bb2d0f4901a9 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index f08c2a1f734309e988fab6ec2e8c8113e1576219..d01e1349bc2700eca81c040706a47027be391925 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 4be38c2b41b8369a0aa81d038a11fe0de46e29e6..5e35015c9e2bdb9776212d9d846508b84245dccb 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index c0e4b98f031cf81e2fde49f38b3d4a1f64b5576e..569db0dcccd7f57479b71c1d9fa73452c7a88a50 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 830f6767e83d37682e5186041803f56789cef0fc..7308a522c50aba04b036ad1541fbfb7f2355d458 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Menu\RenderableMenu;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 18f47ba793a525b51adf749ab1a0cb793a915b90..0400ef9e5d575c611f7cb449efa734f298503a0e 100644 (file)
@@ -17,7 +17,7 @@ use Org\Mxchange\CoreFramework\Request\Requestable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -180,7 +180,7 @@ class CityRegistration extends BaseRegistration implements UserRegister {
                if (FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('confirm_email_enabled') === 'N') {
                        // No confirmation of email needed
                        $configEntry = 'user_status_confirmed';
-               } // END - if
+               }
 
                // Add a lot elements to the dataset criteria
                foreach ($this->criteriaElements as $alias => $element) {
@@ -203,8 +203,8 @@ class CityRegistration extends BaseRegistration implements UserRegister {
                        if ((($element == 'username') || ($alias == 'username')) && (FrameworkBootstrap::getRequestInstance()->getRequestElement($element) == FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('guest_login_user'))) {
                                // Yes, then set the config entry to guest status
                                $configEntry = 'user_status_guest';
-                       } // END - if
-               } // END - foreach
+                       }
+               }
 
                // Mark the username as unique key
                $criteriaInstance->setUniqueKey(UserDatabaseFrontend::DB_COLUMN_USERNAME);
index 308955557af5f484cfd22e737dcaa2936f153b22..473dd683f53f35a6d474903e9fc5a0f64bc48296 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 4b7cac4842ed250f456999284f0f1b6af4e331ce..52abef85647c2c7cec0e8a1085affe745bdaa32d 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 4093a2d29ca0cc2955f284590ccf83de7f7d5416..8d34fca091fe6ae8ca22f222b3fc9be748988cf6 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Resolver\Controller\ControllerResolver;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index d522506766ecad50b3700e010c8a2255e191501b..dc5d55bb7343cb46bf53053760c32c8258c446ba 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Resolver\Controller\ControllerResolver;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index ebdca5b59cd7ddf5e99c0153b87a14c86dff5e90..492d704c54dfcd8022e661b3b8c7f8332bb3e1c8 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Resolver\Controller\ControllerResolver;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 0b8b1aebf2e559725beffc5d6e805f0d7d940ff8..4cc5da140aff1d20c9a1779d02a8de944cc02b44 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\State\Stateable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 333ef1ec52c012701d37c822365c5221c2fa75af..bffd03ed7385dc9a5cefe0f1012ecb8dc5cf921c 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\State\Stateable;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index 0394e005faa3a6fc1026bee27c5eebcf11de2cfd..86480f9053e59c1b9058ff8369618fd41b793198 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -54,7 +54,7 @@ abstract class BaseCityState extends BaseState {
                if (!$this instanceof CityActiveState) {
                        // Throw the exception
                        throw new UnexpectedStateException($this, self::EXCEPTION_INVALID_STATE);
-               } // END - if
+               }
        }
 
        /**
@@ -69,6 +69,6 @@ abstract class BaseCityState extends BaseState {
                if (!$this instanceof CityInitState) {
                        // Throw the exception
                        throw new UnexpectedStateException($this, self::EXCEPTION_INVALID_STATE);
-               } // END - if
+               }
        }
 }
index fe74f656fec5cb79cc02b9fb47957d3e66cdf0a6..cf422ca5c166316e10114c2f00e06f97e55a194f 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\State\Stateable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 55eb89ecf5f78b66b57caf70eed9e2ddbc647f43..46136e1e9f021c0017104efbaf939a248b183ebc 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Task\BaseTask;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index ee4a3bf0bc05db7724a27ef39dab18bebbdd25ad..58609c6086516604fa0704335830428e092633cc 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Visitor\Visitor;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -89,7 +89,7 @@ class CityDaemonBuildingGrowthTask extends BaseCityTask implements Taskable, Vis
                if ($cityInstance->isBuildingPendingExpansion()) {
                        // Expand the building
                        $cityInstance->expandBuildings();
-               } // END - if
+               }
        }
 
        /**
index 073f377dbe4086b73235ef95f4324e2907b3dddf..ed0789cd1f3c66cf8a646dda7f82c82608b09063 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Visitor\Visitor;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
index d2d514d7af6d0fbc37958cee90757eadd6d4c268..c7444508a5162b19ef2db5abfbe30760dc3c7426 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Visitor\Visitor;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -89,7 +89,7 @@ class CityDaemonHouseholdGrowthTask extends BaseCityTask implements Taskable, Vi
                if ($cityInstance->isHouseholdPendingExpansion()) {
                        // Expand the house hold
                        $cityInstance->expandHouseholds();
-               } // END - if
+               }
        }
 
        /**
index 41b51e9810b453f57b6120d0b5e284c79ee6b9e4..e589ee16ced055dcbd4dc6319015ffc0be779533 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Visitor\Visitor;
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -89,7 +89,7 @@ class CityDaemonMapExpanderTask extends BaseCityTask implements Taskable, Visita
                if ($cityInstance->isMapPendingExpansion()) {
                        // Expand the map
                        $cityInstance->expandMaps();
-               } // END - if
+               }
        }
 
        /**
index ac4c73cfcab471e5fa61c8c6e6d71209f0127bc7..6fd4e38700690c7a8d2575aa119255c4c8d24764 100644 (file)
@@ -7,7 +7,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
index 9aa93462c69efbd471264dd928ded4127b4bd858..f647f613dc75ed5a35c75a55c2dd4665354d9aa2 100644 (file)
@@ -7,7 +7,7 @@ use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
index 76a13390809712cf4d5e5d5286485a491646ec60..c3957167f677b037cb6397e81f0862e9bb61deb2 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
index 9bdbb446e5e4d94bb21194b63a535cbf6a388e8c..f548876ee45d3908e22818eaa9852a24f03959b3 100644 (file)
@@ -44,7 +44,7 @@ function city_exception_handler ($exceptionInstance) {
                                // Convert arguments type into human-readable
                                foreach ($traceArray['args'] as $arg) {
                                        $argsString .= ', ' . gettype($arg);
-                               } // END - foreach
+                               }
                                $argsString = substr($argsString, 2);
                        }
 
@@ -67,7 +67,7 @@ Line   : %d\n",
                                basename($traceArray['file']),
                                $traceArray['line']
                        );
-               } // END - foreach
+               }
 
                // Construct the message
                $message = sprintf("--------------------------------------------------------------------------------
@@ -117,14 +117,14 @@ function city_error_handler ($errno, $errstr, $errfile, $errline, array $errcont
 
        // Throw an exception here
        throw new FatalErrorException($message, BaseFrameworkSystem::EXCEPTION_FATAL_ERROR);
-} // END - function
+}
 
 // Assertion handler
-function city_assert_handler ($file, $line, $code) {
+function city_assert_handler (string $file, int $line, int $code) {
        // Empty code?
        if ($code === '') {
                $code = '<em>Unknown</em>';
-       } // END - if
+       }
 
        // Create message
        $message = sprintf('File: %s, Line: %s, Code: %s',
@@ -138,7 +138,7 @@ function city_assert_handler ($file, $line, $code) {
 
        // Throw an exception here
        throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);
-} // END - function
+}
 
 // Set error handler
 //set_error_handler('city_error_handler');
index 153245eae9d139660f353bcadb5dbf2685095916..77d95cc4f983715e89c0fd512fc5bbaa4318b704 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Request\Requestable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 383e138dc8a356d5668e4cda61093cd0b3728402..d6f8dff0f6bd73a674cd45e4ef3d27492f647742 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\DatabaseFrontend;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 41e2d28f70cc540bb8d45f338c27ed6752624019..9b9c5ce91c721cfbba8888b675cb7d05cda53d19 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\DatabaseFrontend;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index f1bfd375777a63037d4bede7efa9df2c8323ad6d..147bd4cae2d9fd850054f4a6c4223abb888204bc 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\DatabaseFrontend;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 8882a071acd6c62c17c1f0345ea795c78e3b30d1..d75876d7f44f92ddfd4dcc75af246f6e12621add 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\DatabaseFrontend;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 7a9d9bac4dfdc6f50c1a0d0c9703568aca3eea44..863c1ddb15abcbda8766184a8a4ffefb8d1172fb 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\DatabaseFrontend;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 7624732f524b97bca8596ee66f4c61720d5a7206..315e75c6b7db738ca510575652fa9a997e9192bd 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\DatabaseFrontend;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index d5227be4d38ffd9ea944d5521756924ccbaef452..e7bd0b6f6583d0c6a7b2162a9a3c3aac07a09891 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 6fe4dfc9b32608d9382756ca002fb56abaa659d8..2c21074489e11e6dcca42409bfa2c01c35941924 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Manageable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 22be45f1fbc45e333bee45e011d1295d67900da1..0b4f2b34a1d63d4bd08536693712f2e7ed3eea6c 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Manageable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index cfaf9eb92e0cabf0b152178aed0147e0dc610f0e..7c483a13451c5c72fe97fad112d282bc88bf4299 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Entities\ManageableCityEntities;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index c48102f8db3107a8b0c3bd23e5033b5062d823b9..1aac720ab4132574bad05e2d067ac34bac67b38d 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Entities\ManageableCityEntities;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index ad0d70bd0d9657dc1d5a203a525a521ad27d30fe..9226754c1a909ec85d2be0b2271b5b81ad8eb135 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Entities\ManageableCityEntities;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index ca959261c95f8467af54630ed2ed9033af553553..68ca92e2e554aeb3d1d57f6e4be3609bece65216 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 76a12fef350a45384fc073b1861b37edbb31cd63..5ca9d5e2af22e055ee8e787fd6734f26f9fea22e 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Manageable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 8923c558d6155ec952fa61f202ae096f114d10a3..47ed57b6c8e6d43a4d3cf9474ea0f9badce18a76 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\City\Manager\Manageable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015, 2016 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
index 935fb1b11699f2158eac905f361f77aa58ca14f5..8791c147b5f19d6be731ed8729379c7356e7978b 100644 (file)
@@ -4,7 +4,7 @@ A general menu XML file. This should be later converted to a DTD.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2015, 2016 City Developer Team
+@copyright     Copyright (c) 2015 - 2023 City Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
index 532280905f4085abd35efb77f85cc7b1557dc786..b4e7d8bc89460e7071a4e45d5a7141a6b7d796c2 100644 (file)
@@ -4,7 +4,7 @@ Generic menu entries. You should not touch this template for smooth upgrades.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2015, 2016 City Developer Team
+@copyright     Copyright (c) 2015 - 2023 City Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
index 57d79c85bbb15966a3c166b268a1102c9d6b31b2..c5bac685e0846a31b11ea172bd37c9647ac15b53 100644 (file)
@@ -4,7 +4,7 @@ Login area menu entries. You should not touch this template for smooth upgrades.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2015, 2016 City Developer Team
+@copyright     Copyright (c) 2015 - 2023 City Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
diff --git a/contrib/update_year.sh b/contrib/update_year.sh
new file mode 100755 (executable)
index 0000000..d141f33
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Really lame ...
+find */ -type f -print0 | xargs -0 sed -i 's/2023 City/2024 City/g'
diff --git a/core b/core
index c20af2b1b05f92040a8cfabfb1d0c5cd2771f7c5..027c5659e968546a21be37e70d700c7e14cba993 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit c20af2b1b05f92040a8cfabfb1d0c5cd2771f7c5
+Subproject commit 027c5659e968546a21be37e70d700c7e14cba993