rafaelmonteiro/pokemon-battle-lumen

View on GitHub
app/Http/Controllers/PokemonController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method hit has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function hit(Request $request)
    {
        $this->validate($request, [
            'player.name' => 'required',
            'player.attack' => 'required',
Severity: Minor
Found in app/Http/Controllers/PokemonController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status