Skip to content

Commit 087f413

Browse files
committed
cs
1 parent 94cebca commit 087f413

File tree

7 files changed

+18
-7
lines changed

7 files changed

+18
-7
lines changed

.phpstan-dba-mysqli.cache

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DoctrineReflection/DoctrineResultObjectType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Doctrine\DBAL\Result;
88
use PHPStan\ShouldNotHappenException;
9-
use PHPStan\TrinaryLogic;
109
use PHPStan\Type\IsSuperTypeOfResult;
1110
use PHPStan\Type\ObjectType;
1211
use PHPStan\Type\Type;

src/DoctrineReflection/DoctrineStatementObjectType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Doctrine\DBAL\Statement;
88
use PHPStan\ShouldNotHappenException;
9-
use PHPStan\TrinaryLogic;
109
use PHPStan\Type\IsSuperTypeOfResult;
1110
use PHPStan\Type\ObjectType;
1211
use PHPStan\Type\Type;

src/MysqliReflection/MysqliResultObjectType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace staabm\PHPStanDba\MysqliReflection;
66

7-
use PHPStan\TrinaryLogic;
87
use PHPStan\Type\IsSuperTypeOfResult;
98
use PHPStan\Type\ObjectType;
109
use PHPStan\Type\Type;

src/PdoReflection/PdoStatementObjectType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use PDOStatement;
88
use PHPStan\ShouldNotHappenException;
9-
use PHPStan\TrinaryLogic;
109
use PHPStan\Type\ArrayType;
1110
use PHPStan\Type\BenevolentUnionType;
1211
use PHPStan\Type\Constant\ConstantArrayTypeBuilder;

src/QueryReflection/PdoPgSqlQueryReflector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ protected function checkInformationSchema(string $tableName): Iterator
119119
$this->stmt->execute([$tableName]);
120120
$result = $this->stmt->fetchAll(PDO::FETCH_ASSOC);
121121

122+
// pgsql and mysql have a similar named but different information schema, with different cased key-words
123+
// @phpstan-ignore-next-line
122124
/** @var array{column_default?: string, column_name: string, is_nullable: string} $row */
123125
foreach ($result as $row) {
124126
$default = $row['column_default'] ?? '';

src/QueryReflection/QueryReflection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
use PhpParser\Node\Expr;
99
use PhpParser\Node\Expr\BinaryOp\Concat;
1010
use PhpParser\Node\InterpolatedStringPart;
11-
use PhpParser\Node\Scalar\Encapsed;
12-
use PhpParser\Node\Scalar\EncapsedStringPart;
1311
use PhpParser\Node\Scalar\InterpolatedString;
1412
use PHPStan\Analyser\Scope;
1513
use PHPStan\ShouldNotHappenException;

0 commit comments

Comments
 (0)