From a9d297e18dc252f487bed96e44137323aaea9f52 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 3 Feb 2022 06:21:56 +0100 Subject: [PATCH] Plugin: improve feedback The `Nothing to install or update` message is confusing, as for an end-user, it may not be clear that this message relates to the PHPCS plugin. The message as-is could be interpreted to relate to Composer itself finding _nothing to install or update_ instead. I'd like to suggest changing that message to be more directly related to this plugin for clarity. --- src/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin.php b/src/Plugin.php index c7a734f0..7b7f4d50 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -40,7 +40,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface 'The value of "%s" (in the composer.json "extra".section) must be an integer larger then %d, %s given.'; const MESSAGE_NOT_INSTALLED = 'PHPCodeSniffer is not installed'; - const MESSAGE_NOTHING_TO_INSTALL = 'Nothing to install or update'; + const MESSAGE_NOTHING_TO_INSTALL = 'No PHPCS standards to install or update'; const MESSAGE_PLUGIN_UNINSTALLED = 'PHPCodeSniffer Composer Installer is uninstalled'; const MESSAGE_RUNNING_INSTALLER = 'Running PHPCodeSniffer Composer Installer';