"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "matomo/core/Version.php" between
matomo-4.1.2-rc2.tar.gz and matomo-4.2.0.tar.gz

About: Matomo is a web analytics platform that aims to be an open source alternative to Google Analytics that let you retain ownership and control over your data (formerly Piwik).

Version.php  (matomo-4.1.2-rc2):Version.php  (matomo-4.2.0)
skipping to change at line 23 skipping to change at line 23
* Matomo version information. * Matomo version information.
* *
* @api * @api
*/ */
final class Version final class Version
{ {
/** /**
* The current Matomo version. * The current Matomo version.
* @var string * @var string
*/ */
const VERSION = '4.1.2-rc2'; const VERSION = '4.2.0';
const MAJOR_VERSION = 4; const MAJOR_VERSION = 4;
public function isStableVersion($version) public function isStableVersion($version)
{ {
return (bool) preg_match('/^(\d+)\.(\d+)\.(\d+)$/', $version); return (bool) preg_match('/^(\d+)\.(\d+)\.(\d+)$/', $version);
} }
public function isVersionNumber($version) public function isVersionNumber($version)
{ {
return $this->isStableVersion($version) || $this->isNonStableVersion($ve rsion); return $this->isStableVersion($version) || $this->isNonStableVersion($ve rsion);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)