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.
This commit is contained in:
2026-04-30 15:13:52 +00:00
parent 6870ed6ea7
commit 66a2fcc5f3
85 changed files with 294 additions and 294 deletions

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Analyser;
namespace IndifferentKetchup\Codex\Analyser;
use Aternos\Codex\Log\AnalysableLogInterface;
use IndifferentKetchup\Codex\Log\AnalysableLogInterface;
/**
* Class Analyser
*
* @package Aternos\Codex\Analyser
* @package IndifferentKetchup\Codex\Analyser
*/
abstract class Analyser implements AnalyserInterface
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Analyser;
namespace IndifferentKetchup\Codex\Analyser;
use Aternos\Codex\Analysis\AnalysisInterface;
use Aternos\Codex\Log\AnalysableLogInterface;
use IndifferentKetchup\Codex\Analysis\AnalysisInterface;
use IndifferentKetchup\Codex\Log\AnalysableLogInterface;
/**
* Interface AnalyserInterface
*
* @package Aternos\Codex\Analyser
* @package IndifferentKetchup\Codex\Analyser
*/
interface AnalyserInterface
{

View File

@@ -1,17 +1,17 @@
<?php
namespace Aternos\Codex\Analyser;
namespace IndifferentKetchup\Codex\Analyser;
use Aternos\Codex\Analysis\Analysis;
use Aternos\Codex\Analysis\AnalysisInterface;
use Aternos\Codex\Analysis\PatternInsightInterface;
use Aternos\Codex\Log\EntryInterface;
use IndifferentKetchup\Codex\Analysis\Analysis;
use IndifferentKetchup\Codex\Analysis\AnalysisInterface;
use IndifferentKetchup\Codex\Analysis\PatternInsightInterface;
use IndifferentKetchup\Codex\Log\EntryInterface;
use InvalidArgumentException;
/**
* Class PatternAnalyser
*
* @package Aternos\Codex\Analyser
* @package IndifferentKetchup\Codex\Analyser
*/
class PatternAnalyser extends Analyser
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Class Analysis
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
class Analysis implements AnalysisInterface
{

View File

@@ -1,9 +1,9 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
use ArrayAccess;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
use Countable;
use Iterator;
use JsonSerializable;
@@ -11,7 +11,7 @@ use JsonSerializable;
/**
* Interface AnalysisInterface
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface AnalysisInterface extends Iterator, Countable, ArrayAccess, JsonSerializable
{

View File

@@ -1,6 +1,6 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
/**
* Interface AutomatableSolutionInterface
@@ -9,7 +9,7 @@ namespace Aternos\Codex\Analysis;
* that a solution can be solved automatically
* e.g. deletion/creation/modification of files
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface AutomatableSolutionInterface extends SolutionInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
/**
* Class Information
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
abstract class Information extends Insight implements InformationInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
/**
* Interface InformationInterface
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface InformationInterface extends InsightInterface
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
use Aternos\Codex\Log\EntryInterface;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\EntryInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Class Insight
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
abstract class Insight implements InsightInterface
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
use Aternos\Codex\Log\EntryInterface;
use IndifferentKetchup\Codex\Log\EntryInterface;
use JsonSerializable;
/**
* Interface InsightInterface
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface InsightInterface extends JsonSerializable
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
/**
* Interface PatternInsightInterface
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface PatternInsightInterface extends InsightInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
/**
* Class Problem
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
abstract class Problem extends Insight implements ProblemInterface
{

View File

@@ -1,6 +1,6 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
use ArrayAccess;
use Countable;
@@ -9,7 +9,7 @@ use Iterator;
/**
* Interface ProblemInterface
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface ProblemInterface extends Iterator, Countable, ArrayAccess, InsightInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
/**
* Class Solution
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
abstract class Solution implements SolutionInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Analysis;
namespace IndifferentKetchup\Codex\Analysis;
use JsonSerializable;
/**
* Interface SolutionInterface
*
* @package Aternos\Codex\Analysis
* @package IndifferentKetchup\Codex\Analysis
*/
interface SolutionInterface extends JsonSerializable
{

View File

@@ -1,17 +1,17 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
use Aternos\Codex\Log\DetectableLogInterface;
use Aternos\Codex\Log\File\LogFileInterface;
use Aternos\Codex\Log\Log;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\DetectableLogInterface;
use IndifferentKetchup\Codex\Log\File\LogFileInterface;
use IndifferentKetchup\Codex\Log\Log;
use IndifferentKetchup\Codex\Log\LogInterface;
use InvalidArgumentException;
/**
* Class Detective
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
class Detective implements DetectiveInterface
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
use Aternos\Codex\Log\File\LogFileInterface;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\File\LogFileInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Interface DetectiveInterface
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
interface DetectiveInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
use Aternos\Codex\Log\File\LogFileInterface;
use IndifferentKetchup\Codex\Log\File\LogFileInterface;
/**
* Class Detector
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
abstract class Detector implements DetectorInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
use Aternos\Codex\Log\File\LogFileInterface;
use IndifferentKetchup\Codex\Log\File\LogFileInterface;
/**
* Interface DetectorInterface
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
interface DetectorInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
/**
* Class LinePatternDetector
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
class LinePatternDetector extends PatternDetector
{

View File

@@ -1,6 +1,6 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
/**
* MultiPatternDetector can detect multiple patterns in a log and return true if all patterns are found

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
/**
* Class PatternDetector
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
abstract class PatternDetector extends Detector
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
/**
* Class SinglePatternDetector
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
class SinglePatternDetector extends PatternDetector
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Detective;
namespace IndifferentKetchup\Codex\Detective;
/**
* Class WeightedSinglePatternDetector
*
* @package Aternos\Codex\Detective
* @package IndifferentKetchup\Codex\Detective
*/
class WeightedSinglePatternDetector extends SinglePatternDetector
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use Aternos\Codex\Analyser\AnalyserInterface;
use Aternos\Codex\Analysis\AnalysisInterface;
use IndifferentKetchup\Codex\Analyser\AnalyserInterface;
use IndifferentKetchup\Codex\Analysis\AnalysisInterface;
/**
* Class AnalysableLog
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
abstract class AnalysableLog extends Log implements AnalysableLogInterface
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use Aternos\Codex\Analyser\AnalyserInterface;
use Aternos\Codex\Analysis\AnalysisInterface;
use IndifferentKetchup\Codex\Analyser\AnalyserInterface;
use IndifferentKetchup\Codex\Analysis\AnalysisInterface;
/**
* Interface AnalysableLogInterface
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
interface AnalysableLogInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use Aternos\Codex\Detective\DetectorInterface;
use IndifferentKetchup\Codex\Detective\DetectorInterface;
/**
* Interface DetectableLogInterface
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
interface DetectableLogInterface extends LogInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
/**
* Class Entry
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
class Entry implements EntryInterface
{

View File

@@ -1,6 +1,6 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use ArrayAccess;
use Countable;
@@ -10,7 +10,7 @@ use JsonSerializable;
/**
* Interface EntryInterface
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
interface EntryInterface extends Iterator, Countable, ArrayAccess, JsonSerializable
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Log\File;
namespace IndifferentKetchup\Codex\Log\File;
/**
* Class LogFile
*
* @package Aternos\Codex\Log\File
* @package IndifferentKetchup\Codex\Log\File
*/
abstract class LogFile implements LogFileInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Log\File;
namespace IndifferentKetchup\Codex\Log\File;
/**
* Interface LogFileInterface
*
* @package Aternos\Codex\Log\File
* @package IndifferentKetchup\Codex\Log\File
*/
interface LogFileInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Log\File;
namespace IndifferentKetchup\Codex\Log\File;
use InvalidArgumentException;
/**
* Class PathLogFile
*
* @package Aternos\Codex\Log\File
* @package IndifferentKetchup\Codex\Log\File
*/
class PathLogFile extends LogFile
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Log\File;
namespace IndifferentKetchup\Codex\Log\File;
use InvalidArgumentException;
/**
* Class StreamLogFile
*
* @package Aternos\Codex\Log\File
* @package IndifferentKetchup\Codex\Log\File
*/
class StreamLogFile extends LogFile
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Log\File;
namespace IndifferentKetchup\Codex\Log\File;
/**
* Class StringLogFile
*
* @package Aternos\Codex\Log\File
* @package IndifferentKetchup\Codex\Log\File
*/
class StringLogFile extends LogFile
{

View File

@@ -1,6 +1,6 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
enum Level: int implements LevelInterface
{

View File

@@ -1,6 +1,6 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use JsonSerializable;

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
/**
* Class Line
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
class Line implements LineInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use JsonSerializable;
/**
* Interface LineInterface
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
interface LineInterface extends JsonSerializable
{

View File

@@ -1,15 +1,15 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use Aternos\Codex\Log\File\LogFileInterface;
use Aternos\Codex\Parser\DefaultParser;
use Aternos\Codex\Parser\ParserInterface;
use IndifferentKetchup\Codex\Log\File\LogFileInterface;
use IndifferentKetchup\Codex\Parser\DefaultParser;
use IndifferentKetchup\Codex\Parser\ParserInterface;
/**
* Class Log
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
class Log implements LogInterface
{

View File

@@ -1,10 +1,10 @@
<?php
namespace Aternos\Codex\Log;
namespace IndifferentKetchup\Codex\Log;
use ArrayAccess;
use Aternos\Codex\Log\File\LogFileInterface;
use Aternos\Codex\Parser\ParserInterface;
use IndifferentKetchup\Codex\Log\File\LogFileInterface;
use IndifferentKetchup\Codex\Parser\ParserInterface;
use Countable;
use Iterator;
use JsonSerializable;
@@ -12,7 +12,7 @@ use JsonSerializable;
/**
* Interface LogInterface
*
* @package Aternos\Codex\Log
* @package IndifferentKetchup\Codex\Log
*/
interface LogInterface extends Iterator, Countable, ArrayAccess, JsonSerializable
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Parser;
namespace IndifferentKetchup\Codex\Parser;
use Aternos\Codex\Log\Entry;
use Aternos\Codex\Log\Line;
use IndifferentKetchup\Codex\Log\Entry;
use IndifferentKetchup\Codex\Log\Line;
/**
* Class DefaultParser
*
* @package Aternos\Codex\Parser
* @package IndifferentKetchup\Codex\Parser
*/
class DefaultParser extends Parser
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Parser;
namespace IndifferentKetchup\Codex\Parser;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Class Parser
*
* @package Aternos\Codex\Parser
* @package IndifferentKetchup\Codex\Parser
*/
abstract class Parser implements ParserInterface
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Parser;
namespace IndifferentKetchup\Codex\Parser;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Interface ParserInterface
*
* @package Aternos\Codex\Parser
* @package IndifferentKetchup\Codex\Parser
*/
interface ParserInterface
{

View File

@@ -1,12 +1,12 @@
<?php
namespace Aternos\Codex\Parser;
namespace IndifferentKetchup\Codex\Parser;
use Aternos\Codex\Log\Entry;
use Aternos\Codex\Log\EntryInterface;
use Aternos\Codex\Log\Level;
use Aternos\Codex\Log\LevelInterface;
use Aternos\Codex\Log\Line;
use IndifferentKetchup\Codex\Log\Entry;
use IndifferentKetchup\Codex\Log\EntryInterface;
use IndifferentKetchup\Codex\Log\Level;
use IndifferentKetchup\Codex\Log\LevelInterface;
use IndifferentKetchup\Codex\Log\Line;
use DateTime;
use DateTimeZone;
use InvalidArgumentException;
@@ -14,7 +14,7 @@ use InvalidArgumentException;
/**
* Class PatternParser
*
* @package Aternos\Codex\Parser
* @package IndifferentKetchup\Codex\Parser
*/
class PatternParser extends Parser
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
use Aternos\Codex\Log\LineInterface;
use IndifferentKetchup\Codex\Log\LineInterface;
/**
* Class DefaultPrinter
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
class DefaultPrinter extends Printer
{

View File

@@ -1,13 +1,13 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
use Aternos\Codex\Log\LineInterface;
use IndifferentKetchup\Codex\Log\LineInterface;
/**
* Class ModifiableDefaultPrinter
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
class ModifiableDefaultPrinter extends ModifiablePrinter
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
/**
* Class ModifiablePrinter
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
abstract class ModifiablePrinter extends Printer implements ModifiablePrinterInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
/**
* Interface ModifiablePrinterInterface
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
interface ModifiablePrinterInterface extends PrinterInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
/**
* Class Modification
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
abstract class Modification implements ModificationInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
/**
* Interface ModificationInterface
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
interface ModificationInterface
{

View File

@@ -1,11 +1,11 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
/**
* Class PatternModification
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
class PatternModification extends Modification
{

View File

@@ -1,15 +1,15 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
use Aternos\Codex\Log\EntryInterface;
use Aternos\Codex\Log\LineInterface;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\EntryInterface;
use IndifferentKetchup\Codex\Log\LineInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Class Printer
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
abstract class Printer implements PrinterInterface
{

View File

@@ -1,14 +1,14 @@
<?php
namespace Aternos\Codex\Printer;
namespace IndifferentKetchup\Codex\Printer;
use Aternos\Codex\Log\EntryInterface;
use Aternos\Codex\Log\LogInterface;
use IndifferentKetchup\Codex\Log\EntryInterface;
use IndifferentKetchup\Codex\Log\LogInterface;
/**
* Interface PrinterInterface
*
* @package Aternos\Codex\Printer
* @package IndifferentKetchup\Codex\Printer
*/
interface PrinterInterface
{