Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings wenn console commandos ausgeführt werden, obwohl noch kein setup erfolgt ist #2147

Closed
staabm opened this issue Oct 30, 2018 · 0 comments · Fixed by #2163
Closed
Labels
Console „Console“-Interface related things Developer Experience (DX) Enhancement Improvements for existing features

Comments

@staabm
Copy link
Member

staabm commented Oct 30, 2018

Description / Beschreibung
setup wurde noch nicht vollständig beendet. wenn man die rex-console bemüht sieht man warnings:

web@mk64bugrhwzvjgwxcukovennsi:~/bin$ php console db:connection-options
PHP Warning:  Invalid argument supplied for foreach() in /app/src/core/console.php on line 12
PHP Warning:  Invalid argument supplied for foreach() in /app/src/core/lib/console/application.php on line 48
--host='localhost'
--user='root'
--password=''
'redaxo_5_0'

Warning: Invalid argument supplied for foreach() in /app/src/core/console.php on line 12

Warning: Invalid argument supplied for foreach() in /app/src/core/lib/console/application.php on line 48

ggf. macht es sinn in der CLI einen "modus" zu haben bevor und nachdem das setup durchgeführt wurde, sodass man immer nur die commands sehen kann die auch schon "funktionieren".

rein fachlich sollten wohl keine commands ausser das cli-setup selbst zur verfügung stehen, solange das system noch nicht eingerichtet wurde

Affected versions / Verwendete Versionen
REDAXO: 5.6.4
PHP: 7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Console „Console“-Interface related things Developer Experience (DX) Enhancement Improvements for existing features
1 participant