From 795cf91138e00da9ac2f88eb8362549b0a3427ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20B=C3=A9jean?= <nicolas@bejean.fr>
Date: Sat, 30 Sep 2023 10:26:47 +0200
Subject: [PATCH] feat: rename module

---
 CHANGELOG.md     | 7 ++++++-
 README.md        | 8 ++++----
 composer.json    | 4 ++--
 etc/module.xml   | 2 +-
 registration.php | 2 +-
 5 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1386815..362a7cf 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
 # Changelog
 
+
+## [1.3.6] - 2023-09-30
+### Changed
+- Rename module
+
 ## [1.2.6] - 2023-09-30
 ### Changed
 - Delete .gitlab-ci.yml file
@@ -40,4 +45,4 @@
 ### Added
 - Développement du module
 
-[Source](https://raw.githubusercontent.com/olivierlacan/keep-a-changelog/master/CHANGELOG.md)
+[Source](https://raw.githubusercontent.com/olivierlacan/keep-a-changelog/main/CHANGELOG.md)
diff --git a/README.md b/README.md
index 2137e8f..99a5c82 100755
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Master
+# Main
 
 Base de travail pour le développement d'un module Magento 2.
 
@@ -6,14 +6,14 @@ Base de travail pour le développement d'un module Magento 2.
 
 Lancer dans le terminal la commande suivante pour configurer le chemin du dépot GIT : 
 
-`composer config repositories.nicolasbejean-master git https://lab.frogg.it/bejean-developpement/magento-2/modules/master.git`
+`composer config repositories.nicolasbejean-main git https://lab.frogg.it/bejean-developpement/magento-2/modules/main.git`
 
 Ensuite, procéder à l'installation avec la commande : 
 
-`composer require nicolasbejean/module-master`
+`composer require nicolasbejean/module-main`
 
 ## Licence
 
 [![Copyright 2021-2021 Nicolas Béjean](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://choosealicense.com/licenses/gpl-3.0/).
 
-**NicolasBejean_Master** est créé par Béjean Développement et publié sous la licence [GPL3](https://www.gnu.org/licenses/gpl.html).
+**NicolasBejean_Main** est créé par Béjean Développement et publié sous la licence [GPL3](https://www.gnu.org/licenses/gpl.html).
diff --git a/composer.json b/composer.json
index c673136..cd38420 100755
--- a/composer.json
+++ b/composer.json
@@ -1,5 +1,5 @@
 {
-    "name": "nicolasbejean/module-master",
+    "name": "nicolasbejean/module-main",
     "description": "Base de travail pour le développement d'un module Magento 2",
     "type": "magento2-module",
     "version": "1.2.6",
@@ -12,7 +12,7 @@
     ],
     "autoload": {
         "psr-4": {
-            "NicolasBejean\\Master\\": ""
+            "NicolasBejean\\Main\\": ""
         },
         "files": [
             "registration.php"
diff --git a/etc/module.xml b/etc/module.xml
index 2b129fa..4e8489c 100755
--- a/etc/module.xml
+++ b/etc/module.xml
@@ -1,4 +1,4 @@
 <?xml version="1.0"?>
 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
-    <module name="NicolasBejean_Master"/>
+    <module name="NicolasBejean_Main"/>
 </config>
diff --git a/registration.php b/registration.php
index 9169d49..7c23036 100755
--- a/registration.php
+++ b/registration.php
@@ -4,6 +4,6 @@ use \Magento\Framework\Component\ComponentRegistrar;
 
 ComponentRegistrar::register(
     ComponentRegistrar::MODULE,
-    'NicolasBejean_Master',
+    'NicolasBejean_Main',
     __DIR__
 );
-- 
GitLab