Completed
Push — master ( 84107b...f0cb22 )
by Robbie
11s
created

FluentStubObject   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace TractorCow\Fluent\Tests\Extension\Stub;
4
5
use SilverStripe\Core\Extensible;
6
use SilverStripe\Dev\TestOnly;
7
8
class FluentStubObject implements TestOnly
9
{
10
    use Extensible;
11
12
    public function __construct()
13
    {
14
        $this->constructExtensions();
0 ignored issues
show
Deprecated Code introduced by
The function TractorCow\Fluent\Tests\...::constructExtensions() has been deprecated: 4.0..5.0 Extensions and methods are now lazy-loaded ( Ignorable by Annotation )

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

14
        /** @scrutinizer ignore-deprecated */ $this->constructExtensions();

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
15
    }
16
}
17