docs and comments
authorgggeek <giunta.gaetano@gmail.com>
Fri, 25 Nov 2022 11:09:25 +0000 (11:09 +0000)
committergggeek <giunta.gaetano@gmail.com>
Fri, 25 Nov 2022 11:09:25 +0000 (11:09 +0000)
NEWS
demo/client/_prepend.php
tests/ci/setup/setup_php.sh

diff --git a/NEWS b/NEWS
index 7b1831a..6f7070d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
 XML-RPC for PHP version xxx - unreleased
 
+* fixed: a php warning on php 8 when parsing responses which do not have a Content-Type header
+
+* fixed: added a missing html-escaping call in demo file `introspect.php`
+
 * fixed: decoding of responses with latin-1 charset declared in the xml prolog but not in http headers, when on php 5.4, 5.5
 
 * fixed: DateTimeInterface is not present in php 5.4 (error introduced in ver. 4.8.1)
@@ -8,7 +12,7 @@ XML-RPC for PHP version xxx - unreleased
   overriding the integer value of `PhpXmlRpc::$xmlrpcerr['invalid_xml']`, `PhpXmlRpc::$xmlrpcerr['xml_not_compliant']`,
   `PhpXmlRpc::$xmlrpcerr['xml_parsing_error']` and the equivalent `PhpXmlRpc::$xmlrpcstr` strings. Feature req. #101
 
-* improved: CI tests now run on php versions 5.4, 5.5 besides all more recent ones
+* improved: CI tests now run on php versions 5.4 and 5.5, besides all more recent ones
 
 * improved: the test container for local testing now defaults to php 7.4 on ubuntu 20 focal
 
index d3b4031..c29d7ec 100644 (file)
@@ -36,7 +36,7 @@ if (isset($_COOKIE['PHPUNIT_SELENIUM_TEST_ID']) && extension_loaded('xdebug')) {
     include_once __DIR__ . "/../../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/prepend.php";
 }
 
-// A helper for cli vs we output:
+// A helper for cli vs web output:
 function output($text)
 {
     echo PHP_SAPI == 'cli' ? strip_tags(str_replace('<br/>', "\n", $text)) : $text;
index f7e1415..06c2ebe 100755 (executable)
@@ -30,6 +30,8 @@ configure_php_ini() {
 PHP_VERSION="$1"
 DEBIAN_VERSION="$(lsb_release -s -c)"
 
+# @todo use native packages if requested for a specific version and that is the same as available in the os repos
+
 if [ "${PHP_VERSION}" = default ]; then
     echo "Using native PHP packages..."