Showing 32 of 33 total issues
Call to method request
from undeclared class \GuzzleHttp\Client
Open
Open
$response = $this->client->request('GET', $requestUri, [
- Exclude checks
Invalid offset "techTypeLabel"
of array type array{}
Open
Open
$availabilityStatus['techTypeLabel'] ?? $availabilityStatus['techTypeMapLabel'] ?? '',
- Exclude checks
Call to undeclared method \Hod\NbnAvailability\Command\ConsoleCommand::addArgument
Open
Open
$this->addArgument('longitude', InputArgument::REQUIRED, 'The longitude of the location to check');
- Exclude checks
Parameter $input
has undeclared type \Symfony\Component\Console\Input\InputInterface
Open
Open
public function execute(InputInterface $input, OutputInterface $output)
- Exclude checks
Call to method writeln
from undeclared class \Symfony\Component\Console\Output\OutputInterface
Open
Open
$output->writeln('Technology Type: '.$availability->technologyType());
- Exclude checks
Parameter $output
has undeclared type \Symfony\Component\Console\Output\OutputInterface
Open
Open
public function execute(InputInterface $input, OutputInterface $output)
- Exclude checks
Invalid offset "rfsMessage"
of array type array{}
Open
Open
$availabilityStatus['rfsMessage'] ?? ''
- Exclude checks
Call to method writeln
from undeclared class \Symfony\Component\Console\Output\OutputInterface
Open
Open
$output->writeln('NBN Availability: '.$availability->serviceStatus());
- Exclude checks
Call to method add
from undeclared class \Symfony\Component\Console\Application
Open
Open
$application->add(new ConsoleCommand(new AvailabilityChecker()));
- Exclude checks
Call to undeclared function \GuzzleHttp\json_decode()
(Did you mean \json_decode() or \json_encode()) Open
Open
$availability = \GuzzleHttp\json_decode($response->getBody(), true);
- Exclude checks
Invalid offset "techTypeMapLabel"
of array type array{}
Open
Open
$availabilityStatus['techTypeLabel'] ?? $availabilityStatus['techTypeMapLabel'] ?? '',
- Exclude checks
Call to undeclared method \Hod\NbnAvailability\Command\ConsoleCommand::setDescription
Open
Open
$this->setDescription('Retrieve the NBN availability for a location');
- Exclude checks
Possibly zero references to protected method \Hod\NbnAvailability\Command\ConsoleCommand::configure()
Open
Open
protected function configure()
- Exclude checks
Reference to constant REQUIRED
from undeclared class \Symfony\Component\Console\Input\InputArgument
Open
Open
$this->addArgument('latitude', InputArgument::REQUIRED, 'The latitude of the location to check');
- Exclude checks
Call to method writeln
from undeclared class \Symfony\Component\Console\Output\OutputInterface
Open
Open
$output->writeln('Date Available: '.$availability->availableDate());
- Exclude checks
Invalid offset "serviceStatus"
of array type array{}
Open
Open
$availabilityStatus['serviceStatus'] ?? '',
- Exclude checks
Call to undeclared method \Hod\NbnAvailability\Command\ConsoleCommand::setHelp
Open
Open
$this->setHelp('Look up and return the NBN availability for a given location');
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\Console\Application
Open
Open
$application = new Application();
- Exclude checks
Class extends undeclared class \Symfony\Component\Console\Command\Command
Open
Open
class ConsoleCommand extends Command
- Exclude checks
Call to undeclared method \Hod\NbnAvailability\Command\ConsoleCommand::addArgument
Open
Open
$this->addArgument('latitude', InputArgument::REQUIRED, 'The latitude of the location to check');
- Exclude checks