diff --git a/README.md b/README.md index 81ce0b9..ec650be 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -

Collection of Helpers for PHP.

+

Collection of Helper for PHP.


@@ -45,7 +45,71 @@ or add ## Usage -[Check the documentation docs](/docs/README.md) to learn about usage. +The repository contains a collection of utility functions designed to simplify common programming tasks in PHP. + +Whether you're working on web development, data processing, or other projects, these helper functions can save you time +and effort. + +## Converts a camelCase formatted string to snake_case + +```php +assertGreaterThanOrEqual($prevOffset, $timeZone['offset']); } - // Verifica que el array tenga las claves correctas + // verify that the array contains the expected keys $this->assertArrayHasKey('timezone', $timeZone); $this->assertArrayHasKey('name', $timeZone); $this->assertArrayHasKey('offset', $timeZone); diff --git a/tests/WordFormatterTest.php b/tests/WordFormatterTest.php index 2b7c98e..fdf4551 100644 --- a/tests/WordFormatterTest.php +++ b/tests/WordFormatterTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace PHPForge\Helpers\Tests; +namespace PHPForge\Helper\Tests; -use PHPForge\Helpers\WordFormatter; +use PHPForge\Helper\WordFormatter; use PHPUnit\Framework\TestCase; final class WordFormatterTest extends TestCase