for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wead\ZipCode\Contracts;
abstract class ProviderContract
{
public function getAddressFromZipcode($zipCode)
$zipCode
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function getAddressFromZipcode(/** @scrutinizer ignore-unused */ $zipCode)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
private function normalizeResponse($address)
$address
private function normalizeResponse(/** @scrutinizer ignore-unused */ $address)
normalizeResponse()
This check looks for private methods that have been defined, but are not used inside the class.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.