Fixed the unit tests on Windows. The /tmp folder doesn't exist so we should use the tmp folder as defined by PHP.
Merge branch 'hotfix/#6675-windows-zend-code-tests-tmp-path-hardcoding-removal' into develop

Close #6675