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.
Completed
Pull Request — 3.x (#89)
by Jindřich
02:37
created

WebServiceNameTest::testIsNotValid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
6
namespace Skaut\Skautis\Test\Unit;
7
8
9
use PHPUnit\Framework\TestCase;
10
use Skaut\Skautis\Wsdl\WebServiceName;
11
12
class WebServiceNameTest extends TestCase
13
{
14
15
  public function testIsValid(): void
16
  {
17
    $this->assertTrue(WebServiceName::isValidServiceName(WebServiceName::APPLICATION_MANAGEMENT));
18
    $this->assertTrue(WebServiceName::isValidServiceName(WebServiceName::WELCOME));
19
  }
20
21
  public function testIsNotValid(): void
22
  {
23
    $this->assertFalse(WebServiceName::isValidServiceName('usr'));
24
    $this->assertFalse(WebServiceName::isValidServiceName('user'));
25
  }
26
}