PHPCSStandards / PHPCSUtils

A suite of utility functions for use with PHP_CodeSniffer
https://phpcsutils.com/
GNU Lesser General Public License v3.0
53 stars 7 forks source link

:sparkles: New TypeString utility class #588

Closed jrfnl closed 3 months ago

jrfnl commented 4 months ago

... to contain utilities methods for analysing typestrings as retrieved via the getParameters()/getProperties() methods.

Initially, the class comes with the following methods:

Notes:

Includes extensive unit tests.

jrfnl commented 4 months ago

Rebased on top of https://github.com/PHPCSStandards/PHPCSUtils/pull/598 and added a commit to take advantage of the new exceptions. Moving to draft until https://github.com/PHPCSStandards/PHPCSUtils/pull/598 has been merged.

jrfnl commented 3 months ago

Rebased without changes, other than squashing the commits. Marking as ready as https://github.com/PHPCSStandards/PHPCSUtils/pull/598 has been merged now. Merging once the build passes.