diff --git a/CHANGELOG.md b/CHANGELOG.md index a12e8d8..65bdb67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). - Composer script for PHP linting ### Changed +- Convert the PHP namespaces to "TTN" (#8) - Update the contact email in the CoC document (#6) - Switch to the `TTN` PHP vendor namespace (#1, #5) - Sort the Composer dependencies diff --git a/Classes/Controller/TeaController.php b/Classes/Controller/TeaController.php index ab0d46e..4282dd0 100644 --- a/Classes/Controller/TeaController.php +++ b/Classes/Controller/TeaController.php @@ -1,10 +1,10 @@ 'TYPO3 Trainer Network', 'autoload' => [ 'psr-4' => [ - 'OliverKlee\\Tea\\' => 'Classes/', + 'TTN\\Tea\\' => 'Classes/', ], ], 'autoload-dev' => [ 'psr-4' => [ - 'OliverKlee\\Tea\\Tests\\' => 'Tests/', + 'TTN\\Tea\\Tests\\' => 'Tests/', ], ], ]; diff --git a/ext_localconf.php b/ext_localconf.php index 749e7fe..5f27f81 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -2,7 +2,7 @@ // This makes the plugin available for front-end rendering. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( // extension name, exactly matching the PHP namespaces (vendor and product) - 'OliverKlee.Tea', + 'TTN.Tea', // arbitrary, but unique plugin name (not visible in the BE) 'Tea', // all actions