SafeBrowsingTest::testResult()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 2
b 1
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
use PHPUnit\Framework\TestCase;
6
use rOpenDev\Google\SafeBrowsing;
7
8
final class SafeBrowsingTest extends TestCase
9
{
10
    public function testResult(): void
11
    {
12
        $result = SafeBrowsing::get('https://piedweb.com');
13
14
        $this->assertTrue($result);
15
    }
16
}
17