Upgrade to 3.0.1 - Call to undefined function Piwik\fnmatch()


For the first time, i get a problem during piwik update.
Piwik is installed on a NAS with PHP Version 5.6.14.

I tried to update to 3.0.1, result:
A fatal error occurred
The following error just broke Piwik (v3.0.1):
Call to undefined function Piwik\fnmatch()
/piwik/core/FileIntegrity.php line 312

Then i check php.net, i read my php version supports this function:
PHP: fnmatch - Manual

I send this error to the Piwik team and remove the plugin which are not compatible with 3.X.

Do you understand where this error come from?
If it is not possible to solve the issue, how to downgrader? And how to be sure i will not get this error after the next upgrade?

Thank you in advance for your help,

Hello! fixed in the latest beta: I would like to test early beta and RC releases, how do I enable automatic updates to use these development versions? - Analytics Platform - Piwik

Thank you.
Yes, it’s fixed with the 3.0.2.