Issues (24)

tests/Facades/GenderizeTest.php (1 issue)

Labels
Severity
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
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