Skip to content

Commit

Permalink
Deprecate CommonMarkConverter::VERSION (#496)
Browse files Browse the repository at this point in the history
Composer finally added a way to query installed versions during runtime:
https://blog.packagist.com/composer-2-development-update/#changelog-
  • Loading branch information
markhalliwell committed Jun 13, 2020
1 parent 3b6d8c5 commit 6d95f75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CommonMarkConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ class CommonMarkConverter extends Converter
* The currently-installed version.
*
* This might be a typical `x.y.z` version, or `x.y-dev`.
*
* @deprecated in 1.5.0 and will be removed from 2.0.0.
* Use \Composer\InstalledVersions provided by composer-runtime-api instead.
*/
public const VERSION = '1.5-dev';

Expand Down

0 comments on commit 6d95f75

Please sign in to comment.