Remove deprecated Resource classification logic

The \\Illuminate\Http\Resources\Json\Resource class has been deprecated in Laravel 6 and has been removed in Laravel 7.
<?php declare(strict_types=1);

namespace Wnx\LaravelStats\Classifiers;

use Wnx\LaravelStats\ReflectionClass;
use Wnx\LaravelStats\Contracts\Classifier;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Http\Resources\Json\ResourceCollection;

class ResourceClassifier implements Classifier
{
    public function name(): string
    {
        return 'Resources';
    }

    public function satisfies(ReflectionClass $class): bool
    {
        if ($class->isSubclassOf(JsonResource::class)) {
            return true;
        }

        if ($class->isSubclassOf(ResourceCollection::class)) {
            return true;
        }

        return false;
    }

    public function countsTowardsApplicationCode(): bool
    {
        return true;
    }

    public function countsTowardsTests(): bool
    {
        return false;
    }
}

<?php declare(strict_types=1);

namespace Wnx\LaravelStats\Classifiers;

use Wnx\LaravelStats\ReflectionClass;
use Wnx\LaravelStats\Contracts\Classifier;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Http\Resources\Json\ResourceCollection;

class ResourceClassifier implements Classifier
{
    public function name(): string
    {
        return 'Resources';
    }

    public function satisfies(ReflectionClass $class): bool
    {
        if (class_exists(\Illuminate\Http\Resources\Json\Resource::class) && $class->isSubclassOf(\Illuminate\Http\Resources\Json\Resource::class)) {
            return true;
        }

        if ($class->isSubclassOf(JsonResource::class)) {
            return true;
        }

        if ($class->isSubclassOf(ResourceCollection::class)) {
            return true;
        }

        return false;
    }

    public function countsTowardsApplicationCode(): bool
    {
        return true;
    }

    public function countsTowardsTests(): bool
    {
        return false;
    }
}
