oauth2-server-php icon indicating copy to clipboard operation
oauth2-server-php copied to clipboard

Can't inherit function validateRequest()

Open niravtrivedi opened this issue 12 years ago • 3 comments

I go thru http://bshaffer.github.io/oauth2-server-php-docs/cookbook/ but getting error

Fatal error: Can't inherit abstract function OAuth2\GrantType\GrantTypeInterface::validateRequest() (previously declared abstract in OAuth2\ClientAssertionType\ClientAssertionTypeInterface) in /var/www/my-oauth2-walkthrough/oauth2-server-php/src/OAuth2/GrantType/ClientCredentials.php on line 15

php version => PHP 5.5.7 (cli) (built: Jan 10 2014 15:28:50) in Ubuntu 11.10 Also change working folder permission to 0777.

Any suggestion or clues thank you in advance.

niravtrivedi avatar Jan 10 '14 10:01 niravtrivedi

This is interesting, as we have tests in PHP 5.5 that are passing. Are you still having this issue with the latest version?

See http://3v4l.org/ihSmU - this should work for PHP 5.3.9+

bshaffer avatar Apr 05 '14 00:04 bshaffer

please reopen this if you're still having this issue

bshaffer avatar Apr 05 '14 16:04 bshaffer

Thank you for Brent reply me.Issue is solved.

On Sat, Apr 5, 2014 at 10:16 PM, Brent Shaffer [email protected]:

Closed #300 https://github.com/bshaffer/oauth2-server-php/issues/300.

— Reply to this email directly or view it on GitHubhttps://github.com/bshaffer/oauth2-server-php/issues/300 .

Thanks & Regards, Nirav Trivedi

niravtrivedi avatar Apr 07 '14 04:04 niravtrivedi