Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Log/Minecraft/BungeeCord/BungeeCordLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\BungeeCord;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\BungeeCordAnalyser;
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
Expand All @@ -26,7 +25,7 @@ public static function getDefaultAnalyser(): BungeeCordAnalyser
}

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Log/Minecraft/BungeeCord/Waterfall/WaterfallLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class WaterfallLog extends BungeeCordLog
protected static string $prefixPattern = '(\[(?:[0-9]{2}\:?){3}\] \[[^\/]+\/(\w+)\]\:) ';

/**
* @return array
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\CustomSkinLoader;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analysis\Information\CustomSkinLoader\CustomSkinLoaderVersionInformation;
use Aternos\Codex\Minecraft\Log\Type\ClientLogTypeInterface;

class CustomSkinLoaderClientLog extends CustomSkinLoaderLog implements ClientLogTypeInterface
{
/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Geyser/GeyserLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Geyser;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\GeyserAnalyser;
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
Expand All @@ -26,7 +25,7 @@ public static function getDefaultAnalyser(): GeyserAnalyser
}

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
4 changes: 1 addition & 3 deletions src/Log/Minecraft/MinecraftLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ public static function getDefaultParser(): ParserInterface
}

/**
* Get an array of detectors matching DetectorInterface
*
* @return array
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Pocketmine/PocketmineLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Pocketmine;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\PocketmineAnalyser;
use Aternos\Codex\Minecraft\Analysis\Information\Pocketmine\PocketmineBedrockVersionInformation;
Expand Down Expand Up @@ -33,7 +32,7 @@ public static function getDefaultParser(): ParserInterface
}

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/PrismLauncher/PrismLauncherLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\PrismLauncher;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
use Aternos\Codex\Minecraft\Parser\Parser;
Expand All @@ -23,7 +22,7 @@ public static function getDefaultParser(): Parser
}

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\CraftBukkit;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\BukkitLog;

Expand All @@ -16,7 +15,7 @@ abstract class CraftBukkitLog extends BukkitLog
protected static string $logIdentifier = "CraftBukkit version git\-Bukkit";

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function getDefaultAnalyser(): BukkitAnalyser
}

/**
* @return array
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Bukkit/Folia/FoliaCrashReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Folia;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportTrait;
use Aternos\Codex\Minecraft\Log\Type\CrashReportLogTypeInterface;
Expand All @@ -17,7 +16,7 @@ class FoliaCrashReport extends FoliaLog implements CrashReportLogTypeInterface
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Paper;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportTrait;
use Aternos\Codex\Minecraft\Log\Type\CrashReportLogTypeInterface;
Expand All @@ -17,7 +16,7 @@ class PaperCrashReportLog extends PaperLog implements CrashReportLogTypeInterfac
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Purpur;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportTrait;
use Aternos\Codex\Minecraft\Log\Type\CrashReportLogTypeInterface;
Expand All @@ -17,7 +16,7 @@ class PurpurCrashReportLog extends PurpurLog implements CrashReportLogTypeInterf
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Fabric/FabricClientLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Type\ClientLogTypeInterface;

Expand All @@ -14,7 +13,7 @@
class FabricClientLog extends FabricLog implements ClientLogTypeInterface
{
/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Fabric/FabricCrashReportLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Analyser\Report\CrashReport\FabricCrashReportAnalyser;
use Aternos\Codex\Minecraft\Analyser\Report\CrashReport\MinecraftCrashReportAnalyser;
Expand All @@ -19,7 +18,7 @@ class FabricCrashReportLog extends FabricLog implements CrashReportLogTypeInterf
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Fabric/FabricLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric;

use Aternos\Codex\Analyser\AnalyserInterface;
use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\FabricAnalyser;
use Aternos\Codex\Minecraft\Analysis\Information\Vanilla\VanillaVersionInformation;
Expand All @@ -20,7 +19,7 @@ abstract class FabricLog extends VanillaLog
protected static string $prefixPattern = '(\[(?:[0-9]{2}\:?){3}\] \[[^\/]+\/(\w+)\]\:?) ';

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Arclight;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportTrait;
use Aternos\Codex\Minecraft\Log\Type\CrashReportLogTypeInterface;
Expand All @@ -17,7 +16,7 @@ class ArclightCrashReportLog extends ArclightLog implements CrashReportLogTypeIn
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Forge/Arclight/ArclightLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Arclight;

use Aternos\Codex\Analyser\AnalyserInterface;
use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\ArclightAnalyser;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\ForgeLog;
Expand All @@ -18,7 +17,7 @@ abstract class ArclightLog extends ForgeLog
protected static string $prefixPattern = '(\[(?:[0-9]{2}[a-zA-Z]+[0-9]+ )?(?:[0-9]{2}\:?){3}(?:\.[0-9]+)?\] \[[^\/]+\/(\w+)\](?: \[[^\]]+\])?\:) ';

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Forge/ForgeClientLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Type\ClientLogTypeInterface;

Expand All @@ -14,7 +13,7 @@
class ForgeClientLog extends ForgeLog implements ClientLogTypeInterface
{
/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Forge/ForgeCrashReportLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Analyser\Report\CrashReport\ForgeCrashReportAnalyser;
use Aternos\Codex\Minecraft\Analyser\Report\CrashReport\MinecraftCrashReportAnalyser;
Expand All @@ -19,7 +18,7 @@ class ForgeCrashReportLog extends ForgeLog implements CrashReportLogTypeInterfac
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Forge/ForgeLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge;

use Aternos\Codex\Analyser\AnalyserInterface;
use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\WeightedSinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\ForgeAnalyser;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaLog;
Expand All @@ -22,7 +21,7 @@ abstract class ForgeLog extends VanillaLog
protected static string $pattern = '/^(\[(?:\S+ )?(?:[0-9]{2}\:?){3}(?:\.[0-9]+)?\] \[[^\]]+\/(\w+)\](?: \[([^\]]+)\])?\:).*$/';

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Forge/Magma/MagmaLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Magma;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\MagmaAnalyser;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\ForgeLog;
Expand All @@ -15,7 +14,7 @@
abstract class MagmaLog extends ForgeLog
{
/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Mohist;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportTrait;
use Aternos\Codex\Minecraft\Log\Type\CrashReportLogTypeInterface;
Expand All @@ -17,7 +16,7 @@ class MohistCrashReportLog extends MohistLog implements CrashReportLogTypeInterf
use VanillaCrashReportTrait;

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/Forge/Mohist/MohistLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Mohist;

use Aternos\Codex\Analyser\AnalyserInterface;
use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\SinglePatternDetector;
use Aternos\Codex\Minecraft\Analyser\MohistAnalyser;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\ForgeLog;
Expand All @@ -18,7 +17,7 @@ abstract class MohistLog extends ForgeLog
protected static string $prefixPattern = '(\[(?:[0-9]{2}[a-zA-Z]+[0-9]+ )?(?:[0-9]{2}\:?){3}(?:\.[0-9]+)?\] \[[^\/]+\/(\w+)\](?: \[[^\]]+\])?\:) ';

/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
3 changes: 1 addition & 2 deletions src/Log/Minecraft/Vanilla/NeoForge/NeoForgeClientLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\NeoForge;

use Aternos\Codex\Detective\DetectorInterface;
use Aternos\Codex\Detective\MultiPatternDetector;
use Aternos\Codex\Minecraft\Log\Type\ClientLogTypeInterface;

class NeoForgeClientLog extends NeoForgeLog implements ClientLogTypeInterface
{
/**
* @return DetectorInterface[]
* @inheritDoc
*/
public static function getDetectors(): array
{
Expand Down
Loading