Roots Discourse

WPCLI + bedrock

Hi

I am using WPCLI. And getting the error below.

-bash-4.2$ wp db check                                                                                           
PHP Parse error:  syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARI
ABLE) or '{' or '$' in /var/www/u916199/data/www/site/stage/vendor/roots/wp-config/src/Config.php on line 37 

PHP 7.2 running on Apache. Shared hosting.