Skip to content

Commit

Permalink
Change FOP namespace to FriendsOfPhp
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 29, 2023
1 parent 0f5a570 commit 5bce864
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ composer require friendsofphp/number
### Basic usage

```php
use FOP\Number\Number;
use FriendsOfPhp\Number\Number;

// Format a number
$formattedNumber = Number::format(1234567.89);
Expand All @@ -40,7 +40,7 @@ $humanReadable = Number::forHumans(1234567.89);
### Advanced usage

```php
use FOP\Number\Number;
use FriendsOfPhp\Number\Number;

// Set a custom locale
Number::useLocale('fr');
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"autoload": {
"psr-4": {
"FOP\\Number\\": "src/"
"FriendsOfPhp\\Number\\": "src/"
}
},
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Number.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FOP\Number;
namespace FriendsOfPhp\Number;

use NumberFormatter;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/NumberTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use FOP\Number\Number;
use FriendsOfPhp\Number\Number;

test('format', function () {
$this->assertSame('0', Number::format(0));
Expand Down

0 comments on commit 5bce864

Please sign in to comment.