Bulk substitution across all PHP files in src/ and test/. Covers namespace declarations, use statements, fully-qualified class references, and @package PHPDoc tags. No logic changes.
24 lines
643 B
PHP
24 lines
643 B
PHP
<?php
|
|
|
|
namespace IndifferentKetchup\Codex\Test\Src\Log;
|
|
|
|
use IndifferentKetchup\Codex\Detective\DetectorInterface;
|
|
use IndifferentKetchup\Codex\Detective\SinglePatternDetector;
|
|
use IndifferentKetchup\Codex\Log\DetectableLogInterface;
|
|
use IndifferentKetchup\Codex\Log\Log;
|
|
|
|
/**
|
|
* Class TestNeverDetectableLog
|
|
*/
|
|
class TestNeverDetectableLog extends Log implements DetectableLogInterface
|
|
{
|
|
/**
|
|
* Get an array of detectors matching DetectorInterface
|
|
*
|
|
* @return DetectorInterface[]
|
|
*/
|
|
public static function getDetectors(): array
|
|
{
|
|
return [(new SinglePatternDetector())->setPattern('/missing/')];
|
|
}
|
|
} |