Ocramius/PackageVersions

Add replacement method to get rid of the `PackageVersions\Versions::ROOT_PACKAGE_NAME` constant

Ocramius opened this issue · 0 comments

Addresses #139 (comment)

By having a smooth migration from PackageVersions\Versions::ROOT_PACKAGE_NAME to, for example, PackageVersions\Versions::rootPackageName(), we can get rid of the last bit of generated code in this library once moving to 2.0.0, by just dropping the PackageVersions\Versions::ROOT_PACKAGE_NAME constant.