<commit_before><?php
namespace UltraLite\Container\Exception;

use Interop\Container\Exception\NotFoundException;

class DiServiceNotFound extends \InvalidArgumentException implements NotFoundException
{
    public static function createFromServiceId(string $serviceId): DiServiceNotFound
    {
        $message = "Service '$serviceId' requested from DI container, but not found.";
        return new static($message);
    }
}
<commit_msg>Restoring compatibility with PHP 5<commit_after><?php
namespace UltraLite\Container\Exception;

use Interop\Container\Exception\NotFoundException;

class DiServiceNotFound extends \InvalidArgumentException implements NotFoundException
{
    /**
     * @param string $serviceId
     * @return DiServiceNotFound
     */
    public static function createFromServiceId($serviceId)
    {
        $message = "Service '$serviceId' requested from DI container, but not found.";
        return new static($message);
    }
}

{'fraction_non_alphanumeric': 0.08280922431865828, 'fraction_numerical': 0.0010482180293501049, 'mean_word_length': 4.395480225988701, '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': '673680', 'n_tokens_mistral': 233, 'n_tokens_neox': 231, 'n_words': 67}