db_escape_string doesn't exist any more, replaced with the original addslashes

Signed-off-by: emanuele <emanuele45@gmail.com>
A bit of deprecation

Signed-off-by: emanuele <emanuele45@gmail.com>
Sorry, but a fake compatibiity is worse than not having it

Signed-off-by: emanuele <emanuele45@gmail.com>
SSI is beta2 too

Signed-off-by: emanuele <emanuele45@gmail.com>
Update .scrutinizer.yml

turn off a couple of cs sniffs that were erroneous for us
Replaced curry with a class

Signed-off-by: emanuele <emanuele45@gmail.com>
And let's try to replace the curry completely - thanks @silentguardian for the idea!

Signed-off-by: emanuele <emanuele45@gmail.com>
! no need to check if thats utf8 for us
! tweak the docblock

Signed-off-by: Spuds <spuds@spudsdesign.com>
! remove callback for a basic search and replace to save memory

Signed-off-by: Spuds <spuds@spudsdesign.com>
! stop error in some rare cases

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #1359 from Spuds/Leaking

Memory Issues
Merge pull request #1358 from emanuele45/compat

Compat
! missed a few var calls, ';''s etc, minor stuff from hint

Signed-off-by: Spuds <spuds@spudsdesign.com>
! start of type hinting for the array params

Signed-off-by: Spuds <spuds@spudsdesign.com>
! more param array type hinting
! removal of dead vars inits

Signed-off-by: Spuds <spuds@spudsdesign.com>
! continuation of the param types are consistent with calls etc

Signed-off-by: Spuds <spuds@spudsdesign.com>
! more proper type hinting

Signed-off-by: Spuds <spuds@spudsdesign.com>
! continuation of type hinting where required
! fix any dead assignments

Signed-off-by: Spuds <spuds@spudsdesign.com>
! next batch of type hinting etc

Signed-off-by: Spuds <spuds@spudsdesign.com>
! moar in this fun recursive game !

Signed-off-by: Spuds <spuds@spudsdesign.com>