Issues (28)

tests/src/AssetsTests.php (1 issue)

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