From 8fc52393c1dd6a399fef8977a1341be03e5f6fa1 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Fri, 12 Jan 2024 20:37:13 +0700 Subject: [PATCH] Rename from phpwatch/mb_trim to polyfills/mb_trim --- README.md | 4 ++-- composer.json | 3 ++- tests/MbTrimTest.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cca8e94..cc9ac83 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # `mb_trim`, `mb_ltrim`, and `mb_rtrim` polyfills -[![Latest Stable Version](http://poser.pugx.org/phpwatch/mb-trim-polyfill/v)](https://packagist.org/packages/phpwatch/mb-trim-polyfill) [![License](http://poser.pugx.org/phpwatch/mb-trim-polyfill/license)](https://packagist.org/packages/phpwatch/mb-trim-polyfill) [![PHP Version Require](http://poser.pugx.org/phpwatch/mb-trim-polyfill/require/php)](https://packagist.org/packages/phpwatch/mb-trim-polyfill) +[![Latest Stable Version](http://poser.pugx.org/polyfills/mb-trim-polyfill/v)](https://packagist.org/packages/polyfills/mb-trim-polyfill) [![License](http://poser.pugx.org/polyfills/mb-trim-polyfill/license)](https://packagist.org/packages/polyfills/mb-trim-polyfill) [![PHP Version Require](http://poser.pugx.org/polyfills/mb-trim-polyfill/require/php)](https://packagist.org/packages/polyfills/mb-trim-polyfill) Provides user-land PHP polyfills for the [`mb_trim`, `mb_ltrim`, and `mb_rtrim` functions added in PHP 8.4](https://php.watch/versions/8.4/mb_trim-mb_ltrim-mb_rtrim). @@ -9,7 +9,7 @@ Requires PHP 8,1, 8.2 or PHP 8.3 with `mbstring` extension. Not supported on PHP ## Installation ```bash -composer require phpwatch/mb-trim-polyfill +composer require polyfills/mb-trim-polyfill ``` ## Usage diff --git a/composer.json b/composer.json index 2a5d7cb..57556cb 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,8 @@ { - "name": "phpwatch/mb-trim-polyfill", + "name": "polyfills/mb-trim-polyfill", "description": "PHP: Provides a user-land polyfill for `mb_trim`, `mb_ltrim`, and `mb_rtrim` functions added in PHP 8.4.", "type": "library", + "keywords": ["php84", "phpwatch", "polyfills", "polyfill", "compatibility", "compat", "shim", "mbstring"], "require": { "php": "^8.1", "ext-mbstring": "*" diff --git a/tests/MbTrimTest.php b/tests/MbTrimTest.php index 217d275..a0194a8 100644 --- a/tests/MbTrimTest.php +++ b/tests/MbTrimTest.php @@ -1,6 +1,6 @@