Quickly after I started using DBAL in some Wikibase components, I got annoyed at how single table single table selects needed to be created. The QueryBuilder has a “from” method, in which one needs to specify the table name. The annoying bit is that you also had to specify a table alias, and then use this alias in the select and where calls as well.
In an hour of free time and several commits I made the parameter optional, enabling one to do the same without having to specify the alias:
This change will be part of the upcoming Doctrine DBAL 2.5.