Skip to content

Commit

Permalink
Merge pull request #33 from stof/patch-1
Browse files Browse the repository at this point in the history
Add the deprecated annotation in the stub class
  • Loading branch information
Seldaek authored Jan 17, 2022
2 parents 1927b0a + 054d0dc commit b4f54f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PackageVersions/Versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class_exists(InstalledVersions::class);
*
* If you are reading this docBlock inside your `vendor/` dir, then this means
* that PackageVersions didn't correctly install, and is in "fallback" mode.
*
* @deprecated in favor of the Composer\InstalledVersions class provided by Composer 2. Require composer-runtime-api:^2 to ensure it is present.
*/
final class Versions
{
Expand Down

0 comments on commit b4f54f7

Please sign in to comment.