Skip to content

Commit ea9289b

Browse files
committed
Migrate to TableEditor API
1 parent bf77000 commit ea9289b

2 files changed

Lines changed: 362 additions & 51 deletions

File tree

phpstan-dbal3.neon

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,44 @@ parameters:
218218
-
219219
message: '~^Unknown parameter \$configuration in call to Doctrine\\DBAL\\Schema\\Table constructor\.$~'
220220
path: src/Tools/SchemaTool.php
221+
222+
# DBAL 4.5+ TableEditor API (not available in DBAL 3)
223+
-
224+
message: '~^Call to an undefined static method Doctrine\\DBAL\\Schema\\Table::editor\(\)\.$~'
225+
path: src/Tools/SchemaTool.php
226+
227+
-
228+
message: '~^Class Doctrine\\DBAL\\Schema\\TableEditor not found\.$~'
229+
path: src/Tools/SchemaTool.php
230+
231+
-
232+
message: '~^Call to method .* on an unknown class Doctrine\\DBAL\\Schema\\TableEditor\.$~'
233+
path: src/Tools/SchemaTool.php
234+
235+
-
236+
message: '~^Parameter .* has invalid type Doctrine\\DBAL\\Schema\\TableEditor\.$~'
237+
path: src/Tools/SchemaTool.php
238+
239+
-
240+
message: '~^Call to an undefined static method Doctrine\\DBAL\\Schema\\Index::editor\(\)\.$~'
241+
path: src/Tools/SchemaTool.php
242+
243+
-
244+
message: '~^Call to an undefined static method Doctrine\\DBAL\\Schema\\Column::editor\(\)\.$~'
245+
path: src/Tools/SchemaTool.php
246+
247+
-
248+
message: '~^Parameter .* has invalid type Doctrine\\DBAL\\Schema\\ColumnEditor\.$~'
249+
path: src/Tools/SchemaTool.php
250+
251+
-
252+
message: '~^Call to method .* on an unknown class Doctrine\\DBAL\\Schema\\ColumnEditor\.$~'
253+
path: src/Tools/SchemaTool.php
254+
255+
-
256+
message: '~^Call to static method parseOptionallyQualifiedName\(\) on an unknown class Doctrine\\DBAL\\Schema\\Name\\Parsers\.$~'
257+
path: src/Tools/SchemaTool.php
258+
259+
-
260+
message: '~^Access to undefined constant Doctrine\\DBAL\\Platforms\\SQLServerPlatform::OPTION_DEFAULT_CONSTRAINT_NAME\.$~'
261+
path: src/Tools/SchemaTool.php

0 commit comments

Comments
 (0)