original_string: protected function createConflictRule(PackageInterface $issuer, PackageInterface $provider, $reason, $reasonData = null)
      {
          // ignore self conflict
          if ($issuer === $provider) {
              return null;
          }
  
          return new Rule(array(-$issuer->id, -$provider->id), $reason, $reasonData);
      }
code: protected function createConflictRule(PackageInterface $issuer, PackageInterface $provider, $reason, $reasonData = null)
      {
          // ignore self conflict
          if ($issuer === $provider) {
              return null;
          }
  
          return new Rule(array(-$issuer->id, -$provider->id), $reason, $reasonData);
      }
code_tokens: protected function createConflictRule ( PackageInterface $ issuer , PackageInterface $ provider , $ reason , $ reasonData = null ) { // ignore self conflict if ( $ issuer === $ provider ) { return null ; } return new Rule ( array ( - $ issuer -> id , - $ provider -> id ) , $ reason , $ reasonData ) ; }
docstring: Creates a rule for two conflicting packages
  
  The rule for conflicting packages A and B is (-A|-B). A is called the issuer
  and B the provider.
  
  @param  PackageInterface $issuer     The package declaring the conflict
  @param  PackageInterface $provider   The package causing the conflict
  @param  int              $reason     A RULE_* constant describing the
  reason for generating this rule
  @param  mixed            $reasonData Any data, e.g. the package name, that
  goes with the reason
  @return Rule             The generated rule
docstring_tokens: Creates a rule for two conflicting packages