Changelog
ExtraTools.getPhpInfo API method need super user access. They were open to the admin of any website, and phpinfo shows environment variables, which can hold passwords.matomo:install has no default password for the first user any more, and no longer prints the password. Breaking: an install without --first-user-pass, MATOMO_FIRST_USER_PASSWORD or a password in the install file now stops with an error.database:backup runs mysqldump without a shell, the database name is checked before database:create and database:drop use it, and user and password are quoted in the client option file. A password with # was cut short before.symfony/process, symfony/yaml, PHPUnit and PHP_CodeSniffer are updated, and the TechDocs workflow is pinned to a commit.matomo:install on a database that is already in use, as when Matomo is updated, now runs the updates of Matomo and its plugins. Before, every plugin was recorded at the version of its new code, so its update scripts were skipped.database:import reads the dump. It also has no time limit any more, returns a failure code when the file cannot be read, and defaults the port to 3306.site:delete and site:url no longer report success when the action failed. They print the reason and return a failure code.archive:list name entries for a single plugin and for a deleted segment correctly.plugin.json as it was in composer.json.PluginsUnInstalled are uninstalled by Matomo's own plugin manager, with their files left in place as before. Deactivating them now fires Matomo's PluginManager.pluginDeactivated event.Lib/CliManager.php, a copy of Matomo's plugin manager.extra:clear-external-cache command to clear Matomo's cache entries from the external (Redis) cache backend without relying on FLUSHDB.database:backup, database:create, database:drop, database:import) and matomo:install, using the enable_ssl, ssl_ca, ssl_cert, ssl_key, ssl_ca_path, ssl_cipher and ssl_no_verify keys from the [database] config, matching command line options and environment variables.config:get renamed to extra:config:getphpinfo() page moved to: Administration -> Extra Tools -> Phpinfo.