Warning: Unsupported declare 'strict_types' in /var/www/html/Packages/Libraries/monolog/monolog/src/Monolog/Logger.php on line 1

Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /var/www/html/Packages/Libraries/monolog/monolog/src/Monolog/Logger.php on line 33