<commit_before><?php
/**
 * @see       https://github.com/zendframework/zend-expressive-router for the canonical source repository
 * @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
 * @license   https://github.com/zendframework/zend-expressive-router/blob/master/LICENSE.md New BSD License
 */

declare(strict_types=1);

namespace Zend\Expressive\Router\Exception;

use RuntimeException;

class MissingDependencyException extends RuntimeException implements ExceptionInterface
{
    public static function dependencyForService(string $dependency, string $service) : self<commit_msg>Updates MissingDependencyException to extend PSR-11 NotFoundExceptionInterface<commit_after><?php
/**
 * @see       https://github.com/zendframework/zend-expressive-router for the canonical source repository
 * @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
 * @license   https://github.com/zendframework/zend-expressive-router/blob/master/LICENSE.md New BSD License
 */

declare(strict_types=1);

namespace Zend\Expressive\Router\Exception;

use Psr\Container\NotFoundExceptionInterface;
use RuntimeException;

class MissingDependencyException extends RuntimeException implements
    ExceptionInterface,
    NotFoundExceptionInterface
{
    public static function dependencyForService(string $dependency, string $service) : self
{'fraction_non_alphanumeric': 0.09368191721132897, 'fraction_numerical': 0.008714596949891068, 'mean_word_length': 5.561904761904762, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3216058', 'n_tokens_mistral': 373, 'n_tokens_neox': 351, 'n_words': 89}