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.

NStackLoaderTest::testConstruct()   A
last analyzed

Complexity

Conditions 2
Paths 4

Size

Total Lines 13
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
cc 2
eloc 6
c 2
b 0
f 1
nc 4
nop 0
dl 0
loc 13
rs 10
1
<?php
2
3
namespace NStack\Tests\Translation;
4
5
use Illuminate\Filesystem\Filesystem;
6
use NStack\Tests\LaravelTestCase;
7
use NStack\Translation\NStackLoader;
8
9
class NStackLoaderTest extends LaravelTestCase
10
{
11
    public function testConstruct()
12
    {
13
        try {
14
            $storage = new Filesystem();
15
16
            $nstack = $this->mockNStack();
17
            $nstackLoader = new NStackLoader($storage, '', $nstack);
0 ignored issues
show
Unused Code introduced by
The assignment to $nstackLoader is dead and can be removed.
Loading history...
18
        } catch (\Throwable $e) {
19
            // TODO
20
21
        }
22
23
        $this->assertTrue(true);
24
    }
25
}