for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Blackmine\Tests\Model\Issue;
use Blackmine\Model\Issue\Status;
use Blackmine\Tests\Model\AbstractModelTest;
class StatusTest extends AbstractModelTest
{
public const TEST_MODEL = Status::class;
public function testClose()
$this->testable_entity->close();
close()
Blackmine\Model\AbstractModel
__call
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->testable_entity->/** @scrutinizer ignore-call */
close();
$this->assertTrue($this->testable_entity->isClosed());
isClosed()
$this->assertTrue($this->testable_entity->/** @scrutinizer ignore-call */ isClosed());
}