]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/SearchContextTest.php
remove duplicate values
[nominatim.git] / test / php / Nominatim / SearchContextTest.php
index 166e6433d141d259007cbc5b7e17686149d49faf..b5ef1a7a420d798eae5fcddabe30cf74b6fca0fb 100644 (file)
@@ -1,15 +1,23 @@
 <?php
+/**
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ * This file is part of Nominatim. (https://nominatim.org)
+ *
+ * Copyright (C) 2022 by the Nominatim developer community.
+ * For a full list of authors see the git log.
+ */
 
 namespace Nominatim;
 
-require_once(CONST_BasePath.'/lib/SearchContext.php');
+require_once(CONST_LibDir.'/SearchContext.php');
 
 class SearchContextTest extends \PHPUnit\Framework\TestCase
 {
     private $oCtx;
 
 
-    protected function setUp()
+    protected function setUp(): void
     {
         $this->oCtx = new SearchContext();
     }