for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Moka\Tests;
use Moka\Plugin\PluginInterface;
use Moka\Strategy\MockingStrategyInterface;
use PHPUnit\Framework\TestCase;
abstract class MokaPluginTestCase extends TestCase
{
/**
* @var PluginInterface
*/
protected $pluginFQCN;
final public function testGetStrategy()
$this->assertInstanceOf(MockingStrategyInterface::class, ($this->pluginFQCN)::getStrategy());
}
final protected function setPluginFQCN(string $pluginFQCN)
$this->pluginFQCN = $pluginFQCN;
$pluginFQCN
string
object<Moka\Plugin\PluginInterface>
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..