]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/DebugTest.php
adding prefix to keys is now more configurable
[nominatim.git] / test / php / Nominatim / DebugTest.php
index 7ef1dba336836be7f6f6626a75f36943e6edb472..dbce890f4ce3ea9477b32d9f8e5c769eb3ac7f97 100644 (file)
@@ -1,13 +1,21 @@
 <?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/DebugHtml.php');
+require_once(CONST_LibDir.'/DebugHtml.php');
 
 class DebugTest extends \PHPUnit\Framework\TestCase
 {
 
-    protected function setUp()
+    protected function setUp(): void
     {
         $this->oWithDebuginfo = $this->getMockBuilder(\GeococdeMock::class)
                                     ->setMethods(array('debugInfo'))