for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByTIC\Assets\Tests;
use ByTIC\Assets\Assets;
/**
* Class AssetsTests
* @package ByTIC\Assets\Tests
*/
class AssetsTests extends AbstractTest
{
public function test_static_call()
$collection = Assets::styles();
ByTIC\Assets\Assets::styles()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
self::assertInstanceOf(Assets\AssetCollection::class, $collection);
}