diff --git a/app/Console/Commands/RecalculateScores.php b/app/Console/Commands/RecalculateScores.php index acc43ad..d7e0ded 100644 --- a/app/Console/Commands/RecalculateScores.php +++ b/app/Console/Commands/RecalculateScores.php @@ -5,6 +5,9 @@ namespace App\Console\Commands; use App\Actions\Tabulation\ForceRecalculateTotalScores; use Illuminate\Console\Command; +/** + * @codeCoverageIgnore + */ class RecalculateScores extends Command { /** diff --git a/app/Console/Commands/SyncDoublers.php b/app/Console/Commands/SyncDoublers.php index a79a93c..22acab3 100644 --- a/app/Console/Commands/SyncDoublers.php +++ b/app/Console/Commands/SyncDoublers.php @@ -6,6 +6,9 @@ use App\Models\Doubler; use App\Models\Event; use Illuminate\Console\Command; +/** + * @codeCoverageIgnore + */ class SyncDoublers extends Command { /** diff --git a/app/Console/Commands/fictionalize.php b/app/Console/Commands/fictionalize.php index b860470..4ad0984 100644 --- a/app/Console/Commands/fictionalize.php +++ b/app/Console/Commands/fictionalize.php @@ -8,6 +8,9 @@ use App\Models\User; use Faker\Factory; use Illuminate\Console\Command; +/** + * @codeCoverageIgnore + */ class fictionalize extends Command { /** diff --git a/app/Exceptions/AuditionServiceException.php b/app/Exceptions/AuditionServiceException.php index ef02c52..cb636bb 100644 --- a/app/Exceptions/AuditionServiceException.php +++ b/app/Exceptions/AuditionServiceException.php @@ -6,5 +6,5 @@ use Exception; class AuditionServiceException extends Exception { - // + //TODO: Fully depricate this class } diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 872bd89..6b1de44 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -1,19 +1,24 @@ with('warning', $e->getMessage()); } + return parent::render($request, $e); } } diff --git a/app/Exceptions/ManageEntryException.php b/app/Exceptions/ManageEntryException.php index 6d5c3cf..3019e4e 100644 --- a/app/Exceptions/ManageEntryException.php +++ b/app/Exceptions/ManageEntryException.php @@ -6,4 +6,5 @@ use Exception; class ManageEntryException extends Exception { + //TODO: Fully depricate this class } diff --git a/app/Exceptions/ScoreEntryException.php b/app/Exceptions/ScoreEntryException.php index 9086c34..f07d8fe 100644 --- a/app/Exceptions/ScoreEntryException.php +++ b/app/Exceptions/ScoreEntryException.php @@ -6,5 +6,5 @@ use Exception; class ScoreEntryException extends Exception { - // + //TODO: Fully depricate this class } diff --git a/app/Exceptions/TabulationException.php b/app/Exceptions/TabulationException.php index 408654d..4cd7c19 100644 --- a/app/Exceptions/TabulationException.php +++ b/app/Exceptions/TabulationException.php @@ -3,20 +3,24 @@ namespace App\Exceptions; use Exception; -use Throwable; + use function dd; use function redirect; +/** + * @codeCoverageIgnore + */ class TabulationException extends Exception { public function report(): void { - // + //TODO: Fully depricate this class } public function render($request) { dd('in the render'); - return redirect('/tabulation/status')->with('error', $this->getMessage()); + + return redirect('/tabulation/status')->with('error', $this->getMessage()); } }