GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 30b5dd...e3dde5 )
by Hong
02:42
created

UuidTrackingMiddleware::before()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
/**
3
 * Phossa Project
4
 *
5
 * PHP version 5.4
6
 *
7
 * @category  Library
8
 * @package   Phossa2\Middleware
9
 * @copyright Copyright (c) 2016 phossa.com
10
 * @license   http://mit-license.org/ MIT License
11
 * @link      http://www.phossa.com/
12
 */
13
/*# declare(strict_types=1); */
14
15
namespace Phossa2\Middleware\Middleware;
16
17
use Psr\Http\Message\RequestInterface;
18
use Psr\Http\Message\ResponseInterface;
19
20
/**
21
 * UuidTrackingMiddleware
22
 *
23
 * Tracking user with followings.
24
 *
25
 * - unique user uuid
26
 * - current session uuid
27
 * - current request uuid
28
 *
29
 * @package Phossa2\Middlewaer
30
 * @author  Hong Zhang <[email protected]>
31
 * @see     MiddlewareAbstract
32
 * @version 2.0.0
33
 * @since   2.0.0 added
34
 */
35
class UuidTrackingMiddleware extends MiddlewareAbstract
36
{
37
    /**
38
     * {@inheritDoc}
39
     */
40
    protected function before(
41
        RequestInterface $request,
42
        ResponseInterface $response
43
    )/* : ResponseInterface */ {
44
    }
45
46
    /**
47
     * Doing nothing afterwards
48
     *
49
     * {@inheritDoc}
50
     */
51
    protected function after(
52
        RequestInterface $request,
53
        ResponseInterface $response
54
    )/* : ResponseInterface */ {
55
        return $response;
56
    }
57
}
58