diff --git a/module/VuFind/src/VuFind/Auth/AbstractBase.php b/module/VuFind/src/VuFind/Auth/AbstractBase.php index df31681fab238456be91a84fc02fe1571e4690e8..125ff8c2d4fc0dccf0e21b0a2d9844e4ae45a59f 100644 --- a/module/VuFind/src/VuFind/Auth/AbstractBase.php +++ b/module/VuFind/src/VuFind/Auth/AbstractBase.php @@ -135,6 +135,7 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface * * @throws AuthException * @return \VuFind\Db\Row\User New user row. + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function create($request) { @@ -151,6 +152,7 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface * send user to after login (some drivers may override this). * * @return bool|string + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getSessionInitiator($target) { diff --git a/module/VuFind/src/VuFind/SMS/AbstractBase.php b/module/VuFind/src/VuFind/SMS/AbstractBase.php index 373b74949a6e989a06195971448c6c95020524b2..1cbbb27bf2854341beed9ef2ed7fd9d628adeac4 100644 --- a/module/VuFind/src/VuFind/SMS/AbstractBase.php +++ b/module/VuFind/src/VuFind/SMS/AbstractBase.php @@ -50,6 +50,7 @@ abstract class AbstractBase implements SMSInterface * * @param \Zend\Config\Config $config SMS configuration * @param array $options Additional options + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function __construct(\Zend\Config\Config $config, $options = array()) { diff --git a/module/VuFind/src/VuFind/ServiceManager/AbstractPluginFactory.php b/module/VuFind/src/VuFind/ServiceManager/AbstractPluginFactory.php index 016d49ef7983b0975b930a4be6e20ac320f3ef29..70daa2d168f283ee3eda9226eaf88ddcfff641c1 100644 --- a/module/VuFind/src/VuFind/ServiceManager/AbstractPluginFactory.php +++ b/module/VuFind/src/VuFind/ServiceManager/AbstractPluginFactory.php @@ -85,6 +85,7 @@ abstract class AbstractPluginFactory implements AbstractFactoryInterface * @param string $requestedName Unfiltered name of service * * @return bool + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName @@ -101,6 +102,7 @@ abstract class AbstractPluginFactory implements AbstractFactoryInterface * @param string $requestedName Unfiltered name of service * * @return object + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName diff --git a/module/VuFind/src/VuFind/Statistics/Driver/AbstractBase.php b/module/VuFind/src/VuFind/Statistics/Driver/AbstractBase.php index 10734c36e0ca44da99b1d9b142ff8a8cc3768eb8..251c5b563f013615d2c8d0cbde577ba817df1488 100644 --- a/module/VuFind/src/VuFind/Statistics/Driver/AbstractBase.php +++ b/module/VuFind/src/VuFind/Statistics/Driver/AbstractBase.php @@ -79,6 +79,7 @@ abstract class AbstractBase * @param array $value Extra options for search. Value => match this value * * @return array + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getFullList($field, $value = array()) { @@ -93,6 +94,7 @@ abstract class AbstractBase * @param integer $limit How many items to return * * @return array + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getBrowserStats($version, $limit) { diff --git a/module/VuFindConsole/src/VuFindConsole/Mvc/Router/ConsoleRouter.php b/module/VuFindConsole/src/VuFindConsole/Mvc/Router/ConsoleRouter.php index fbd12ee35e01247454aa3129c35c73b3e0d9d343..de8b6eb3ec7acac917d4fd690c882b73c02adaf3 100644 --- a/module/VuFindConsole/src/VuFindConsole/Mvc/Router/ConsoleRouter.php +++ b/module/VuFindConsole/src/VuFindConsole/Mvc/Router/ConsoleRouter.php @@ -107,6 +107,7 @@ class ConsoleRouter implements RouteStackInterface * @param array $options Route options * * @return mixed + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function assemble(array $params = array(), array $options = array()) { @@ -121,6 +122,7 @@ class ConsoleRouter implements RouteStackInterface * @param integer $priority Priority * * @return RouteStackInterface + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function addRoute($name, $route, $priority = null) { @@ -133,6 +135,7 @@ class ConsoleRouter implements RouteStackInterface * @param array|\Traversable $routes Routes to add * * @return RouteStackInterface + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function addRoutes($routes) { @@ -145,6 +148,7 @@ class ConsoleRouter implements RouteStackInterface * @param string $name Route name * * @return RouteStackInterface + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function removeRoute($name) { @@ -157,6 +161,7 @@ class ConsoleRouter implements RouteStackInterface * @param array|\Traversable $routes Routes to set * * @return RouteStackInterface + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function setRoutes($routes) { diff --git a/module/VuFindLocalTemplate/Module.php b/module/VuFindLocalTemplate/Module.php index f01c4c7982e7317cb318b5da78fdd94ff47b6fed..171fc98cdcaa5fb4b2a90486e49eadd53f0f121d 100644 --- a/module/VuFindLocalTemplate/Module.php +++ b/module/VuFindLocalTemplate/Module.php @@ -72,6 +72,7 @@ class Module * @param ModuleManager $m Module manager * * @return void + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function init(ModuleManager $m) { @@ -83,6 +84,7 @@ class Module * @param MvcEvent $e Event * * @return void + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function onBootstrap(MvcEvent $e) {