Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — 0.9 (#692)
by
unknown
02:58
created

No   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
ccs 7
cts 7
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 3
1
<?php
2
namespace Respect\Validation\Rules;
3
4
class No extends Regex
5
{
6 13
    public function __construct($useLocale = false)
7
    {
8 13
        $pattern = '^n(o(t|pe)?|ix|ay)?$';
9 13
        if ($useLocale && defined('NOEXPR')) {
10 1
            $pattern = nl_langinfo(NOEXPR);
11 1
        }
12
13 13
        parent::__construct('/'.$pattern.'/i');
14 13
    }
15
}
16