From 5e0676edaa5e4de7c1eac0706b36a6b0505d9845 Mon Sep 17 00:00:00 2001
From: Thomas Steur <tsteur@users.noreply.github.com>
Date: Fri, 13 Nov 2015 08:55:41 +1300
Subject: [PATCH] Do not automatically convert first character to uppercase as
 a plugin does not have to start with uppercase

---
 plugins/CoreConsole/Commands/GeneratePluginBase.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/CoreConsole/Commands/GeneratePluginBase.php b/plugins/CoreConsole/Commands/GeneratePluginBase.php
index c3fce493dc..9012839943 100644
--- a/plugins/CoreConsole/Commands/GeneratePluginBase.php
+++ b/plugins/CoreConsole/Commands/GeneratePluginBase.php
@@ -31,7 +31,7 @@ abstract class GeneratePluginBase extends ConsoleCommand
 
     private function getRelativePluginPath($pluginName)
     {
-        return '/plugins/' . ucfirst($pluginName);
+        return '/plugins/' . $pluginName;
     }
 
     private function createFolderWithinPluginIfNotExists($pluginNameOrCore, $folder)
@@ -325,8 +325,6 @@ abstract class GeneratePluginBase extends ConsoleCommand
             $validate($pluginName);
         }
 
-        $pluginName = ucfirst($pluginName);
-
         return $pluginName;
     }
 
-- 
GitLab