[TASK] Clean up DatabaseConnection::fullQuoteArray 38/46038/2
authorNicole Cordes <typo3@cordes.co>
Sun, 17 Jan 2016 21:21:09 +0000 (22:21 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 19 Jan 2016 09:08:46 +0000 (10:08 +0100)
commit5580280084d81b9108b9411c2ccaa9b0e43a32cc
tree9bd22c8cbaa087da99d55d5707c8a0fd13c36883
parentcb83eb75b6a070f2892c8cf1b98f9a27a9260d6f
[TASK] Clean up DatabaseConnection::fullQuoteArray

If the parameter $noQuote equals true, the given array can be returned
directly as there isn't anything to do.

Furthermore the AccessibleMock object from the test method can be
converted into a normal mock.

Resolves: #72781
Releases: master
Change-Id: Id58e5809b0f7d7d1c3c2c5908c70891f9e90a811
Reviewed-on: https://review.typo3.org/46038
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php