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 ( 03b29d...4e2dc2 )
by Simone
11s
created

StringParserTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
dl 0
loc 9
rs 10
c 1
b 1
f 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testTransformSnakeCaseInLowerCamelCaseStrings() 0 7 1
1
<?php
2
3
use Mado\QueryBundle\Services\StringParser;
4
use PHPUnit\Framework\TestCase;
5
6
class StringParserTest extends TestCase
7
{
8
    public function testTransformSnakeCaseInLowerCamelCaseStrings()
9
    {
10
        $this->parser = new StringParser();
0 ignored issues
show
Bug Best Practice introduced by
The property parser does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
11
12
        $this->assertEquals(
13
            'fizzBuzzFooBar',
14
            $this->parser->camelize('fizz_buzz_foo_bar')
15
        );
16
    }
17
}
18