<commit_before><?php namespace Anvil\Auth\Models;

use Illuminate\Auth\UserInterface;

class Guest extends User implements UserInterface {

	/**
	 * Get the user's group.
	 *
	 */
	public function group()
	{
		return $this->belongsTo('Anvil\Auth\Models\Group')
				->where('name', 'guest')
				->orWhere('power', 0);
	}

	/**
	 * Override the default save user method. Guests should
	 * never be saved.
	 * 
	 */
	public function save(array $options = array())
	{
		throw new Exception("Attempting to save a guest.");
	}

	/**
	 * Get the display name for the user.
	 *
	 * @return string
	 */
	public function getDisplayNameAttribute()
	{
		return 'Guest';<commit_msg>Changed to single quotes for consistency<commit_after><?php namespace Anvil\Auth\Models;

use Illuminate\Auth\UserInterface;

class Guest extends User implements UserInterface {

	/**
	 * Get the user's group.
	 *
	 */
	public function group()
	{
		return $this->belongsTo('Anvil\Auth\Models\Group')
				->where('name', 'guest')
				->orWhere('power', 0);
	}

	/**
	 * Override the default save user method. Guests should
	 * never be saved.
	 * 
	 */
	public function save(array $options = array())
	{
		throw new Exception('Attempting to save a guest.');
	}

	/**
	 * Get the display name for the user.
	 *
	 * @return string
	 */
	public function getDisplayNameAttribute()
	{
		return 'Guest';
{'fraction_non_alphanumeric': 0.1347985347985348, 'fraction_numerical': 0.0014652014652014652, 'mean_word_length': 3.3227848101265822, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '356260', 'n_tokens_mistral': 466, 'n_tokens_neox': 414, 'n_words': 126}