<commit_before><?php
namespace Edu\Cnm\Sprots;

require_once("autoload.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;
	/**
	 * ID associated with the player from api
	 * @var int $playerApiId
	 */
	private $playerApiId;
	/**
	 * Player is unique to Team Player cannot be on >1 teams
	 * @var int $playerTeamId
	 */
	private $playerTeamId;
	/**
	 * Id associated with sport
	 * @var int $playerSportId
	 */
	private $playerSportId;
	/**
	 * is unique Player
	 * @var string $PlayerName
	 */
	private $playerName;



	/**
	 * Constructor for this team
	 *
	 * @param int|null $newPlayerId id of the player that is being created
	 * @param int $newPlayerApiId Id that is associated with the sport
	 * @param int $newPlayerTeamId id that is associated with team
	 * @param int $newPlayerSportId id associated with sport
	 * @param string $newPlayerName name associated with team
	 * @throws \Exception if some other exception occurs
	 * @throws \TypeError if data types violate type hints
	 */


	public function __construct(int $newPlayerId = null, int $newPlayerApiId, int $newPlayerTeamId, int $newPlayerSportId, string $newPlayerName) {
		try {
			$this->setPlayerId($newPlayerId);
			$this->setPlayerApiId($newPlayerApiId);
			$this->setTeamId($newPlayerTeamId);
			$this->setSportId($newPlayerSportId);
			$this->setPlayerName($newPlayerName);
		} catch(\InvalidArgumentException $invalidArgument) {
			// rethrow the exception to the caller
			throw(new \InvalidArgumentException($invalidArgument->getMessage(), 0, $invalidArgument));
		} catch(\RangeException $range) {
			// rethrow the exception to the caller<commit_msg>Edit to setPlayerTeamID and playerSportId No asana class file<commit_after><?php
namespace Edu\Cnm\Sprots;

require_once("autoload.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;
	/**
	 * ID associated with the player from api
	 * @var int $playerApiId
	 */
	private $playerApiId;
	/**
	 * Player is unique to Team Player cannot be on >1 teams
	 * @var int $playerTeamId
	 */
	private $playerTeamId;
	/**
	 * Id associated with sport
	 * @var int $playerSportId
	 */
	private $playerSportId;
	/**
	 * is unique Player
	 * @var string $PlayerName
	 */
	private $playerName;



	/**
	 * Constructor for this team
	 *
	 * @param int|null $newPlayerId id of the player that is being created
	 * @param int $newPlayerApiId Id that is associated with the sport
	 * @param int $newPlayerTeamId id that is associated with team
	 * @param int $newPlayerSportId id associated with sport
	 * @param string $newPlayerName name associated with team
	 * @throws \Exception if some other exception occurs
	 * @throws \TypeError if data types violate type hints
	 */


	public function __construct(int $newPlayerId = null, int $newPlayerApiId, int $newPlayerTeamId, int $newPlayerSportId, string $newPlayerName) {
		try {
			$this->setPlayerId($newPlayerId);
			$this->setPlayerApiId($newPlayerApiId);
			$this->setPlayerTeamId($newPlayerTeamId);
			$this->setPlayerSportId($newPlayerSportId);
			$this->setPlayerName($newPlayerName);
		} catch(\InvalidArgumentException $invalidArgument) {
			// rethrow the exception to the caller
			throw(new \InvalidArgumentException($invalidArgument->getMessage(), 0, $invalidArgument));
		} catch(\RangeException $range) {
			// rethrow the exception to the caller
{'fraction_non_alphanumeric': 0.10809342748506247, 'fraction_numerical': 0.0010863661053775121, 'mean_word_length': 3.9569313593539706, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 23, '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': '504169', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1064, 'n_words': 371}