1
0
Fork 0
composer/tests/Composer/Test/Package/Version
Kunal Mehta 99dab8aebd Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
Working towards #3545.

formatVersion() does not belong in VersionParser since it depends upon a
Package object, and is creating a more complete pretty formatted
version, not parsing anything.

The new getFullPrettyVersion() method can be seen as an extension to
getPrettyVersion(), and is located in BasePackage as a result.

Callers to VersionParser::formatVersion() were not updated in this
commit to demonstrate that no functionality was changed in this
refactor. They will be updated in a follow up commit.
2015-07-01 23:54:08 -07:00
..
VersionParserTest.php Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion() 2015-07-01 23:54:08 -07:00
VersionSelectorTest.php Use the caret operator for all require operations 2015-04-29 23:53:40 +01:00