tag for next version; try to fix generation of code coverage
authorgggeek <giunta.gaetano@gmail.com>
Thu, 9 Dec 2021 23:13:00 +0000 (23:13 +0000)
committergggeek <giunta.gaetano@gmail.com>
Thu, 9 Dec 2021 23:13:00 +0000 (23:13 +0000)
src/PhpXmlRpc.php
tests/ci/setup/setup_code_coverage.sh

index 90a18fe..db3e982 100644 (file)
@@ -78,7 +78,7 @@ class PhpXmlRpc
     public static $xmlrpc_internalencoding = "UTF-8";
 
     public static $xmlrpcName = "XML-RPC for PHP";
-    public static $xmlrpcVersion = "4.6.0";
+    public static $xmlrpcVersion = "4.6.1-dev";
 
     // let user errors start at 800
     public static $xmlrpcerruser = 800;
index 11309a6..49e7af8 100755 (executable)
@@ -8,6 +8,9 @@
 
 set -e
 
+PHPCONFDIR_CLI=$(php -i | grep 'Scan this dir for additional .ini files' | sed 's|Scan this dir for additional .ini files => ||')
+PHPCONFDIR_FPM=$(echo "$PHPCONFDIR_CLI" | sed 's|/cli/|/fpm/|')
+
 enable_cc() {
     if [ -L "${PHPCONFDIR_CLI}/99-codecoverage_xdebug.ini" ]; then sudo rm "${PHPCONFDIR_CLI}/99-codecoverage_xdebug.ini"; fi
     sudo ln -s $(realpath tests/ci/config/codecoverage_xdebug.ini) "${PHPCONFDIR_CLI}/99-codecoverage_xdebug.ini"