diff --git a/module/VuFind/src/VuFind/ILS/Driver/DAIA.php b/module/VuFind/src/VuFind/ILS/Driver/DAIA.php index 6dbdd76f062bd88c769700b3a76d908577ff3892..f76e83471926585fe0968354b92dc3a39b89d293 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/DAIA.php +++ b/module/VuFind/src/VuFind/ILS/Driver/DAIA.php @@ -362,7 +362,7 @@ class DAIA extends AbstractBase implements { $http_headers = [ 'Content-type: ' . $this->contentTypesRequest[$this->daiaResponseFormat], - 'Accept: ' . $this->contentTypesRequest[$this->daiaResponseFormat], + 'Accept: ' . $this->contentTypesRequest[$this->daiaResponseFormat], ]; $params = [ diff --git a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php index 139f90a487882ba7d5ebbeb0ca3e31402d903727..429f40e4f35d1447bff9055adb50f913d58b4dc8 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php @@ -322,7 +322,7 @@ class Unicorn extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterf $cmp = create_function( '$a,$b', 'if ($a["shelving_key"] == $b["shelving_key"]) ' - . 'return $a["number"] - $b["number"];' + . 'return $a["number"] - $b["number"];' . 'return $a["shelving_key"] < $b["shelving_key"] ? 1 : -1;' ); usort($items, $cmp); diff --git a/module/VuFind/src/VuFind/ILS/Driver/Virtua.php b/module/VuFind/src/VuFind/ILS/Driver/Virtua.php index 2b957a8c4a802d37db28f347dad711895881b131..ec816b65964f521e63de5afa8b003a60e6c18121 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Virtua.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Virtua.php @@ -1764,24 +1764,24 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa // Have to use raw post data because of the way // virtua expects the barcodes to come across. - $post_data = "function=" . "RENEWAL"; - $post_data .= "&search=" . "PATRON"; - $post_data .= "&sessionid=" . "$session_id"; - $post_data .= "&skin=" . "homepage"; - $post_data .= "&lng=" . $this->getConfiguredLanguage(); - $post_data .= "&inst=" . "consortium"; - $post_data .= "&conf=" . urlencode("./chameleon.conf"); - $post_data .= "&u1=" . "12"; + $post_data = "function=" . "RENEWAL"; + $post_data .= "&search=" . "PATRON"; + $post_data .= "&sessionid=" . "$session_id"; + $post_data .= "&skin=" . "homepage"; + $post_data .= "&lng=" . $this->getConfiguredLanguage(); + $post_data .= "&inst=" . "consortium"; + $post_data .= "&conf=" . urlencode("./chameleon.conf"); + $post_data .= "&u1=" . "12"; $post_data .= "&SourceScreen=" . "PATRONACTIVITY"; - $post_data .= "&pos=" . "1"; - $post_data .= "&patronid=" . $patron['cat_username']; + $post_data .= "&pos=" . "1"; + $post_data .= "&patronid=" . $patron['cat_username']; $post_data .= "&patronhost=" . urlencode($this->config['Catalog']['patron_host']); $post_data .= "&host=" . urlencode($this->config['Catalog']['host_string']); - $post_data .= "&itembarcode=" . implode("&itembarcode=", $item_list); - $post_data .= "&submit=" . "Renew"; - $post_data .= "&reset=" . "Clear"; + $post_data .= "&itembarcode=" . implode("&itembarcode=", $item_list); + $post_data .= "&submit=" . "Renew"; + $post_data .= "&reset=" . "Clear"; $result = $this->httpRequest($virtua_url, null, $post_data); @@ -1832,7 +1832,7 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa } foreach ($result as $row) { - $list[] = 'vtls' . str_pad($row['AUTH_ID'], 9, "0", STR_PAD_LEFT); + $list[] = 'vtls' . str_pad($row['AUTH_ID'], 9, "0", STR_PAD_LEFT); } return $list; } diff --git a/module/VuFind/src/VuFind/Service/Factory.php b/module/VuFind/src/VuFind/Service/Factory.php index 01cc65b7ff498ff0e6ab9bf97fcd8f05e553ce67..2c350d1e30dffe9c319788b71b83e6bd4644a2db 100644 --- a/module/VuFind/src/VuFind/Service/Factory.php +++ b/module/VuFind/src/VuFind/Service/Factory.php @@ -873,7 +873,7 @@ class Factory // Set up the ExtendedIni plugin: $config = $sm->get('VuFind\Config')->get('config'); $pathStack = [ - APPLICATION_PATH . '/languages', + APPLICATION_PATH . '/languages', LOCAL_OVERRIDE_DIR . '/languages' ]; $fallbackLocales = $config->Site->language == 'en' diff --git a/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php b/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php index 3003ae5c32c9055ea5f26731f0cf9abbec171714..752bb3eb3a175a122652088a64a90bd63f3736a3 100644 --- a/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php +++ b/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php @@ -89,7 +89,7 @@ class DevtoolsController extends \VuFind\Controller\AbstractBase public function languageAction() { // Test languages with no local overrides and no fallback: - $loader = new ExtendedIni([APPLICATION_PATH . '/languages']); + $loader = new ExtendedIni([APPLICATION_PATH . '/languages']); $helper = new LanguageHelper($loader, $this->getConfig()); return $helper->getAllDetails($this->params()->fromQuery('main', 'en')); } diff --git a/module/VuFindDevTools/src/VuFindDevTools/LanguageHelper.php b/module/VuFindDevTools/src/VuFindDevTools/LanguageHelper.php index 222b746d9c525ec1f130c8d6b5418e167d192a6c..6628e741680c9496a1c71eb322a33aa2857afbdb 100644 --- a/module/VuFindDevTools/src/VuFindDevTools/LanguageHelper.php +++ b/module/VuFindDevTools/src/VuFindDevTools/LanguageHelper.php @@ -178,7 +178,7 @@ class LanguageHelper { static $domains = false; if (!$domains) { - $base = APPLICATION_PATH . '/languages'; + $base = APPLICATION_PATH . '/languages'; $dir = opendir($base); $domains = []; while ($current = readdir($dir)) { diff --git a/module/VuFindTheme/src/VuFindTheme/LessCompiler.php b/module/VuFindTheme/src/VuFindTheme/LessCompiler.php index cdcd2ba2b99b07a5ee8ede49d2cd7658c3bc113b..17c4b3830cd8afa17c946ea6185d92821df0e1cb 100644 --- a/module/VuFindTheme/src/VuFindTheme/LessCompiler.php +++ b/module/VuFindTheme/src/VuFindTheme/LessCompiler.php @@ -181,7 +181,7 @@ class LessCompiler list($fileName, ) = explode('.', $less); $finalFile = $finalOutDir . $fileName . '.css'; - $this->logMessage("\tcompiling '" . $less . "' into '" . $finalFile . "'"); + $this->logMessage("\tcompiling '" . $less . "' into '" . $finalFile . "'"); $start = microtime(true); $directories = [];