protected function filterArtisanCommand($command)
    {
        $parts = explode(" ", $command);

        if (isset($parts[2])) {
            if (str_contains(strtolower($parts[0]), 'php') && str_contains(strtolower($parts[1]), 'artisan')) {
                unset($parts[0]);
                unset($parts[1]);
                return implode(" ", $parts);
            }
        }

        return $command;
    }