<commit_before><?php
class Vpc_User_Detail_GeneralCommunity_Avatar_Component extends Vpc_Basic_Image_Component
{
    public static function getSettings()
    {
        $ret = parent::getSettings();
        $ret['componentName'] = trlVps('Avatar');
        $ret['dimensions'] = array(150, 150, Vps_Media_Image::SCALE_DEFORM);
        $ret['ouputDimensions'] = array(
            'small'  => array(40, 40, Vps_Media_Image::SCALE_BESTFIT)
        );
        $ret['generators']['small'] = array(
            'class' => 'Vps_Component_Generator_Static',
            'component' => 'Vpc_User_Detail_GeneralCommunity_Avatar_Small_Component'
        );
        $ret['emptyImage'] = 'ghost.jpg';
        return $ret;
    }
}<commit_msg>croppen ist schöner<commit_after><?php
class Vpc_User_Detail_GeneralCommunity_Avatar_Component extends Vpc_Basic_Image_Component
{
    public static function getSettings()
    {
        $ret = parent::getSettings();
        $ret['componentName'] = trlVps('Avatar');
        $ret['dimensions'] = array(150, 150, Vps_Media_Image::SCALE_CROP);
        $ret['ouputDimensions'] = array(
            'small'  => array(40, 40, Vps_Media_Image::SCALE_CROP)
        );
        $ret['generators']['small'] = array(
            'class' => 'Vps_Component_Generator_Static',
            'component' => 'Vpc_User_Detail_GeneralCommunity_Avatar_Small_Component'
        );
        $ret['emptyImage'] = 'ghost.jpg';
        return $ret;
    }
}
{'fraction_non_alphanumeric': 0.1360824742268041, 'fraction_numerical': 0.013745704467353952, 'mean_word_length': 3.269794721407625, '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': '2137008', 'n_tokens_mistral': 480, 'n_tokens_neox': 462, 'n_words': 68}