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   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testConstruct() 0 13 2
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
}