<commit_before><?php

class A {
  public function foo($param1, $param2) {
    echo $param1;
    echo $param2;
  }
}

class B extends A {
  // this is actually ok. The parameters are not used but in a method
  // context with inherited methods, you may not need all the parameters
  // of your parents
  public function foo($param1, $param2) {
  }
}<commit_msg>* tests/php/scheck/methods.php:<commit_after><?php

class A {
  public function foo($param1, $param2) {
    echo $param1;
    echo $param2;
  }
}

class B extends A {
  // this is actually ok. The parameters are not used but in a method
  // context with inherited methods, you may not need all the parameters
  // of your parents
  public function foo($param1, $param2) {
  }
}

function test_method() {
  $o = new B();
  $o->foo(1, 2);
}
{'fraction_non_alphanumeric': 0.11514392991239049, 'fraction_numerical': 0.017521902377972465, 'mean_word_length': 3.0816326530612246, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7364258', 'n_tokens_mistral': 264, 'n_tokens_neox': 263, 'n_words': 100}