Skip to content

Commit d05b7a9

Browse files
committed
Migrate to TableEditor API
1 parent 5c947b6 commit d05b7a9

2 files changed

Lines changed: 439 additions & 79 deletions

File tree

phpstan-dbal3.neon

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

0 commit comments

Comments
 (0)