Fix phpcs and psalm errors.
Fix phpcs and psalm errors.

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