-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
| Q | A |
|---|---|
| BC Break | no |
| Version | 3.0.0-dev |
In light of the Named Arguments RFC likely going to pass, it's important to have arguments named consistently across the API.
The following is an example but not a complete list of issues:
- In
AbstractPlatformmethods, the database argument is mostly named$databasebut in some cases, it's$currentDatabase:
dbal/src/Platforms/AbstractPlatform.php
Line 2805 in 2efcbe2
public function getListTableIndexesSQL($table, $currentDatabase = null) - Some classes override the parent classes method and unintentionally rename the argument:
dbal/src/Platforms/AbstractPlatform.php
Line 2749 in 2efcbe2
public function getListTableColumnsSQL($table, $database = null) dbal/src/Platforms/SqlitePlatform.php
Line 453 in 2efcbe2
public function getListTableColumnsSQL($table, $currentDatabase = null)