<commit_before><?php
class Vpc_Advanced_SocialBookmarks_Inherit_Component extends Vpc_Abstract
{
    public function getTemplateVars()
    {
        $ret = array();
        $ret['linkTemplate'] = false;
        $d = $this->getData()->getParentPageOrRoot();
        while ($d) {
            if (($c = $d->getChildComponent('-'.$this->getData()->id))
                && is_instance_of($c->componentClass, 'Vpc_Advanced_SocialBookmarks_Component')
            ) {
                $ret = $c->getComponent()->getTemplateVars();
                $ret['linkTemplate'] = self::getTemplateFile($c->componentClass);
                $ret['networks'] = $c->getComponent()->getNetworks($this->getData()->parent);
                break;
            }
            $d = $d->getParentPageOrRoot();
        }
        return $ret;
    }
}
<commit_msg>- vpsDefault styling<commit_after><?php
class Vpc_Advanced_SocialBookmarks_Inherit_Component extends Vpc_Abstract
{
    public function getTemplateVars()
    {
        $ret = array();
        $ret['linkTemplate'] = false;
        $d = $this->getData()->getParentPseudoPageOrRoot();
        while ($d) {
            if (($c = $d->getChildComponent('-'.$this->getData()->id))
                && is_instance_of($c->componentClass, 'Vpc_Advanced_SocialBookmarks_Component')
            ) {
                $ret = $c->getComponent()->getTemplateVars();
                $ret['linkTemplate'] = self::getTemplateFile($c->componentClass);
                $ret['networks'] = $c->getComponent()->getNetworks($this->getData()->parent);
                break;
            }
            $d = $d->getParentPseudoPageOrRoot();
        }
        return $ret;
    }
}

{'fraction_non_alphanumeric': 0.16002379535990482, 'fraction_numerical': 0.0, 'mean_word_length': 2.28515625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '5444866', 'n_tokens_mistral': 492, 'n_tokens_neox': 485, 'n_words': 66}