You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: phpstan.neon.dist
+2-2
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,9 @@ parameters:
32
32
33
33
# fix https://github.com/phpstan/phpstan-deprecation-rules/issues/52 and https://github.com/phpstan/phpstan/issues/6444
34
34
-
35
-
message: '~^Call to method (getVarcharTypeDeclarationSQL|getClobTypeDeclarationSQL|getCreateTableSQL)\(\) of deprecated class Doctrine\\DBAL\\Platforms\\(SQLServerPlatform|AbstractPlatform):\nUse.+instead\.$~'
35
+
message: '~^Call to method (getVarcharTypeDeclarationSQL|getClobTypeDeclarationSQL|getCreateTableSQL|getCurrentDatabaseExpression)\(\) of deprecated class Doctrine\\DBAL\\Platforms\\(PostgreSQLPlatform|SQLServerPlatform|AbstractPlatform):\nUse.+instead\.$~'
36
36
path: '*'
37
-
count: 3
37
+
count: 5
38
38
39
39
# TODO these rules are generated, this ignores should be fixed in the code
@@ -83,24 +92,24 @@ protected function getCreateAutoincrementSql(Table $table, Column $pkColumn): ar
83
92
$$ LANGUAGE plpgsql
84
93
EOF),
85
94
[
86
-
'table' => $table->getName(),
95
+
'table' => $table->getShortestName($table->getNamespaceName()), // TODO should be probably name /w schema, but it is not supported, get variable type differently
87
96
'pk' => $pkColumn->getName(),
88
97
'pk_seq' => $pkSeqName,
89
-
'trigger_func' => $table->getName() . '_AI_FUNC',// TODO create only one function per schema
0 commit comments