<commit_before><?php

namespace WFV;

use WFV\Input;

class InputTest extends \PHPUnit_Framework_TestCase {

  public function test_Sanitize_Returns_Safe_Post() {

    $_POST = array(
      'action' => 'phpunit',
      'name' => '<h1>hi</h1>'
    );

    $expected_result = array(
      'action' => 'phpunit',
      'name' => 'hi'
    );

    $result = get_object_vars( new Input('phpunit') );
    $this->assertEquals($expected_result, $result);
  }<commit_msg>phpunit - InputTest - fix bracket spacing<commit_after><?php

namespace WFV;

use WFV\Input;

class InputTest extends \PHPUnit_Framework_TestCase {

  public function test_Sanitize_Returns_Safe_Post() {

    $_POST = array(
      'action' => 'phpunit',
      'name' => '<h1>hi</h1>'
    );

    $expected_result = array(
      'action' => 'phpunit',
      'name' => 'hi'
    );

    $result = get_object_vars( new Input('phpunit') );
    $this->assertEquals( $expected_result, $result );
  }
{'fraction_non_alphanumeric': 0.15546218487394958, 'fraction_numerical': 0.004201680672268907, 'mean_word_length': 3.3122171945701355, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '767212', 'n_tokens_mistral': 332, 'n_tokens_neox': 320, 'n_words': 65}