AssetsTests   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_static_call() 0 4 1
1
<?php
2
3
namespace ByTIC\Assets\Tests;
4
5
use ByTIC\Assets\Assets;
6
7
/**
8
 * Class AssetsTests
9
 * @package ByTIC\Assets\Tests
10
 */
11
class AssetsTests extends AbstractTest
12
{
13
    public function test_static_call()
14
    {
15
        $collection = Assets::styles();
0 ignored issues
show
Bug Best Practice introduced by
The method ByTIC\Assets\Assets::styles() is not static, but was called statically. ( Ignorable by Annotation )

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

15
        /** @scrutinizer ignore-call */ 
16
        $collection = Assets::styles();
Loading history...
16
        self::assertInstanceOf(Assets\AssetCollection::class, $collection);
17
    }
18
}
19