for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* GEOSWKTReader class stub.
*
* These stubs are required for IDEs to provide autocompletion and static code analysis during development.
* They are not required for production.
* @see https://github.com/libgeos/libgeos/blob/svn-trunk/php/geos.c
*/
class GEOSWKTReader
{
* Constructor.
public function __construct() {}
* @param string $wkt
* @return GEOSGeometry
* @throws \Exception If the WKT is not valid.
public function read($wkt) {}
$wkt
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function read(/** @scrutinizer ignore-unused */ $wkt) {}
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.