Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

A library for implementing an OAuth2 Server in php

License

Notifications You must be signed in to change notification settings

wirelane/oauth2-server-php

 
 

Repository files navigation

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