Type cast potential string value to int
Type cast potential string value to int

If you pass "timeout" as parameter in an url, the function parseDsn in StaticConfigTrait.php will interpret the value as string. This triggers a "type error" in stream_socket_client. Type casting the variable to int solves it.
Example url in StaticConfigTrait.php triggers the error:
$dsn = 'smtp://user:secret@localhost:25?timeout=30&client=null&tls=null';
cakephp/cakephp,cakephp/cakephp,ndm2/cakephp,CakeDC/cakephp,CakeDC/cakephp,CakeDC/cakephp,ndm2/cakephp,ADmad/cakephp,cakephp/cakephp,ndm2/cakephp,ADmad/cakephp,CakeDC/cakephp,ADmad/cakephp,ndm2/cakephp,cakephp/cakephp,ADmad/cakephp