From 66a2fcc5f384a53f2628fa25d130c4f9fb9f6fe5 Mon Sep 17 00:00:00 2001 From: indifferentketchup Date: Thu, 30 Apr 2026 15:13:52 +0000 Subject: [PATCH] Rename namespace Aternos\Codex to IndifferentKetchup\Codex 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. --- src/Analyser/Analyser.php | 6 ++--- src/Analyser/AnalyserInterface.php | 8 +++---- src/Analyser/PatternAnalyser.php | 12 +++++----- src/Analysis/Analysis.php | 6 ++--- src/Analysis/AnalysisInterface.php | 6 ++--- src/Analysis/AutomatableSolutionInterface.php | 4 ++-- src/Analysis/Information.php | 4 ++-- src/Analysis/InformationInterface.php | 4 ++-- src/Analysis/Insight.php | 8 +++---- src/Analysis/InsightInterface.php | 6 ++--- src/Analysis/PatternInsightInterface.php | 4 ++-- src/Analysis/Problem.php | 4 ++-- src/Analysis/ProblemInterface.php | 4 ++-- src/Analysis/Solution.php | 4 ++-- src/Analysis/SolutionInterface.php | 4 ++-- src/Detective/Detective.php | 12 +++++----- src/Detective/DetectiveInterface.php | 8 +++---- src/Detective/Detector.php | 6 ++--- src/Detective/DetectorInterface.php | 6 ++--- src/Detective/LinePatternDetector.php | 4 ++-- src/Detective/MultiPatternDetector.php | 2 +- src/Detective/PatternDetector.php | 4 ++-- src/Detective/SinglePatternDetector.php | 4 ++-- .../WeightedSinglePatternDetector.php | 4 ++-- src/Log/AnalysableLog.php | 8 +++---- src/Log/AnalysableLogInterface.php | 8 +++---- src/Log/DetectableLogInterface.php | 6 ++--- src/Log/Entry.php | 4 ++-- src/Log/EntryInterface.php | 4 ++-- src/Log/File/LogFile.php | 4 ++-- src/Log/File/LogFileInterface.php | 4 ++-- src/Log/File/PathLogFile.php | 4 ++-- src/Log/File/StreamLogFile.php | 4 ++-- src/Log/File/StringLogFile.php | 4 ++-- src/Log/Level.php | 2 +- src/Log/LevelInterface.php | 2 +- src/Log/Line.php | 4 ++-- src/Log/LineInterface.php | 4 ++-- src/Log/Log.php | 10 ++++---- src/Log/LogInterface.php | 8 +++---- src/Parser/DefaultParser.php | 8 +++---- src/Parser/Parser.php | 6 ++--- src/Parser/ParserInterface.php | 6 ++--- src/Parser/PatternParser.php | 14 +++++------ src/Printer/DefaultPrinter.php | 6 ++--- src/Printer/ModifiableDefaultPrinter.php | 6 ++--- src/Printer/ModifiablePrinter.php | 4 ++-- src/Printer/ModifiablePrinterInterface.php | 4 ++-- src/Printer/Modification.php | 4 ++-- src/Printer/ModificationInterface.php | 4 ++-- src/Printer/PatternModification.php | 4 ++-- src/Printer/Printer.php | 10 ++++---- src/Printer/PrinterInterface.php | 8 +++---- test/src/Analysis/TestInformation.php | 4 ++-- test/src/Analysis/TestInsight.php | 6 ++--- test/src/Analysis/TestPatternInformation.php | 6 ++--- test/src/Analysis/TestPatternProblem.php | 8 +++---- test/src/Analysis/TestProblem.php | 6 ++--- test/src/Analysis/TestSolution.php | 4 ++-- test/src/Log/TestAlwaysDetectableLog.php | 10 ++++---- test/src/Log/TestLessDetectableLog.php | 10 ++++---- test/src/Log/TestMoreDetectableLog.php | 10 ++++---- test/src/Log/TestNeverDetectableLog.php | 10 ++++---- test/src/Log/TestPatternLog.php | 12 +++++----- test/src/Printer/TestModification.php | 4 ++-- test/tests/Analyser/PatternAnalyserTest.php | 24 +++++++++---------- test/tests/Analysis/AnalysisTest.php | 12 +++++----- test/tests/Analysis/InformationTest.php | 10 ++++---- test/tests/Analysis/ProblemTest.php | 6 ++--- test/tests/Detective/DetectiveTest.php | 22 ++++++++--------- .../Detective/LinePatternDetectorTest.php | 10 ++++---- .../Detective/MultiPatternDetectorTest.php | 6 ++--- .../Detective/SinglePatternDetectorTest.php | 6 ++--- .../WeightedSinglePatternDetectorTest.php | 12 +++++----- test/tests/Log/EntryTest.php | 8 +++---- test/tests/Log/File/PathLogFileTest.php | 4 ++-- test/tests/Log/File/StreamLogFileTest.php | 4 ++-- test/tests/Log/File/StringLogFileTest.php | 4 ++-- test/tests/Log/LineTest.php | 4 ++-- test/tests/Log/LogTest.php | 6 ++--- test/tests/Parser/DefaultParserTest.php | 10 ++++---- test/tests/Parser/PatternParserTest.php | 16 ++++++------- test/tests/Printer/DefaultPrinterTest.php | 12 +++++----- .../Printer/ModifiableDefaultPrinterTest.php | 14 +++++------ .../tests/Printer/PatternModificationTest.php | 10 ++++---- 85 files changed, 294 insertions(+), 294 deletions(-) diff --git a/src/Analyser/Analyser.php b/src/Analyser/Analyser.php index 800ea38..d0f63b1 100644 --- a/src/Analyser/Analyser.php +++ b/src/Analyser/Analyser.php @@ -1,13 +1,13 @@ setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')); + $detective->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')); $detective->setPossibleLogClasses($possibleLogClasses); return $detective; } diff --git a/test/tests/Detective/LinePatternDetectorTest.php b/test/tests/Detective/LinePatternDetectorTest.php index 24456b3..6f49edf 100644 --- a/test/tests/Detective/LinePatternDetectorTest.php +++ b/test/tests/Detective/LinePatternDetectorTest.php @@ -1,8 +1,8 @@ assertEquals(5 / 7, (new LinePatternDetector()) - ->setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) + ->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) ->setPattern('/information/') ->detect() ); $this->assertFalse((new LinePatternDetector()) - ->setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) + ->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) ->setPattern('/missing/') ->detect() ); $this->assertEquals(1, (new LinePatternDetector()) - ->setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) + ->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) ->setPattern('/This/') ->detect() ); diff --git a/test/tests/Detective/MultiPatternDetectorTest.php b/test/tests/Detective/MultiPatternDetectorTest.php index 5d240a7..6d950ed 100644 --- a/test/tests/Detective/MultiPatternDetectorTest.php +++ b/test/tests/Detective/MultiPatternDetectorTest.php @@ -1,9 +1,9 @@ assertEquals(1, (new WeightedSinglePatternDetector()) - ->setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) + ->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) ->setPattern('/This/') ->setWeight(1) ->detect() ); $this->assertEquals(0.5, (new WeightedSinglePatternDetector()) - ->setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) + ->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) ->setPattern('/This/') ->setWeight(0.5) ->detect() ); $this->assertEquals(0, (new WeightedSinglePatternDetector()) - ->setLogFile(new \Aternos\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) + ->setLogFile(new \IndifferentKetchup\Codex\Log\File\PathLogFile(__DIR__ . '/../../data/simple.log')) ->setPattern('/This/') ->setWeight(0) ->detect() diff --git a/test/tests/Log/EntryTest.php b/test/tests/Log/EntryTest.php index 34481d5..7dc6ede 100644 --- a/test/tests/Log/EntryTest.php +++ b/test/tests/Log/EntryTest.php @@ -1,10 +1,10 @@