Skip to content

Commit

Permalink
Rename from phpwatch/mb_trim to polyfills/mb_trim
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh committed Jan 12, 2024
1 parent 1a2aaf5 commit 8fc5239
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).

Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": "*"
Expand Down
2 changes: 1 addition & 1 deletion tests/MbTrimTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace PHPWatch\MbTrimPolyfill\Tests;
namespace Polyfills\MbTrimPolyfill\Tests;

use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit 8fc5239

Please sign in to comment.