Skip to content

Commit e302ead

Browse files
authored
Merge pull request #100 from aternosorg/remove-unused-imports
Various minor code style fixes
2 parents edd8476 + 1b95a35 commit e302ead

File tree

7 files changed

+5
-9
lines changed

7 files changed

+5
-9
lines changed

src/Analysis/Information/CustomSkinLoader/CustomSkinLoaderJavaVersionInformation.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Analysis\Information\CustomSkinLoader;
44

5-
use Aternos\Codex\Minecraft\Analysis\Information\Vanilla\VanillaVersionInformation;
65
use Aternos\Codex\Minecraft\Log\Minecraft\CustomSkinLoader\CustomSkinLoaderLog;
76
use Aternos\Codex\Minecraft\Translator\Translator;
87

src/Analysis/Information/Fabric/FabricJavaVersionInformation.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Aternos\Codex\Minecraft\Analysis\Information\Fabric;
44

55
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric\FabricLog;
6-
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaServerLog;
76
use Aternos\Codex\Minecraft\Translator\Translator;
87

98
/**

src/Analysis/Problem/Fabric/FabricIncompatibleModsProblem.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Analysis\Problem\Fabric;
44

5-
use Aternos\Codex\Minecraft\Analysis\Solution\Forge\ModInstallSolution;
65
use Aternos\Codex\Minecraft\Analysis\Solution\Forge\ModRemoveSolution;
76
use Aternos\Codex\Minecraft\Translator\Translator;
87

src/Analysis/Problem/Vanilla/TickingBlockEntityProblem.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
namespace Aternos\Codex\Minecraft\Analysis\Problem\Vanilla;
44

5-
use Aternos\Codex\Minecraft\Analysis\Solution\File\FileDeleteSolution;
65
use Aternos\Codex\Minecraft\Analysis\Solution\Vanilla\BlockRemoveSolution;
76
use Aternos\Codex\Minecraft\Analysis\Solution\Vanilla\GenerateNewWorldSolution;
8-
use Aternos\Codex\Minecraft\Analysis\Solution\Vanilla\WorldRepairSolution;
97
use Aternos\Codex\Minecraft\Translator\Translator;
108

119
/**

src/Analysis/Solution/UpdateJavaSolution.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Analysis\Solution;
44

5-
use Aternos\Codex\Analysis\AutomatableSolutionInterface;
65
use Aternos\Codex\Minecraft\Translator\Translator;
76

87
/**

src/Log/Minecraft/CustomSkinLoader/CustomSkinLoaderLog.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
use Aternos\Codex\Analyser\AnalyserInterface;
66
use Aternos\Codex\Minecraft\Analyser\CustomSkinLoaderAnalyser;
77
use Aternos\Codex\Minecraft\Analysis\Information\CustomSkinLoader\CustomSkinLoaderVersionInformation;
8+
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
89
use Aternos\Codex\Minecraft\Parser\Parser;
910

1011
/**
1112
* Class CustomSkinLoaderLog
1213
*
1314
* @package Aternos\Codex\Minecraft\Log\Minecraft\CustomSkinLoader
1415
*/
15-
abstract class CustomSkinLoaderLog extends \Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog
16+
abstract class CustomSkinLoaderLog extends MinecraftLog
1617
{
1718
protected static string $prefixPattern = '\[\d{4}(?:\-\d\d){2} (?:[0-9]{2}\:?){3}(?:\] \[)?[^\]]+[ \/][A-Z]+\](?: \[[^\]]+\]:)? ';
1819
protected static string $pattern = '/^(\[(\d{4}(?:\-\d\d){2} (?:[0-9]{2}\:?){3})(?:\] \[)?[^\]]+[ \/]([A-Z]+)\](?: \[[^\]]+\]:)?) .*$/';
@@ -26,7 +27,7 @@ public static function getDefaultParser(): Parser
2627
return (new Parser())
2728
->setPattern(static::$pattern)
2829
->setTimeFormat('Y-m-d H:i:s')
29-
->setMatches([Parser::PREFIX, Parser::TIME, Parser::LEVEL]);;
30+
->setMatches([Parser::PREFIX, Parser::TIME, Parser::LEVEL]);
3031
}
3132

3233
public static function getDefaultAnalyser(): AnalyserInterface

src/Log/Minecraft/PrismLauncher/PrismLauncherLog.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
use Aternos\Codex\Detective\DetectorInterface;
66
use Aternos\Codex\Detective\SinglePatternDetector;
7+
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
78
use Aternos\Codex\Minecraft\Parser\Parser;
89

910
/**
1011
* Class PrismLauncherLog
1112
*
1213
* @package Aternos\Codex\Minecraft\Log\Minecraft\PrismLauncherLog
1314
*/
14-
abstract class PrismLauncherLog extends \Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog
15+
abstract class PrismLauncherLog extends MinecraftLog
1516
{
1617
/**
1718
* @return Parser

0 commit comments

Comments
 (0)