mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-29 14:13:30 +00:00
17 lines
319 B
PHP
17 lines
319 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Skipper\Contract;
|
|
|
|
interface SkipVoterInterface
|
|
{
|
|
/**
|
|
* @param string|object $element
|
|
*/
|
|
public function match($element) : bool;
|
|
/**
|
|
* @param string|object $element
|
|
*/
|
|
public function shouldSkip($element, string $filePath) : bool;
|
|
}
|