<?php

namespace Finwe\PhpCsFix\Rules\MarkInCode;

use Finwe\PhpCsFix\Error;

class NotNeededUseClausule extends \Finwe\PhpCsFix\Rules\MarkInCode
{

	public function match($message)
	{
		return (bool) preg_match('~Identifier [a-zA-Z\\\]+ from use clausule is used only in extends/implements statement.~', $message);
	}

	public function getNote()
	{
		return 'Not needed use clausule';
	}

}
