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
Pull Request — master (#62)
by Jelte
04:52
created

RemovesUnwantedParameters()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
c 2
b 1
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Marlon Ogone package.
5
 *
6
 * (c) Marlon BVBA <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ogone\Tests\ShaComposer;
13
14
use Ogone\ParameterFilter\ShaInParameterFilter;
15
16
class ShaInParameterFilterTest extends \PHPUnit_Framework_TestCase
17
{
18
    /** @test */
19
    public function RemovesUnwantedParameters()
20
    {
21
        $filter = new ShaInParameterFilter;
22
        $result = $filter->filter(array('foo' => 'bar', 'orderId' => 123));
23
        $this->assertEquals(array('ORDERID' => 123), $result);
24
    }
25
}
26