From 0db14c2d0b5c91e4f807dd7ee3a9bcd4ae5b7afd Mon Sep 17 00:00:00 2001 From: vlw Date: Sat, 23 Nov 2024 09:23:17 +0000 Subject: [PATCH] chore: change project namespace (#3) Change namespace from `victorwesterlund/globalsnapshot` to `vlw/globalsnapshot`. I will also deprecate the [existing Packagist listing](https://packagist.org/packages/victorwesterlund/globalsnapshot) in favor of a new one using the new namespace. Reviewed-on: https://codeberg.org/vlw/php-globalsnapshot/pulls/3 Co-authored-by: vlw Co-committed-by: vlw --- README.md | 4 ++-- composer.json | 6 +++--- src/GlobalSnapshot.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c3d123f..39cb8eb 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,12 @@ echo $_ENV["hello"]; // echo: "world" 1. Install with composer ``` -composer install victorwesterlund/globalsnapshot +composer install vlw/globalsnapshot ``` 2. `use` in your project ```php -use victorwesterlund\GlobalSnapshot; +use vlw\GlobalSnapshot; ``` 3. Capture current superglobals with `capture()` diff --git a/composer.json b/composer.json index d743c08..42b37d6 100644 --- a/composer.json +++ b/composer.json @@ -1,18 +1,18 @@ { - "name": "victorwesterlund/globalsnapshot", + "name": "vlw/globalsnapshot", "description": "Capture and restore the state of all PHP superglobals.", "type": "library", "license": "Unlicense", "authors": [ { "name": "Victor Westerlund", - "email": "victor.vesterlund@gmail.com" + "email": "victor@vlw.se" } ], "minimum-stability": "dev", "autoload": { "psr-4": { - "victorwesterlund\\": "src/" + "vlw\\": "src/" } } } diff --git a/src/GlobalSnapshot.php b/src/GlobalSnapshot.php index a9cac1c..3e9d2a2 100644 --- a/src/GlobalSnapshot.php +++ b/src/GlobalSnapshot.php @@ -1,6 +1,6 @@