mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
PHP bug 66773 workaround in Hybridauth
In PHP 7.0.12 and earlier, a class could not be loaded with the same name as another class in a different namespace. This commit patches the Hybridauth dependency to avoid PHP bug 66773. Unfortunately, the fix will be rolled back any time Hybridauth is updated or overwritten. PHP bug link: https://bugs.php.net/bug.php?id=66773
This commit is contained in:
parent
34ff7e464a
commit
539c3f1a67
@ -7,12 +7,12 @@
|
||||
|
||||
namespace Hybridauth\Provider;
|
||||
|
||||
use Hybridauth\Adapter\OpenID;
|
||||
use Hybridauth\Adapter\OpenID as OpenIDAdapter;
|
||||
|
||||
/**
|
||||
* AOL OpenID provider adapter.
|
||||
*/
|
||||
class AOLOpenID extends OpenID
|
||||
class AOLOpenID extends OpenIDAdapter
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Hybridauth\Provider;
|
||||
|
||||
use Hybridauth\Adapter;
|
||||
use Hybridauth\Adapter\OpenID as OpenIDAdapter;
|
||||
|
||||
/**
|
||||
* Generic OpenID providers adapter.
|
||||
@ -39,6 +39,6 @@ use Hybridauth\Adapter;
|
||||
* echo $e->getMessage() ;
|
||||
* }
|
||||
*/
|
||||
class OpenID extends Adapter\OpenID
|
||||
class OpenID extends OpenIDAdapter
|
||||
{
|
||||
}
|
||||
|
@ -7,13 +7,13 @@
|
||||
|
||||
namespace Hybridauth\Provider;
|
||||
|
||||
use Hybridauth\Adapter\OpenID;
|
||||
use Hybridauth\Adapter\OpenID as OpenIDAdapter;
|
||||
use Hybridauth\HttpClient;
|
||||
|
||||
/**
|
||||
* PayPal OpenID provider adapter.
|
||||
*/
|
||||
class PaypalOpenID extends OpenID
|
||||
class PaypalOpenID extends OpenIDAdapter
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
namespace Hybridauth\Provider;
|
||||
|
||||
use Hybridauth\Adapter\OpenID;
|
||||
use Hybridauth\Adapter\OpenID as OpenIDAdapter;
|
||||
|
||||
/**
|
||||
* StackExchange OpenID provider adapter.
|
||||
*/
|
||||
class StackExchangeOpenID extends OpenID
|
||||
class StackExchangeOpenID extends OpenIDAdapter
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Hybridauth\Provider;
|
||||
|
||||
use Hybridauth\Adapter\OpenID;
|
||||
use Hybridauth\Adapter\OpenID as OpenIDAdapter;
|
||||
use Hybridauth\Exception\UnexpectedApiResponseException;
|
||||
use Hybridauth\Data;
|
||||
use Hybridauth\User;
|
||||
@ -32,7 +32,7 @@ use Hybridauth\User;
|
||||
* echo $e->getMessage() ;
|
||||
* }
|
||||
*/
|
||||
class Steam extends OpenID
|
||||
class Steam extends OpenIDAdapter
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
Loading…
x
Reference in New Issue
Block a user