Steps to reproduce the issue
Execute php_cli cli/joomla.php
on console
Expected result
Joomla! 4.0.0-dev
Usage:
command [options] [arguments]
Options:
-h, --help Display the help information
-q, --quiet Flag indicating that all output should be silenced
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Flag to disable interacting with the user
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
help Show the help for a command
list List the application's available commands
cache
cache:clean Cleans expired cache entries
update
update:extensions:check Checks for pending extension updates
update:joomla:remove-old-files Removes old system files
Actual result
Error occurred: Call to undefined method Joomla\CMS\Application\ConsoleApplication::getConfig()
System information (as much as possible)
php_cli -v
PHP 7.1.9 (cli) (built: Sep 5 2017 10:48:18) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.1, Copyright (c) 2002-2017, by ionCube Ltd.
Additional comments
php_cli
is on my system cli alias for php
I had this fixed in a PR that's now going nowhere. Extracted and merged to 4.0-dev via 53f3a23