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.

EnvTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 14
c 0
b 0
f 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testOnce() 0 10 1
1
<?php
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer;
9
10
class EnvTest extends AbstractTest
0 ignored issues
show
Deprecated Code introduced by
The class Deployer\AbstractTest has been deprecated: Use JoyTest instead. ( Ignorable by Annotation )

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

10
class EnvTest extends /** @scrutinizer ignore-deprecated */ AbstractTest
Loading history...
11
{
12
    public const RECIPE = __DIR__ . '/recipe/env.php';
13
14
    public function testOnce()
15
    {
16
        $this->dep(self::RECIPE, 'test');
17
18
        $display = $this->tester->getDisplay();
19
        self::assertEquals(0, $this->tester->getStatusCode(), $display);
20
        self::assertStringContainsString('global=global', $display);
21
        self::assertStringContainsString('local=local', $display);
22
        self::assertStringContainsString('dotenv=Hello, world!', $display);
23
        self::assertStringContainsString('dotenv=local', $display);
24
    }
25
}
26