2020-05-13 22:43:48 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2020-05-13 22:43:48 +02:00
|
|
|
namespace Rector\PSR4\Contract;
|
|
|
|
|
|
|
|
use PhpParser\Node;
|
2021-04-13 02:12:48 +02:00
|
|
|
use Rector\Core\ValueObject\Application\File;
|
2020-05-13 22:43:48 +02:00
|
|
|
interface PSR4AutoloadNamespaceMatcherInterface
|
|
|
|
{
|
2021-07-05 22:50:18 +00:00
|
|
|
/**
|
|
|
|
* @param \Rector\Core\ValueObject\Application\File $file
|
2021-08-23 00:20:32 +00:00
|
|
|
* @param \PhpParser\Node $node
|
2021-07-05 22:50:18 +00:00
|
|
|
*/
|
|
|
|
public function getExpectedNamespace($file, $node) : ?string;
|
2020-05-13 22:43:48 +02:00
|
|
|
}
|