naneau / semver

PHP Semantic Versioning library
MIT License
73 stars 9 forks source link

cleanup Naneau\SemVer\Version#setPart #1

Closed cameroncox closed 11 years ago

cameroncox commented 11 years ago

minor change instead of checking whether the $part is alphanumeric in two places, perform the check in one method.

naneau commented 11 years ago

Makes more sense! :)

naneau commented 11 years ago

Have a branch with a CLI coming, by the way.

cameroncox commented 11 years ago

\o/