<commit_before><?php
/**
 * PhpRenderer
 *
 * @category  StrokerTemplateInspector\View\Renderer
 * @package   StrokerTemplateInspector\View\Renderer
 * @copyright 2013 ACSI Holding bv (http://www.acsi.eu)
 * @version   SVN: $Id$
 */

namespace StrokerTemplateInspector\View\Renderer;

use \Zend\View\Renderer\PhpRenderer as BasePhpRenderer;

class PhpRenderer extends BasePhpRenderer
{
    public function render($nameOrModel, $values = null)
    {
        $content = parent::render($nameOrModel, $values);
        if (is_string($nameOrModel)) {
            $content .= '<div style="z-index: 99999; border: 1px solid red; background: yellow; padding: 2px; position: absolute;">' . $nameOrModel . '</div>';
        }
        return $content;
    }
}<commit_msg>Added file path<commit_after><?php
/**
 * PhpRenderer
 *
 * @category  StrokerTemplateInspector\View\Renderer
 * @package   StrokerTemplateInspector\View\Renderer
 * @copyright 2013 ACSI Holding bv (http://www.acsi.eu)
 * @version   SVN: $Id$
 */

namespace StrokerTemplateInspector\View\Renderer;

use \Zend\View\Renderer\PhpRenderer as BasePhpRenderer;

class PhpRenderer extends BasePhpRenderer
{
    public function render($nameOrModel, $values = null)
    {
        $content = parent::render($nameOrModel, $values);
        if (is_string($nameOrModel)) {
            $file = $this->resolver($nameOrModel);
            $content .= '<div style="z-index: 99999; border: 1px solid red; background: yellow; padding: 2px; position: absolute;">' . $nameOrModel . '(' . $file . ')</div>';
        }
        return $content;
    }
}
{'fraction_non_alphanumeric': 0.13727959697732997, 'fraction_numerical': 0.013853904282115869, 'mean_word_length': 3.527065527065527, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 8, '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': '1460179', 'n_tokens_mistral': 519, 'n_tokens_neox': 493, 'n_words': 111}