diff --git a/UPGRADING.md b/UPGRADING.md index 19a8741..9a59d9a 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -3,4 +3,6 @@ ## Version 1 to 2 *** +* The namespace has been migrated from `Sparks\Settings` to `CodeIgniter\Settings`; any references will need to be updated. * Due to the addition of contexts the `BaseHandler` abstract class was changed. Update any handlers that extend this class to include the new and changed methods. +* The main library (`Settings`) now requires a Settings config for the constructor (this is supplied by the Service); update any direct calls to the library constructor. diff --git a/composer.json b/composer.json index 41c5197..b79fa47 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ }, "autoload": { "psr-4": { - "Sparks\\Settings\\": "src" + "CodeIgniter\\Settings\\": "src" }, "exclude-from-classmap": [ "**/Database/Migrations/**" diff --git a/src/Config/Services.php b/src/Config/Services.php index 2baf619..d7862f5 100644 --- a/src/Config/Services.php +++ b/src/Config/Services.php @@ -1,10 +1,10 @@