for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sugarcrm\UpgradeSpec\Context;
use Sugarcrm\UpgradeSpec\Version\Version;
class Metadata
{
/**
* @var string
*/
private $version;
private $flav;
private $source;
* Metadata constructor.
*
* @param $version
* @param $flav
* @param string $source
public function __construct(Version $version, $flav, $source)
$this->version = $version;
$version
object<Sugarcrm\UpgradeSpec\Version\Version>
string
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
$this->flav = $flav;
$this->source = $source;
}
* @return string
public function getVersion()
return $this->version;
public function getFlav()
return $this->flav;
public function getSource()
return $this->source;
* Returns Context string representation.
public function __toString()
return sprintf('%s(%s)', $this->version, $this->flav);
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..