By chance (running php8.4 linter across hole vendor folder) I found that in KeycloakTest a semicolon is missing. See https://github.com/stevenmaguire/oauth2-keycloak/blob/1b690b7377dfe7a23e1590373f37e12cf40a6d75/test/src/Provider/KeycloakTest.php#L514