From e146b1c0bde9bcaeabec597616bee8ecedf8ca81 Mon Sep 17 00:00:00 2001 From: "Eric Richer eric.richer@vistoconsulting.com" Date: Thu, 11 Jul 2024 11:25:06 -0400 Subject: [PATCH] Updated UPGRADE.md. Rename the config.global.php to lmcrbac.global.php Signed-off-by: Eric Richer eric.richer@vistoconsulting.com --- UPGRADE.md | 6 +++--- config/{config.global.php => lmcrbac.global.php} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename config/{config.global.php => lmcrbac.global.php} (97%) diff --git a/UPGRADE.md b/UPGRADE.md index 3739d9a5..7c80de92 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -2,15 +2,15 @@ ## From ZfcRbac v3 to LmcRbac v1 -The ZF-Commons orgnisation has been moved to Laminas-Commons and ZfcRbac has been split into two repositories. +The ZF-Commons organisation has been moved to LM-Commons and ZfcRbac has been split into two repositories. -- [LmcRbacMvc](https://github.com/Laminas-Commons/LmcRbacMvc) contains the old version 2 of ZfcRbac. +- [LmcRbacMvc](https://github.com/LM-Commons/LmcRbacMvc) contains the old version 2 of ZfcRbac. - LmcRbac contains the version 3 of ZfcRbac, which was only released as v3.alpha.1. To upgrade - Uninstall `zf-commons/zfc-rbac:3.0.0-alpha.1`. -- Install `laminas-commons/lmc-rbac:^1.0` +- Install `lm-commons/lmc-rbac:^1.0` - Change `zfc-rbac.global.php` to `lmc-rbac.global.php` and update the key `zfc_rbac` to `lmc_rbac`. - Review your code for usages of the `ZfcRbac/*` namespace to `LmcRbac/*` namespace. diff --git a/config/config.global.php b/config/lmcrbac.global.php similarity index 97% rename from config/config.global.php rename to config/lmcrbac.global.php index ac27686e..2901595d 100644 --- a/config/config.global.php +++ b/config/lmcrbac.global.php @@ -38,7 +38,7 @@ * It must be an array that contains configuration for the role provider. * The default Role Provider is 'LmcRbac\Role\InMemoryRoleProvider' * - * Supported options depend of the role provider, so please refer to the official documentation + * Supported options depend on the role provider, so please refer to the official documentation * * The provider config for InMemoryRoleProvider must follow the following format: *