YetiForceCompany/YetiForceCRM

View on GitHub
app/Db/Drivers/Pgsql/Schema.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Call with 3 arg(s) to \App\Db\Drivers\Pgsql\ColumnSchemaBuilder::__construct() which only takes 0 arg(s) defined at /code/app/Db/Drivers/Pgsql/ColumnSchemaBuilder.php:18
Open

        return new ColumnSchemaBuilder($type, $length, $this->db);
Severity: Info
Found in app/Db/Drivers/Pgsql/Schema.php by phan

Class extends undeclared class \yii\db\pgsql\Schema (Did you mean class \App\Db\Drivers\Mysql\Schema or class \App\Db\Drivers\Pgsql\Schema)
Open

class Schema extends \yii\db\pgsql\Schema
Severity: Critical
Found in app/Db/Drivers/Pgsql/Schema.php by phan

Reference to undeclared property \App\Db\Drivers\Pgsql\Schema->db
Open

        return new ColumnSchemaBuilder($type, $length, $this->db);
Severity: Minor
Found in app/Db/Drivers/Pgsql/Schema.php by phan

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     * This method may be overridden by child classes to create a DBMS-specific column schema builder.

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     * Create a column schema builder instance giving the type and value precision.

Spaces must be used to indent lines; tabs are not allowed
Open

        return new ColumnSchemaBuilder($type, $length, $this->db);

Spaces must be used to indent lines; tabs are not allowed
Open

    use \App\Db\Drivers\SchemaTrait;

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string           $type   type of the column. See [[ColumnSchemaBuilder::$type]].

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     * @since 2.0.6

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    public function createColumnSchemaBuilder($type, $length = null)

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return ColumnSchemaBuilder column schema builder instance

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param array|int|string $length length or precision of the column. See [[ColumnSchemaBuilder::$length]].

Spaces must be used to indent lines; tabs are not allowed
Open

    }

There are no issues that match your filters.

Category
Status