mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-12-11 17:09:48 +01:00
16 lines
389 B
PHP
16 lines
389 B
PHP
|
<?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');
|
||
|
}
|
||
|
}
|