for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHPPgAdmin v6.0.0-RC6
*/
namespace PHPPgAdmin\Database;
* @file
* PostgreSQL 12.x support
* Class to add support for Postgres12.
class Postgres12 extends Postgres11
{
public $major_version = 12;
* 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 false
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 null;
}
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.