Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 938 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 938 Bytes

oauth2-server-php

Build Status

Total Downloads

View the complete documentation

FORK

The purpose of this fork is to make the \OAuth2\ResponseInterface::setStatusCode() compatible with Symfony >= 4.
Currently it throws the following error when trying to use the oauth2-server-bundle from a PHP 7.4/Symfony 4/5 application:
Compile Error: Declaration of OAuth2\HttpFoundationBridge\Response::setStatusCode($statusCode, $text = NULL) must be compatible with Symfony\Component\HttpFoundation\Response::setStatusCode(int $code, $text = NULL): object
This will raise the PHP requirement to >=7.2