for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHPPgAdmin 6.1.3
*/
namespace PHPPgAdmin\Database;
* @file
* PostgreSQL 12.x support
* Class to add support for Postgres12.
class Postgres12 extends Postgres11
{
* @var float
public $major_version = 12;
* @var class-string
class-string
0
public $help_classname = \PHPPgAdmin\Help\PostgresDoc12::class;
* Checks to see whether or not a table has a unique id column.
*
* @deprecated this field has been removed of pg_class as of PG 12
* @see https://www.postgresql.org/docs/12/catalog-pg-class.html
* @param string $table The table name
* @return bool
public function hasObjectID($table)
$table
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function hasObjectID(/** @scrutinizer ignore-unused */ $table)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return false;
}