diff --git a/composer.lock b/composer.lock index e7c82166ee1287d8cacf3e3edc5772f08e92424a..8460ee826d5b23a8c913c694127466fc717960d5 100644 --- a/composer.lock +++ b/composer.lock @@ -448,7 +448,7 @@ "include-path": [ "/" ], - "description": "Package containes ISPN (International Standard Product Numbers) validations such as:\n * ISSN\n * ISBN\n * ISMN\n * ISRC (International Standard Recording Code)\n * EAN8\n * EAN13\n * EAN14\n * UCC12\n * SSCC" + "description": "Package contains ISPN (International Standard Product Numbers) validations such as:\n * ISSN\n * ISBN\n * ISMN\n * ISRC (International Standard Recording Code)\n * EAN8\n * EAN13\n * EAN14\n * UCC12\n * SSCC" }, { "name": "pear-pear.php.net/XML_Util", diff --git a/config/autoload/local.php.dist b/config/autoload/local.php.dist index 7862eba731bde45edfc8bb0cce72f41bcbf8a72e..33fb69634857d238189300a9e8de3f08ca945b2e 100644 --- a/config/autoload/local.php.dist +++ b/config/autoload/local.php.dist @@ -8,7 +8,7 @@ * * @NOTE: This file is ignored from Git by default with the .gitignore included * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive - * credentials from accidentally being comitted into version control. + * credentials from accidentally being committed into version control. */ return array( diff --git a/config/vufind/config.ini b/config/vufind/config.ini index 0d581833e646b0a9164658919cee63ddb2fcc2f7..4478e20f315e8b8eb0ca0cc17dafd57bf5dd54dd 100644 --- a/config/vufind/config.ini +++ b/config/vufind/config.ini @@ -263,7 +263,7 @@ ils_encryption_key = false ;filters = "username:trim,password:trim" ; Present two auth options on the login screen. Each choice given must also be -; configured in its relevent section. (The code should allow for more than 2 +; configured in its relevant section. (The code should allow for more than 2 ; choices, but styling would need to be expanded / modified) ; ; WARNING! This module does not account for the possibility that the auth diff --git a/config/vufind/sitemap.ini b/config/vufind/sitemap.ini index 9684633bc5c649274716b338b0897768446294dd..9b9782327c220079ae9ec111ac92b0cb8d77381c 100644 --- a/config/vufind/sitemap.ini +++ b/config/vufind/sitemap.ini @@ -15,7 +15,7 @@ frequency = weekly ; countPerPage indicates how many URL entries will appear in each outputted sitemap ; This is useful in case your repository is huge (as many search engines cap ; the number of urls in a sitemap to around 50000) or if you're indexing formats -; that severly reduce the amount of items that can go into a sitemap (aka +; that severely reduce the amount of items that can go into a sitemap (aka ; images indexed in google max at 1000 per sitemap). countPerPage = 10000 diff --git a/harvest/batch-import-xsl.bat b/harvest/batch-import-xsl.bat index e2e7d13f4c639fb3b248ade459d7473ada7fe47f..b17eed3560fc29abfe5f35b3a040c4a8506063b6 100644 --- a/harvest/batch-import-xsl.bat +++ b/harvest/batch-import-xsl.bat @@ -84,7 +84,7 @@ cd %VUFIND_HOME%\import for %%a in (%BASEPATH%\*.xml) do ( echo Processing %%a... php import-xsl.php %%a %2 - rem Unfortunately, PHP doesn't seem to set apropriate errorlevels, so error + rem Unfortunately, PHP doesn't seem to set appropriate errorlevels, so error rem detection doesn't work under Windows like it does under Linux... however, rem this code is retained in case PHP's behavior improves in the future! if errorlevel 0 ( diff --git a/module/VuFind/src/VuFind/Connection/OpenLibrary.php b/module/VuFind/src/VuFind/Connection/OpenLibrary.php index 37dd94bec0adfbff1547859ea5e7e31257740694..b64345aa6d12e5b04c0e4aaa1156b14d3914432f 100644 --- a/module/VuFind/src/VuFind/Connection/OpenLibrary.php +++ b/module/VuFind/src/VuFind/Connection/OpenLibrary.php @@ -69,7 +69,7 @@ class OpenLibrary * @param bool $details Whether to return full details * @param int $limit The number of works to return * @param int $offset Paging offset - * @param bool $publicFullText Only return publically available, full-text + * @param bool $publicFullText Only return publicly available, full-text * works * * @return array @@ -117,7 +117,7 @@ class OpenLibrary * * @param string $url URL to request * @param int $limit The number of works to return - * @param bool $publicFullText Only return publically available, full-text + * @param bool $publicFullText Only return publicly available, full-text * works * * @return array diff --git a/module/VuFind/src/VuFind/Controller/AjaxController.php b/module/VuFind/src/VuFind/Controller/AjaxController.php index 85e311ce2b8392072540b05260bea8968ae5ebab..b85c0aac6bc55f14f8050c41b3c710353bfdf2b6 100644 --- a/module/VuFind/src/VuFind/Controller/AjaxController.php +++ b/module/VuFind/src/VuFind/Controller/AjaxController.php @@ -547,7 +547,7 @@ class AjaxController extends AbstractBase * * @param string $errno Error code number * @param string $errstr Error message - * @param string $errfile File where error occured + * @param string $errfile File where error occurred * @param string $errline Line number of error * * @return bool Always true to cancel default error handling diff --git a/module/VuFind/src/VuFind/Controller/FeedbackController.php b/module/VuFind/src/VuFind/Controller/FeedbackController.php index bd2e0073dbe94c60ec303b949841417285e5c0d2..3949d9ef6f47cfc8c1ceb6ee886be484a5328247 100644 --- a/module/VuFind/src/VuFind/Controller/FeedbackController.php +++ b/module/VuFind/src/VuFind/Controller/FeedbackController.php @@ -38,7 +38,7 @@ class FeedbackController extends AbstractBase } /** - * Recieves input from the user and sends an email to the recipient set in + * Receives input from the user and sends an email to the recipient set in * the config.ini * * @return void diff --git a/module/VuFind/src/VuFind/ILS/Driver/Horizon.php b/module/VuFind/src/VuFind/ILS/Driver/Horizon.php index 043d30fc483f134be1162125e63d12bb00edada2..1b0514b8261359df69ac1f55efbfa58b0e6f6f6b 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Horizon.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Horizon.php @@ -1053,7 +1053,7 @@ class Horizon extends AbstractBase $hzVersionFound = $row['database_revision']; } - /* The Horizon database version is made up of 4 numbers seperated by periods. + /* The Horizon database version is made up of 4 numbers separated by periods. * Explode the string and check each segment against the required version. */ $foundVersionParts = explode('.', $hzVersionFound); diff --git a/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php b/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php index 2c7827046b97af03dd7a629b57fa3c6f3c65c0e6..59957990b9b40340ceba9b06c224993c31d44c9e 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php +++ b/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php @@ -771,7 +771,7 @@ class HorizonXMLAPI extends Horizon implements \VuFindHttp\HttpServiceAwareInter /** * Process Renewals * - * This is responsible for processing renewals and is neccessary + * This is responsible for processing renewals and is necessary * as result of renew attempt is not returned * * @param array $renewIDs A list of the items being renewed @@ -780,7 +780,7 @@ class HorizonXMLAPI extends Horizon implements \VuFindHttp\HttpServiceAwareInter * @param array $renewData A Simple XML array of loan data after the * renewal attempt * - * @return array An Array specifiying the results of each renewal attempt + * @return array An Array specifying the results of each renewal attempt */ protected function processRenewals($renewIDs, $origData, $renewData) { diff --git a/module/VuFind/src/VuFind/ILS/Driver/Innovative.php b/module/VuFind/src/VuFind/ILS/Driver/Innovative.php index 6d0a1e55eeac1d2d6a80bbec69be0ea2cdb9de3e..3434549a1a71bf567f142e881f3eb554520b49ff 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Innovative.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Innovative.php @@ -157,7 +157,7 @@ class Innovative extends AbstractBase implements '/1%2C1%2C1%2CB/holdings~' . $id_ . '&FF=&1%2C0%2C' ); - // strip out html before the first occurance of 'bibItems', should be + // strip out html before the first occurrence of 'bibItems', should be // '<table class="bibItems" ' $r = substr($result, stripos($result, 'bibItems')); // strip out the rest of the first table tag. @@ -384,7 +384,7 @@ class Innovative extends AbstractBase implements // search for successful response of "RETCOD=0" if (stripos($result, "RETCOD=0") == -1) { // pin did not match, can look up specific error to return - // more usefull info. + // more useful info. return null; } diff --git a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php index c499e62a2c188a0a998f7cc5e9474658aa8c966e..65495b33a5c9f6c1c7d07d1facdaff79ad99e54a 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php +++ b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php @@ -92,7 +92,7 @@ class MultiBackend extends AbstractBase protected $config = array(); /** - * The seperating values to be used for each ILS. + * The separating values to be used for each ILS. * Not yet implemented * @var object */ diff --git a/module/VuFind/src/VuFind/ILS/Driver/Virtua.php b/module/VuFind/src/VuFind/ILS/Driver/Virtua.php index 15d1deb47f97e4cf81b3b08e43511ff55c956098..4818b19316b00aebae7765c9655082938e53ce43 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Virtua.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Virtua.php @@ -626,7 +626,7 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa if ($item_stat_code !== null) { // ... but has a status, so it can't be requested. } else { - // ... can the user borrow avilable items at this + // ... can the user borrow available items at this // location? if (in_array( $location, $available_locs[$item_loc_code] @@ -920,7 +920,7 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa /** * Renders individual holdings against a pattern * Note fields and prediction patterns are handled - * seperately + * separately * * @param array $patterns Pattern data * @param array $field Field data diff --git a/module/VuFind/src/VuFind/ILS/Driver/XCNCIP.php b/module/VuFind/src/VuFind/ILS/Driver/XCNCIP.php index 3dd57d2eadf91a492a2922706341445db5fe8cd7..ccd1385ce8330ec794191f81a2304c17c3e14db8 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/XCNCIP.php +++ b/module/VuFind/src/VuFind/ILS/Driver/XCNCIP.php @@ -458,7 +458,7 @@ class XCNCIP extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa '</UserElementType>'; } - // Add relevent empty elements: + // Add relevant empty elements: if (!is_array($otherElements)) { $otherElements = array($otherElements); } diff --git a/module/VuFind/src/VuFind/RecordDriver/SolrDefault.php b/module/VuFind/src/VuFind/RecordDriver/SolrDefault.php index 216ca4590d3f3cafcc97f555b7b53bcd0c0883ba..b1d415b22602edc1551b6fc783d8b6d4c62fce86 100644 --- a/module/VuFind/src/VuFind/RecordDriver/SolrDefault.php +++ b/module/VuFind/src/VuFind/RecordDriver/SolrDefault.php @@ -1451,7 +1451,7 @@ class SolrDefault extends AbstractBase * * @param string $hierarchyID The hierarchy to get the tree for * - * @return mixed An associative array of hierachy trees on success (id => title), + * @return mixed An associative array of hierarchy trees on success (id => title), * false if no hierarchies found */ public function getHierarchyTrees($hierarchyID = false) diff --git a/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php b/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php index bb01fdf89e94bd9c628f2370090a4c10d15c2899..9a1dd67b489a82afda9151f61733c8a0790091ef 100644 --- a/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php +++ b/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php @@ -222,7 +222,7 @@ class Ezb implements DriverInterface "Result[@state={$state}]/AccessURL"; $record['href'] = $xpath->query($urlXP, $result)->item($i)->nodeValue; // Service type needs to be hard-coded for calling code to properly - // categorize links. The commented out code below picks a more appropiate + // categorize links. The commented out code below picks a more appropriate // value but won't work for now -- retained for future reference. //$service_typeXP = "/OpenURLResponseXML/Full/ElectronicData/ResultList/" // . "Result[@state={$state}]/AccessLevel"; @@ -257,7 +257,7 @@ class Ezb implements DriverInterface $urlXP = "/OpenURLResponseXML/Full/PrintData/References/Reference/URL"; $record['href'] = $xpath->query($urlXP, $result)->item($i)->nodeValue; // Service type needs to be hard-coded for calling code to properly - // categorize links. The commented out code below picks a more appropiate + // categorize links. The commented out code below picks a more appropriate // value but won't work for now -- retained for future reference. //$service_typeXP = "/OpenURLResponseXML/Full/PrintData/References" // . "/Reference/Label"; diff --git a/module/VuFind/tests/fixtures/configs/1.1/sitemap.ini b/module/VuFind/tests/fixtures/configs/1.1/sitemap.ini index 68b542cef29a921965e9f2ed5fb75b8c24dbf4cf..1d192f6eefd8d0402e38287ba0ef1ea0f72f0a37 100644 --- a/module/VuFind/tests/fixtures/configs/1.1/sitemap.ini +++ b/module/VuFind/tests/fixtures/configs/1.1/sitemap.ini @@ -15,7 +15,7 @@ frequency = weekly ; countPerPage indicates how many URL entries will appear in each outputted sitemap ; This is useful in case your repository is huge (as many search engines cap ; the number of urls in a sitemap to around 50000) or if you're indexing formats -; that severly reduce the amount of items that can go into a sitemap (aka +; that severely reduce the amount of items that can go into a sitemap (aka ; images indexed in google max at 1000 per sitemap). countPerPage = 10000 diff --git a/module/VuFind/tests/fixtures/configs/1.2/sitemap.ini b/module/VuFind/tests/fixtures/configs/1.2/sitemap.ini index 68b542cef29a921965e9f2ed5fb75b8c24dbf4cf..1d192f6eefd8d0402e38287ba0ef1ea0f72f0a37 100644 --- a/module/VuFind/tests/fixtures/configs/1.2/sitemap.ini +++ b/module/VuFind/tests/fixtures/configs/1.2/sitemap.ini @@ -15,7 +15,7 @@ frequency = weekly ; countPerPage indicates how many URL entries will appear in each outputted sitemap ; This is useful in case your repository is huge (as many search engines cap ; the number of urls in a sitemap to around 50000) or if you're indexing formats -; that severly reduce the amount of items that can go into a sitemap (aka +; that severely reduce the amount of items that can go into a sitemap (aka ; images indexed in google max at 1000 per sitemap). countPerPage = 10000 diff --git a/module/VuFind/tests/fixtures/configs/1.3/sitemap.ini b/module/VuFind/tests/fixtures/configs/1.3/sitemap.ini index 68b542cef29a921965e9f2ed5fb75b8c24dbf4cf..1d192f6eefd8d0402e38287ba0ef1ea0f72f0a37 100644 --- a/module/VuFind/tests/fixtures/configs/1.3/sitemap.ini +++ b/module/VuFind/tests/fixtures/configs/1.3/sitemap.ini @@ -15,7 +15,7 @@ frequency = weekly ; countPerPage indicates how many URL entries will appear in each outputted sitemap ; This is useful in case your repository is huge (as many search engines cap ; the number of urls in a sitemap to around 50000) or if you're indexing formats -; that severly reduce the amount of items that can go into a sitemap (aka +; that severely reduce the amount of items that can go into a sitemap (aka ; images indexed in google max at 1000 per sitemap). countPerPage = 10000 diff --git a/module/VuFind/tests/fixtures/configs/1.4/sitemap.ini b/module/VuFind/tests/fixtures/configs/1.4/sitemap.ini index 68b542cef29a921965e9f2ed5fb75b8c24dbf4cf..1d192f6eefd8d0402e38287ba0ef1ea0f72f0a37 100644 --- a/module/VuFind/tests/fixtures/configs/1.4/sitemap.ini +++ b/module/VuFind/tests/fixtures/configs/1.4/sitemap.ini @@ -15,7 +15,7 @@ frequency = weekly ; countPerPage indicates how many URL entries will appear in each outputted sitemap ; This is useful in case your repository is huge (as many search engines cap ; the number of urls in a sitemap to around 50000) or if you're indexing formats -; that severly reduce the amount of items that can go into a sitemap (aka +; that severely reduce the amount of items that can go into a sitemap (aka ; images indexed in google max at 1000 per sitemap). countPerPage = 10000 diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php index b6271628a222d77140172a4a01ab6b4f715a470a..6bc126e4b61d6cd6d3d54383d91441890603bc91 100644 --- a/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php +++ b/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php @@ -123,7 +123,7 @@ class Connector implements LoggerAwareInterface } /** - * Get records similiar to one record + * Get records similar to one record * * @param array $record An associative array of the record data * @param string $id The record id