title: How to fix Avoid unused parameters PHPMD of protected method in parent class
body: <p>I have two class :</p>
  <pre><code>class EntityVoter
  {
      protected function canPutToBlockChain($entity, $viewer)
      {
          return false;
      }
  }
  </code></pre>
  <pre><code>class VerificationVoter extends EntityVoter
  {
      public function canPutToBlockChain($entity, $viewer)
      {
          return $this-&gt;canShare($entity, $viewer);
      }
  }
  </code></pre>
  <p>PHPMD scan EntityVoter class and throw: Avoid unused parameters such as '$entity', '$viewer'.</p>
  <p>My solution is creating a interface:</p>
  <pre><code>interface EntityVoterInterface 
  {
       function canPutToBlockChain($entity, $viewer);
  }
  </code></pre>
  <p>and then add <code>@inhericDoc</code> annotation:</p>
  <pre><code>class EntityVoter implements EntityVoterInterface
  {
      /**
       * @inheritDoc
       */
      protected function canPutToBlockChain($entity, $viewer)
      {
          return false;
      }
  }
  </code></pre>
  <p>Is there any better solution ?</p>