Skip to content

Commit

Permalink
feat: Updated src/StringManipulation.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Feb 26, 2024
1 parent 5b22e65 commit 28c180a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/StringManipulation.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
/**
* Class StringManipulation.
*
* This class provides a collection of static methods for various string operations.
* These operations include, but are not limited to:
* - String transformation: Changing the format or structure of a string.
* - Accent removal: Removing accents from characters within a string.
* - String replacement: Replacing certain substrings within a string with other substrings.
* - Date validation: Checking if a given date string is valid according to a specified format.
* This class offers a comprehensive suite of static methods for a variety of string operations,
* making it an indispensable resource for tasks involving string manipulation or validation.
* The operations encompass, but are not limited to:
* - String transformation: Modifying the format or structure of a string.
* - Accent removal: Eliminating accents from characters within a string.
* - String replacement: Substituting specific substrings within a string with alternative substrings.
* - Date validation: Verifying the validity of a given date string against a specified format.
*
* Each method in this class is designed to perform a specific operation and can be used independently of the others.
* This makes the class a versatile tool for any tasks involving string manipulation or validation.
* Each method within this class is meticulously crafted to execute a distinct operation,
* allowing for their independent utilisation. This attribute renders the class a versatile
* tool for any string manipulation or validation endeavours.
*
* Note: This class is suppressed from UnusedClass warning from Psalm static analysis tool.
* It means that
* the class is not directly instantiated or invoked in the codebase.
* However, it is intended to be used
* wherever necessary, hence the suppression.
* Note: This class is exempt from the UnusedClass warning by the Psalm static analysis tool,
* indicating that while it may not be directly instantiated or invoked within the codebase,
* it is designed for use wherever necessary, thus justifying the exemption.
*
* @psalm-suppress UnusedClass
*/
Expand Down

0 comments on commit 28c180a

Please sign in to comment.