<commit_before><?php

/**
 * This file is part of the OpenPNE package.
 * (c) OpenPNE Project (http://www.openpne.jp/)
 *
 * For the full copyright and license information, please view the LICENSE
 * file and the NOTICE file that were distributed with this source code.
 */

/**
 * opAnonymousMember is the dummy model class for representing pre-login member.
 *
 * @package    OpenPNE
 * @subpackage user
 * @author     <NAME> <<EMAIL>>
 */
class opAnonymousMember extends Member
{
  public function getId()
  {
    return 0;
  }

  public function getName()
  {
    return 'Anonymous';
  }

  public function getIsLoginRejected()
  {
    return false;
  }

  public function getInviteMemberId()
  {
    return null;
  }

  public function getProfiles($viewableCheck = false, $myMemberId = null)
  {
    return array();
  }

  public function getProfile($profileName)
  {<commit_msg>changed the declaration of opAnonymousMember::getProfile() to be compatible with that of Member::getProfile() (refs #1947)<commit_after><?php

/**
 * This file is part of the OpenPNE package.
 * (c) OpenPNE Project (http://www.openpne.jp/)
 *
 * For the full copyright and license information, please view the LICENSE
 * file and the NOTICE file that were distributed with this source code.
 */

/**
 * opAnonymousMember is the dummy model class for representing pre-login member.
 *
 * @package    OpenPNE
 * @subpackage user
 * @author     <NAME> <<EMAIL>>
 */
class opAnonymousMember extends Member
{
  public function getId()
  {
    return 0;
  }

  public function getName()
  {
    return 'Anonymous';
  }

  public function getIsLoginRejected()
  {
    return false;
  }

  public function getInviteMemberId()
  {
    return null;
  }

  public function getProfiles($viewableCheck = false, $myMemberId = null)
  {
    return array();
  }

  public function getProfile($profileName, $viewableCheck = false, $myMemberId = null)
  {
{'fraction_non_alphanumeric': 0.10046850598646538, 'fraction_numerical': 0.0031233732431025507, 'mean_word_length': 3.408256880733945, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4024216', 'n_tokens_mistral': 590, 'n_tokens_neox': 563, 'n_words': 193}