diff --git a/module/VuFind/src/VuFind/Auth/CAS.php b/module/VuFind/src/VuFind/Auth/CAS.php index 9dfaee4048071e8effb011c0542eef0ebe5b5492..05193f232efeec6af66cd07660a409e687ad12f9 100644 --- a/module/VuFind/src/VuFind/Auth/CAS.php +++ b/module/VuFind/src/VuFind/Auth/CAS.php @@ -265,6 +265,7 @@ class CAS extends AbstractBase return $sortedUserAttributes; } + /** * Establishes phpCAS Configuration and Enables the phpCAS Client * diff --git a/module/VuFind/src/VuFind/Auth/Manager.php b/module/VuFind/src/VuFind/Auth/Manager.php index 6cdb99db33ae0781256269919fd42d6cc19a4605..7da0bd7bbe39ff243ac85fb1cd77fa07d2e00e34 100644 --- a/module/VuFind/src/VuFind/Auth/Manager.php +++ b/module/VuFind/src/VuFind/Auth/Manager.php @@ -615,6 +615,7 @@ class Manager implements \ZfcRbac\Identity\IdentityProviderInterface ); } } + /** * Validate the credentials in the provided request, but do not change the state * of the current logged-in user. Return true for valid credentials, false diff --git a/module/VuFind/src/VuFind/Feed/Writer/Extension/OpenSearch/Feed.php b/module/VuFind/src/VuFind/Feed/Writer/Extension/OpenSearch/Feed.php index 3b996ae3f905b354021abd0ec1b192a7561c9c4d..d11634e6aea52c7c1710d19033ffd1b73146d7aa 100644 --- a/module/VuFind/src/VuFind/Feed/Writer/Extension/OpenSearch/Feed.php +++ b/module/VuFind/src/VuFind/Feed/Writer/Extension/OpenSearch/Feed.php @@ -118,6 +118,7 @@ class Feed extends ParentFeed $this->encoding = $enc; return $this; } + /** * Get feed encoding * diff --git a/module/VuFind/src/VuFind/Hierarchy/Driver/ConfigurationBased.php b/module/VuFind/src/VuFind/Hierarchy/Driver/ConfigurationBased.php index e2415e17e52d95c55a27adbdd9e9ff5f6915df7b..e0b5e67ecd7fb13fdff110a09b1fc04c12c5b336 100644 --- a/module/VuFind/src/VuFind/Hierarchy/Driver/ConfigurationBased.php +++ b/module/VuFind/src/VuFind/Hierarchy/Driver/ConfigurationBased.php @@ -124,6 +124,7 @@ class ConfigurationBased extends AbstractBase return isset($this->config->HierarchyTree) ? $this->config->HierarchyTree->toArray() : []; } + /** * Get Collection Link Type from the config file * diff --git a/module/VuFind/src/VuFind/ILS/Driver/ClaviusSQL.php b/module/VuFind/src/VuFind/ILS/Driver/ClaviusSQL.php index e6b19691152b134097c2f55098c7935be762fcdb..66dd32e2f39ce6bd129be277662b27518ba7ac01 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/ClaviusSQL.php +++ b/module/VuFind/src/VuFind/ILS/Driver/ClaviusSQL.php @@ -170,6 +170,7 @@ class ClaviusSQL extends AbstractBase } return $this->locations; } + /** * Get list of fine types * diff --git a/module/VuFind/src/VuFind/ILS/Driver/PAIA.php b/module/VuFind/src/VuFind/ILS/Driver/PAIA.php index 47b050f678dfd6263f03ed2812df25ba0f55e9c9..69ae5d34564317321b2713b739176a6d5504016d 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/PAIA.php +++ b/module/VuFind/src/VuFind/ILS/Driver/PAIA.php @@ -476,6 +476,7 @@ class PAIA extends DAIA // Not yet implemented return false; } + /** * Place ILL Request * @@ -1342,6 +1343,7 @@ class PAIA extends DAIA } return $results; } + /** * This PAIA helper function allows custom overrides for mapping of PAIA response * to getMyStorageRetrievalRequests data structure. diff --git a/module/VuFind/src/VuFind/ILS/Driver/Polaris.php b/module/VuFind/src/VuFind/ILS/Driver/Polaris.php index 658f92c9767453fd7ac5148959469f3bc8574d1a..b497a05572a9f95c5f024cce06bf923067c29c6e 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Polaris.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Polaris.php @@ -629,6 +629,7 @@ class Polaris extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterf return $fineList; } + /** * Get Patron Profile * diff --git a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php index c77c668136574616a20282df6a12120c5cccc607..b8929134c89be34de481f7406929341cb8a4d544 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php +++ b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php @@ -1254,6 +1254,7 @@ EOT; * * @return array An array of renewal information keyed by item ID */ + /** * Renew My Items * diff --git a/module/VuFind/src/VuFind/RecordDriver/BrowZine.php b/module/VuFind/src/VuFind/RecordDriver/BrowZine.php index de1d6b4483b1c77f5dab3d092a4f973f8cb5d7a7..01750fd008efb9f40880ba11b6c6fe838e353689 100644 --- a/module/VuFind/src/VuFind/RecordDriver/BrowZine.php +++ b/module/VuFind/src/VuFind/RecordDriver/BrowZine.php @@ -69,6 +69,7 @@ class BrowZine extends SolrDefault ? $this->fields['name'] : parent::getTitle(); } + /** * Returns one of three things: a full URL to a thumbnail preview of the record * if an image is available in an external system; an array of parameters to diff --git a/module/VuFind/src/VuFind/RecordDriver/Summon.php b/module/VuFind/src/VuFind/RecordDriver/Summon.php index 553475b45506c827661afce3c9950ad23fe55598..3805cba5e941d56c72a56b6ed2ec947b8e89a274 100644 --- a/module/VuFind/src/VuFind/RecordDriver/Summon.php +++ b/module/VuFind/src/VuFind/RecordDriver/Summon.php @@ -526,6 +526,7 @@ class Summon extends SolrDefault { return $this->fields['ID'][0]; } + /** * Get the title of the item that contains this record (i.e. MARC 773s of a * journal). diff --git a/module/VuFind/src/VuFind/Search/EDS/Options.php b/module/VuFind/src/VuFind/Search/EDS/Options.php index e2ed9d8784128f4c81278d4faece0e5de9305b17..031c09d6059ddb41762707a573910ed0a5e6fba4 100644 --- a/module/VuFind/src/VuFind/Search/EDS/Options.php +++ b/module/VuFind/src/VuFind/Search/EDS/Options.php @@ -221,6 +221,7 @@ class Options extends \VuFind\Search\Base\Options { return $this->defaultExpanders; } + /** * Return the route name of the action used for performing advanced searches. * Returns false if the feature is not supported. diff --git a/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter/SpecBuilder.php b/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter/SpecBuilder.php index dd8a4f91cb292d1d3ff10ecda696a768ea40c2c7..44f5ae37efa8061c547d02859016584b4042df35 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter/SpecBuilder.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter/SpecBuilder.php @@ -66,6 +66,7 @@ class SpecBuilder } } } + /** * Set a generic spec line. * diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php index 44a8efa80a75aa61c544b733e3ea90e78794260b..483a25cd1c044ce75beee1a2b65f393aefb2c45d 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php @@ -2543,66 +2543,87 @@ trait ILSMockTrait public function cancelHolds($cancelDetails) { } + public function cancelILLRequests($cancelDetails) { } + public function cancelStorageRetrievalRequests($cancelDetails) { } + public function checkRequestIsValid($id, $data, $patron) { } + public function checkILLRequestIsValid($id, $data, $patron) { } + public function checkStorageRetrievalRequestIsValid($id, $data, $patron) { } + public function getCancelHoldDetails($holdDetails) { } + public function getCancelILLRequestDetails($holdDetails) { } + public function getCancelStorageRetrievalRequestDetails($holdDetails) { } + public function getConfig($function, $params = null) { } + public function getDefaultPickUpLocation($patron = false, $holdDetails = null) { } + public function getDefaultRequestGroup($patron = false, $holdDetails = null) { } + public function getMyILLRequests($patron) { } + public function getILLPickUpLibraries($patron = false, $holdDetails = null) { } + public function getILLPickUpLocations($id, $pickupLib, $patron) { } + public function getPickUpLocations($patron = false, $holdDetails = null) { } + public function getRenewDetails($checkoutDetails) { } + public function getRequestGroups($bibId = null, $patron = null, $holdDetails = null) { } + public function placeHold($holdDetails) { } + public function placeILLRequest($holdDetails) { } + public function placeStorageRetrievalRequest($details) { } + public function renewMyItems($renewDetails) { } @@ -2618,6 +2639,7 @@ class VoyagerMock extends \VuFind\ILS\Driver\Voyager class VoyagerNoSupportMock extends \VuFind\ILS\Driver\Voyager { use ILSMockTrait; + public function supportsMethod(...$args) { return false; diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/PAIATest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/PAIATest.php index ddd231e2495471464f1f759c0d5c4178ef455b4e..b70e0b0709e158b87704673bff2a7291a83bc6ba 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/PAIATest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/PAIATest.php @@ -459,6 +459,7 @@ class PAIATest extends \VuFindTest\Unit\ILSDriverTestCase $this->assertEquals(false, $result_expired); $this->assertEquals(false, $resultStorage_expired); } + /** * Test * diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/FavoriteFacetsTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/FavoriteFacetsTest.php index 360663daaad1a569deb5a08347d29d4014cd965c..04b62775974ad149d0ab5b755248f8cea888ab02 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/FavoriteFacetsTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/FavoriteFacetsTest.php @@ -52,6 +52,7 @@ class FavoriteFacetsTest extends \VuFindTest\Unit\TestCase $params->expects($this->exactly(0))->method('addFacet'); // no facets are expected in this case $this->getFavoriteFacets($results, 'disabled'); } + /** * Test facet initialization with enabled tags. * diff --git a/module/VuFindConsole/src/VuFindConsole/Controller/GenerateController.php b/module/VuFindConsole/src/VuFindConsole/Controller/GenerateController.php index effcb7ac864f343a47d19d5d38df06ac4bfc233c..56a9162a8d81697d21434fbaf4b84f4f7b7a793d 100644 --- a/module/VuFindConsole/src/VuFindConsole/Controller/GenerateController.php +++ b/module/VuFindConsole/src/VuFindConsole/Controller/GenerateController.php @@ -611,6 +611,7 @@ class GenerateController extends AbstractBase } Console::writeLine("Successfully updated $configPath"); } + /** * Update the configuration of a target module. * diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/LuceneSyntaxHelper.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/LuceneSyntaxHelper.php index c6a5bd050daae4ae989df371b00c025a9aaf16ba..fc332536fd1112660dc0d151cb9d4900b4737c27 100644 --- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/LuceneSyntaxHelper.php +++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/LuceneSyntaxHelper.php @@ -520,6 +520,7 @@ class LuceneSyntaxHelper $input = preg_replace('/(\:[:\s]+|[:\s]+:)' . $lookahead . '/', ' ', $input); return trim($input, ':'); } + /** * Prepare input to be used in a SOLR query. * diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php index cecbd0fdef01edd5d77ed562a0db8bffb635e461..d75601bb9f945e2c43a44fb755d465ea5f2d71ff 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php @@ -65,6 +65,7 @@ class SearchHandlerTest extends PHPUnit_Framework_TestCase $hndl = new SearchHandler($spec); $this->assertEquals('(id:("escaped\"quote" OR not OR quoted OR "basic phrase"))', $hndl->createSimpleQueryString('"escaped\"quote" not quoted "basic phrase"')); } + /** * Test toArray() method. *