psalm-plugin-phpunit/Plugin.php
2018-11-14 09:23:26 -05:00

17 lines
446 B
PHP
Executable File

<?php
namespace Psalm\PhpUnitPlugin;
use SimpleXMLElement;
use Psalm\Plugin\PluginEntryPointInterface;
use Psalm\Plugin\RegistrationInterface;
class Plugin implements PluginEntryPointInterface
{
/** @return void */
public function __invoke(RegistrationInterface $psalm, SimpleXMLElement $config = null)
{
$psalm->addStubFile(__DIR__ . '/stubs/Assert.php');
$psalm->addStubFile(__DIR__ . '/stubs/TestCase.php');
}
}