Update comment to reflect that a bug has been filed with PHP-analyzer.
This commit is contained in:
parent
c4dcba1e91
commit
993aacaea5
@ -870,9 +870,11 @@ function transload($url, $mfile) {
|
|||||||
fwrite($fp, $data);
|
fwrite($fp, $data);
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
// Scrutinizer-ci complains that $http_response_header not defined.
|
//
|
||||||
// However, it is auto defined by PHP.
|
// Scrutinizer-ci complains that $http_response_header does not exist,
|
||||||
// See: http://us2.php.net/manual/en/reserved.variables.httpresponseheader.php
|
// however, $http_response_header is actually a super-global.
|
||||||
|
// I have filed a bug with PHP-Analyzer here: https://github.com/scrutinizer-ci/php-analyzer/issues/212
|
||||||
|
//
|
||||||
$headers = http_parse_headers(implode("\n", $http_response_header));
|
$headers = http_parse_headers(implode("\n", $http_response_header));
|
||||||
|
|
||||||
return $headers;
|
return $headers;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user