From d33a47a91552ea807dfb44e138bc0869f969edb9 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 25 Oct 2022 17:24:03 +1300 Subject: [PATCH] API Update deprecations (#60) * ENH Update deprecation messages * API Update deprecations --- src/Console/VendorExposeCommand.php | 2 +- src/VendorModule.php | 4 ++-- src/VendorPlugin.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Console/VendorExposeCommand.php b/src/Console/VendorExposeCommand.php index 46aedf5..b8fe940 100644 --- a/src/Console/VendorExposeCommand.php +++ b/src/Console/VendorExposeCommand.php @@ -92,7 +92,7 @@ protected function getAllLibraries() /** * Find all modules * - * @deprecated 1.3..2.0 + * @deprecated 1.3.0 Use getAllLibraries() instead * @return Library[] */ protected function getAllModules() diff --git a/src/VendorModule.php b/src/VendorModule.php index 628ea12..45edd9d 100644 --- a/src/VendorModule.php +++ b/src/VendorModule.php @@ -5,7 +5,7 @@ /** * Represents a module in the vendor folder * - * @deprecated 1.3..2.0 Use Library instead + * @deprecated 1.3.0 Use Library instead */ class VendorModule extends Library { @@ -38,7 +38,7 @@ public function __construct($basePath, $name) /** * Get full path to the root install for this project * - * @deprecated 1.3..2.0 use getPath() instead + * @deprecated 1.3.0 Use getPath() instead * @param string $base Rewrite root (or 'vendor' for actual module path) * @return string Path for this module */ diff --git a/src/VendorPlugin.php b/src/VendorPlugin.php index e67b27b..08aba23 100644 --- a/src/VendorPlugin.php +++ b/src/VendorPlugin.php @@ -96,7 +96,7 @@ public static function getSubscribedEvents() /** * Get vendor module instance for this event * - * @deprecated 1.3..2.0 + * @deprecated 1.3.0 Use getLibrary() instead * @param PackageEvent $event * @return Library|null */