GenderizeTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A check_the_facade_could_be_called() 0 3 1
1
<?php namespace Pixelpeter\Genderize\Test;
2
3
use Pixelpeter\Genderize\Facades\Genderize;
4
use Pixelpeter\Genderize\TestCase;
5
6
class GenderizeTest extends TestCase
7
{
8
    /**
9
     * Check the facade can be called
10
     *
11
     * @test
12
     */
13
    public function check_the_facade_could_be_called()
14
    {
15
        $this->assertInstanceOf(\Pixelpeter\Genderize\GenderizeClient::class, Genderize::name('John'));
0 ignored issues
show
Bug introduced by
The method name() does not exist on Pixelpeter\Genderize\Facades\Genderize. Since you implemented __callStatic, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

15
        $this->assertInstanceOf(\Pixelpeter\Genderize\GenderizeClient::class, Genderize::/** @scrutinizer ignore-call */ name('John'));
Loading history...
16
    }
17
}
18