We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8abcebb commit 6caf1c9Copy full SHA for 6caf1c9
tests/autoload.php
@@ -8,4 +8,11 @@
8
function getallheaders(){
9
return [];
10
}
11
-}
+}
12
+
13
+// following $_SERVER paramaeters are prefilled to avoid notices in CI Environment
14
+$_SERVER['REMOTE_ADDR'] = 'localhost';
15
+$_SERVER['REQUEST_URI'] = '/tests';
16
+$_SERVER['PLATFORM_APPLICATION_PATH '] = '/tests';
17
+$_SERVER['HTTP_HOST'] = 'localhost';
18
+$_SERVER['REQUEST_METHOD'] = 'GET';
0 commit comments