Passed
Push — main ( 1c7dfd...e0e27b )
by Andrey
16:04 queued 14:32
created

Stringable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 4
c 2
b 1
f 0
dl 0
loc 9
ccs 0
cts 3
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Helldar\Support\Helpers;
4
5
use Helldar\Support\Concerns\Deprecation;
6
7
class Stringable extends Ables\Stringable
8
{
9
    use Deprecation;
10
11
    public function __construct(?string $value = null)
12
    {
13
        static::deprecatedClass(Ables\Stringable::class);
14
15
        parent::__construct($value);
16
    }
17
}
18