for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Leonidas\Library\System\Model\Abstracts\Post;
trait PolymorphicPostModelTrait
{
use MappedToWpPostTrait;
public function getPostFormat(): string
return get_post_format($this->post);
get_post_format
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return /** @scrutinizer ignore-call */ get_post_format($this->post);
}