<commit_before><?php

namespace GSoares\CweTop25;

abstract class AbstractSample implements SampleInterface
{

    /**
     * @return array
     */
    public function getFileContent()
    {
        $className = __CLASS__;

        return file_get_contents(
            __DIR__ . '/' . str_replace(['GSoares\CweTop25\\', '\\'], ['', '/'], $className) . '.php'
        );
    }
}<commit_msg>get concrete class path ignoring the inheritance<commit_after><?php

namespace GSoares\CweTop25;

abstract class AbstractSample implements SampleInterface
{

    /**
     * @return array
     */
    public function getFileContent()
    {
        $className = get_called_class();

        return file_get_contents(
            __DIR__ . '/' . str_replace(['GSoares\CweTop25\\', '\\'], ['', '/'], $className) . '.php'
        );
    }
}
{'fraction_non_alphanumeric': 0.14805825242718446, 'fraction_numerical': 0.009708737864077669, 'mean_word_length': 2.4518828451882846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5426741', 'n_tokens_mistral': 254, 'n_tokens_neox': 245, 'n_words': 48}