for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @file Version.php
* @brief This file contains the Version class.
* @details
* @author Filippo F. Fadda
*/
namespace EoC;
* @brief This helper class is aimed to provide the software version number.
* @details The version number is composed by a group of three numbers. The first one is the major release number, the
* second one is the minor release number and the third one is used to identify the maintenance version.
class Version {
const MAJOR = '0'; //!< Major release number.
const MINOR = '9'; //!< Minor release number.
const MAINTENANCE = '2'; //!< Maintenance release number (bug fixes only).
* @brief Returns the version number as string.
* @return string The version number.
public static function getNumber() {
return static::MAJOR.".".static::MINOR.".".static::MAINTENANCE;
}