psalm-plugin-phpunit/Plugin.php

16 lines
389 B
PHP
Raw Normal View History

2018-11-14 06:36:33 +01:00
<?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/TestCase.php');
}
}