-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Fix annotations on zend db #6798
Fix annotations on zend db #6798
Conversation
please do rebase againts master and fix the conflicts. |
Done! :) |
@dennisdegreef commit dennisdegreef/zf2@433a40e should be removed. Rebase instead, merging |
433a40e
to
b085ded
Compare
Sorry, I may have messed this up... I'll try and repatch it on a fresh branch |
@dennisdegreef looking much better now |
* @throws Exception\InvalidArgumentException | ||
* @return Driver\StatementInterface|ResultSet\ResultSet | ||
*/ | ||
public function query($sql, $parametersOrQueryMode, ResultSet\ResultSetInterface $resultPrototype = null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a major BC break and I will have to remove it on merge.
@dennisdegreef manually merged, thanks! |
Hi @Ocramius , If the query() method in the interface is a BC break (I can't see why currently, but that may be the time of day), shouldn't the getMock() methods in the tests also remove the 'query' method from the second parameter? $mockMasterAdapter = $this->getMock(
'Zend\Db\Adapter\AdapterInterface',
- array('getDriver', 'getPlatform', 'query')
+ array('getDriver', 'getPlatform')
); |
It's a bc break because implementing classes not implementing I didn't see any other failures otherwise: |
See https://scrutinizer-ci.com/g/link0/profiler/inspections/d0f2c947-c70b-424b-9a18-58ddcf5b2f25/issues/files/src/Link0/Profiler/PersistenceHandler/ZendDbHandler.php?status=new&orderField=path&order=asc