File tree Expand file tree Collapse file tree 2 files changed +8
-34
lines changed Expand file tree Collapse file tree 2 files changed +8
-34
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ awareness about deprecated code.
88
99# Upgrade to 5.0
1010
11+ ## BC BREAK: Removed ` Column ` methods
12+
13+ The following ` Column ` methods have been removed:
14+
15+ - ` Column::getPlatformOption() `
16+ - ` Column::getPlatformOptions() `
17+ - ` Column::hasPlatformOption() `
18+
1119## BC BREAK: Removed support for the ` version ` column platform option
1220
1321The ` version ` column platform option is no longer supported.
Original file line number Diff line number Diff line change @@ -270,40 +270,6 @@ public function getDefaultConstraintName(): ?string
270270 return $ this ->_platformOptions [SQLServerPlatform::OPTION_DEFAULT_CONSTRAINT_NAME ] ?? null ;
271271 }
272272
273- /**
274- * @deprecated Use {@see getCharset()}, {@see getCollation()}, {@see getMinimumValue()} or {@see getMaximumValue()}
275- * instead.
276- *
277- * @return PlatformOptions
278- */
279- public function getPlatformOptions (): array
280- {
281- return $ this ->_platformOptions ;
282- }
283-
284- /**
285- * @deprecated Use {@see getCharset()}, {@see getCollation()}, {@see getMinimumValue()} or {@see getMaximumValue()}
286- * instead.
287- *
288- * @param key-of<PlatformOptions> $name
289- */
290- public function hasPlatformOption (string $ name ): bool
291- {
292- return isset ($ this ->_platformOptions [$ name ]);
293- }
294-
295- /**
296- * @deprecated Use {@see getCharset()}, {@see getCollation()}, {@see getMinimumValue()} or {@see getMaximumValue()}
297- * instead.
298- *
299- * @param key-of<PlatformOptions> $name
300- */
301- public function getPlatformOption (string $ name ): mixed
302- {
303- /** @phpstan-ignore offsetAccess.notFound */
304- return $ this ->_platformOptions [$ name ];
305- }
306-
307273 public function getColumnDefinition (): ?string
308274 {
309275 return $ this ->_columnDefinition ;
You can’t perform that action at this time.
0 commit comments