From 821c9c550baef753deebd2ec79789ff632868953 Mon Sep 17 00:00:00 2001 From: Dylan T Date: Wed, 19 May 2021 00:48:25 +0100 Subject: [PATCH] github web editor sucks --- changelogs/4.0-snapshot.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/changelogs/4.0-snapshot.md b/changelogs/4.0-snapshot.md index ae880b7258..a8da1fce00 100644 --- a/changelogs/4.0-snapshot.md +++ b/changelogs/4.0-snapshot.md @@ -183,9 +183,9 @@ For example, a plugin whose main was `pmmp\TesterPlugin\Main` used to have to be |-- pmmp/ |-- TesterPlugin/ |-- Main.php - |-- SomeOtherClass.php - |-- SomeNamespace/ - |-- SomeNamespacedClass.php + |-- SomeOtherClass.php + |-- SomeNamespace/ + |-- SomeNamespacedClass.php ``` However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml`, now we can get rid of the useless directories and structure it like this instead: ``` @@ -193,7 +193,7 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml` |-- src/ |-- Main.php |-- SomeOtherClass.php - |-- SomeNamespace/ + |-- SomeNamespace/ |-- SomeNamespacedClass.php ```