naneau / semver

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

Add separate function to retrieve original version and corresponding tests #15

Closed iverberk closed 9 years ago

iverberk commented 9 years ago

This adds functionality described in https://github.com/naneau/semver/issues/12#issuecomment-72031262

naneau commented 9 years ago

Two small comments, but otherwise seems to fix the regression.

naneau commented 9 years ago

I took the liberty of applying some fixes myself, see #17. Also, I noticed your editor is set to use tabs, which I have replaced with spaces, as per PSR.