diff --git a/module/VuFindConsole/src/VuFindConsole/Command/Language/AbstractCommandFactory.php b/module/VuFindConsole/src/VuFindConsole/Command/Language/AbstractCommandFactory.php
index 4e3bcfb5d48973eea430310f1bf8ba28f04804d2..20c2383b60f111caa676d9f74e8251b1c735c294 100644
--- a/module/VuFindConsole/src/VuFindConsole/Command/Language/AbstractCommandFactory.php
+++ b/module/VuFindConsole/src/VuFindConsole/Command/Language/AbstractCommandFactory.php
@@ -56,6 +56,8 @@ class AbstractCommandFactory implements FactoryInterface
      * @throws ServiceNotCreatedException if an exception is raised when
      * creating a service.
      * @throws ContainerException if any other error occurs
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     public function __invoke(ContainerInterface $container, $requestedName,
         array $options = null
diff --git a/module/VuFindConsole/src/VuFindConsole/Command/ScheduledSearch/NotifyCommand.php b/module/VuFindConsole/src/VuFindConsole/Command/ScheduledSearch/NotifyCommand.php
index 827575c20727b976942f98b6ee761fd3d742b999..2bfc925b25affcf3f2527d9d3a780f3e286d2b97 100644
--- a/module/VuFindConsole/src/VuFindConsole/Command/ScheduledSearch/NotifyCommand.php
+++ b/module/VuFindConsole/src/VuFindConsole/Command/ScheduledSearch/NotifyCommand.php
@@ -231,6 +231,8 @@ class NotifyCommand extends Command implements TranslatorAwareInterface
      * @param OutputInterface $output Output object
      *
      * @return int 0 for success
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     protected function execute(InputInterface $input, OutputInterface $output)
     {
diff --git a/module/VuFindConsole/src/VuFindConsole/Command/Util/CleanUpRecordCacheCommand.php b/module/VuFindConsole/src/VuFindConsole/Command/Util/CleanUpRecordCacheCommand.php
index 74a9bf05dcd2210b44ca26ec6c2c7ea88fe60097..24578d1fde7440a4c7c47ea6238987264f039eaf 100644
--- a/module/VuFindConsole/src/VuFindConsole/Command/Util/CleanUpRecordCacheCommand.php
+++ b/module/VuFindConsole/src/VuFindConsole/Command/Util/CleanUpRecordCacheCommand.php
@@ -90,6 +90,8 @@ class CleanUpRecordCacheCommand extends Command
      * @param OutputInterface $output Output object
      *
      * @return int 0 for success
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     protected function execute(InputInterface $input, OutputInterface $output)
     {
diff --git a/module/VuFindConsole/src/VuFindConsole/Command/Util/CommitCommand.php b/module/VuFindConsole/src/VuFindConsole/Command/Util/CommitCommand.php
index 8601805e5aa07d18ec43968778e53acf43e3f278..56b4be62b1da903865d7c9a253e726f85437a04d 100644
--- a/module/VuFindConsole/src/VuFindConsole/Command/Util/CommitCommand.php
+++ b/module/VuFindConsole/src/VuFindConsole/Command/Util/CommitCommand.php
@@ -82,6 +82,8 @@ class CommitCommand extends AbstractSolrCommand
      * @param OutputInterface $output Output object
      *
      * @return int 0 for success
+     *
+     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
      */
     protected function execute(InputInterface $input, OutputInterface $output)
     {
diff --git a/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Language/DeleteCommandTest.php b/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Language/DeleteCommandTest.php
index 24594ad32aa9dc7688b2c962e776656670e05f49..1a560dc93dfcd6755aec4c32fd71c0a088560773 100644
--- a/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Language/DeleteCommandTest.php
+++ b/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Language/DeleteCommandTest.php
@@ -101,7 +101,6 @@ class DeleteCommandTest extends \PHPUnit\Framework\TestCase
      */
     public function testDeletingNonExistentString()
     {
-        $expectedPath = realpath($this->languageFixtureDir) . '/foo/en.ini';
         $command = $this->getMockCommand();
         $commandTester = new CommandTester($command);
         $commandTester->execute(['target' => 'foo::barzap']);
diff --git a/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Util/AbstractExpireCommandTest.php b/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Util/AbstractExpireCommandTest.php
index 576d3c04382b3687e6af49637e1e941e669a8576..cf299c2fa5201ceb53e7c3b7f188c5ec81e69c24 100644
--- a/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Util/AbstractExpireCommandTest.php
+++ b/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Command/Util/AbstractExpireCommandTest.php
@@ -76,7 +76,7 @@ class AbstractExpireCommandTest extends \PHPUnit\Framework\TestCase
         $this->expectExceptionMessage(
             get_class($table) . ' does not support getExpiredIdRange()'
         );
-        $command = new $this->targetClass($table, 'foo');
+        new $this->targetClass($table, 'foo');
     }
 
     /**