<commit_before><?php

/**
 * player, player that a user will look up
 *
 * player is unique
 *
 * $author <NAME> <<EMAIL>>
 *
 */
class player {
	/**
	 * id for the player; this is the primary key
	 * @var int $playerId
	 */
	private $playerId;
	/**
	 * is unique player
	 * @var int $playername
	 */
	private $playerName;
	/**
	 * uniquename
	 */
	private $playerApiId;
	/**
	 * player is unique to team player cannot be on >1 teams
	 */
	private $playerTeamId;

	/**
	 * @return int
	 */

	public function getplayerId() {
		return ($this->playerId);
	}

	/**
	 * @param int $newplayerId new value of player Id
	 * @throws InvalidArgumentException if player id is not an integer
	 * @throws RangeException if profile id is negative
	 */

		public function setplayerId($newplayerId) {
			if($newplayerId === null) {
				$this->playerId = null;
				return;
			}
			$newplayerId = filter_var($newplayerId, FILTER_VALIDATE_INT);
			if($newplayerId == false) {
			}
			if ($newplayerId <=0) {
				throw(new RangeException("player id must be positive"));
			}
			$this->playerId = $newplayerId;

		}

	/**
	 * accessor method for playerid
	 *
	 * @return int value of player id
	 */
	public function getPlayerName() {
		return $this->playerName;
	}

	/**
	 * @param int $playerName new value of player name
	 * @throws InvalidArgumentException if player name is not an integer
	 * @throws RangeException if profile id is negative
	 */

	public function setPlayerName($playerName) {
		if ($playerName === null){
			$this->playerName = null;
			return;
		}
		$playerName = filter_var($playerName, FILTER_VALIDATE_INT);
		if($playerName == false){
		}
		if ($playerName <=0) {
			throw(new RangeException("player name must be positive"));
		}
		$this->playerName = $playerName;
	}

	/**
	 * accessor for player name
	 *
	 * @return int value of player name
	 */


	public function getPlayerApiId() {
		return $this->playerApiId;
	}

	/**
	 * @param int $playerApiId new value of profile id
	 * @throws InvalidArgumentException if player Api Id is not an integer
	 * @throws RangeException if profile id is negative
	 */
	public function setPlayerApiId($playerApiId) {
		if($playerApiId === null) {
			$this->playerApiId = null;
			return;
		}
		$playerApiId = filter_var($playerApiId, FILTER_VALIDATE_INT);
		if($playerApiId == false) {
		}
		if ($playerApiId <=0) {
			throw(new RangeException("player api Id must be positive"));
		}
		$this->$playerApiId = $playerApiId;
	}

	/**
	 * accessor for player Api id
	 *
	 * @return int value of player Api id
	 */

	private $playerTeamId;

	public function  setplayerTeamId($playerTeamId) {
		if($playerTeamId === null) {
			$this->playerteam = null;
			return;
		}
		$playerTeamId = filter_var($playerTeamId, FILTER_VALIDATE_INT);
		if($playerTeamId == false){
		}
		if ($playerTeamId <=0) {
			throw(new RangeException("player team Id must be positive"));
		}
		$this->$playerTeamId;
	}
	}


<commit_msg>re adding doc blocks<commit_after><?php

/**
 * player, player that a user will look up
 *
 * player is unique
 *
 * $author <NAME> <<EMAIL>>
 *
 */
class player {
	/**
	 * id for the player; this is the primary key
	 * @var int $playerId
	 */
	private $playerId;
	/**
	 * is unique player
	 * @var int $playername
	 */
	private $playerName;
	/**
	 * uniquename
	 */
	private $playerApiId;
	/**
	 * player is unique to team player cannot be on >1 teams
	 */
	private $playerTeamId;

	/**
	 * @return int
	 */

	public function getplayerId() {
		return ($this->playerId);
	}

	/**
	 * @param int $newplayerId new value of player Id
	 * @throws InvalidArgumentException if player id is not an integer
	 * @throws RangeException if profile id is negative
	 */

		public function setplayerId($newplayerId) {
			if($newplayerId === null) {
				$this->playerId = null;
				return;
			}
			$newplayerId = filter_var($newplayerId, FILTER_VALIDATE_INT);
			if($newplayerId == false) {
			}
			if ($newplayerId <=0) {
				throw(new RangeException("player id must be positive"));
			}
			$this->playerId = $newplayerId;

		}

	/**
	 * accessor method for playerid
	 *
	 * @return int value of player id
	 */
	public function getPlayerName() {
		return $this->playerName;
	}

	/**
	 * @param int $playerName new value of player name
	 * @throws InvalidArgumentException if player name is not an integer
	 * @throws RangeException if profile id is negative
	 */

	public function setPlayerName($playerName) {
		if ($playerName === null){
			$this->playerName = null;
			return;
		}
		$playerName = filter_var($playerName, FILTER_VALIDATE_INT);
		if($playerName == false){
		}
		if ($playerName <=0) {
			throw(new RangeException("player name must be positive"));
		}
		$this->playerName = $playerName;
	}

	/**
	 * accessor for player name
	 *
	 * @return int value of player name
	 */


	public function getPlayerApiId() {
		return $this->playerApiId;
	}

	/**
	 * @param int $playerApiId new value of profile id
	 * @throws InvalidArgumentException if player Api Id is not an integer
	 * @throws RangeException if profile id is negative
	 */
	public function setPlayerApiId($playerApiId) {
		if($playerApiId === null) {
			$this->playerApiId = null;
			return;
		}
		$playerApiId = filter_var($playerApiId, FILTER_VALIDATE_INT);
		if($playerApiId == false) {
		}
		if ($playerApiId <=0) {
			throw(new RangeException("player api Id must be positive"));
		}
		$this->$playerApiId = $playerApiId;
	}

	/**
	 * accessor for player Api id
	 *
	 * @return int value of player Api id
	 */

	private $playerTeamId;

	public function  setplayerTeamId($playerTeamId) {
		if($playerTeamId === null) {
			$this->playerteam = null;
			return;
		}
		$playerTeamId = filter_var($playerTeamId, FILTER_VALIDATE_INT);
		if($playerTeamId == false){
		}
		if ($playerTeamId <=0) {
			throw(new RangeException("player team Id must be positive"));
		}
		$this->$playerTeamId;
	}
	}




{'fraction_non_alphanumeric': 0.1275008477449983, 'fraction_numerical': 0.00169548999660902, 'mean_word_length': 3.3793615441722347, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 33, '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': '3933186', 'n_tokens_mistral': 2115, 'n_tokens_neox': 1858, 'n_words': 559}