Warning: Unsupported declare 'strict_types' in C:\Apache24\htdocs\drupal\core\modules\user\tests\src\Kernel\UserNameValidatorTest.php on line 3

Parse error: syntax error, unexpected 'UserNameValidator' (T_STRING), expecting variable (T_VARIABLE) in C:\Apache24\htdocs\drupal\core\modules\user\tests\src\Kernel\UserNameValidatorTest.php on line 26