Fake   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 3
eloc 3
dl 0
loc 24
c 2
b 0
f 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getAuthorizationEndpoint() 0 2 1
A parseAccessTokenResponse() 0 2 1
A getAccessTokenEndpoint() 0 2 1
1
<?php
2
3
namespace OAuthTest\Mocks\OAuth2\Service;
4
5
use OAuth\OAuth2\Service\AbstractService;
6
7
class Fake extends AbstractService
8
{
9
    const SCOPE_FOO = 'https://www.pieterhordijk.com/auth';
10
    const SCOPE_CUSTOM = 'custom';
11
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function getAuthorizationEndpoint(): void
16
    {
17
    }
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function getAccessTokenEndpoint(): void
23
    {
24
    }
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    protected function parseAccessTokenResponse($responseBody): void
30
    {
31
    }
32
}
33