Try to fix test failures on PHP 7.4.
Try to fix test failures on PHP 7.4.

CakeDC/cakephp,ADmad/cakephp,cakephp/cakephp,ADmad/cakephp,cakephp/cakephp,CakeDC/cakephp,CakeDC/cakephp,ndm2/cakephp,ndm2/cakephp,cakephp/cakephp,CakeDC/cakephp,ADmad/cakephp,ADmad/cakephp,ndm2/cakephp,ndm2/cakephp,cakephp/cakephp