mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
16 lines
431 B
PHP
16 lines
431 B
PHP
|
<?php
|
||
|
namespace Vimeo\CodeAnalysis\EchoChecker;
|
||
|
|
||
|
use Psalm\PluginApi;
|
||
|
use SimpleXMLElement;
|
||
|
|
||
|
class PluginEntryPoint implements PluginApi\PluginEntryPointInterface
|
||
|
{
|
||
|
/** @return void */
|
||
|
public function __invoke(PluginApi\RegistrationInterface $registration, ?SimpleXMLElement $config = null)
|
||
|
{
|
||
|
require_once __DIR__ . '/EchoChecker.php';
|
||
|
$registration->registerHooksFromClass(EchoChecker::class);
|
||
|
}
|
||
|
}
|