/** * @inheritdoc */ public function isCompatible() { return version_compare($this->setupContext->getPreviousPluginVersion(), self::MIN_PLUGIN_VERSION, '<'); }
/** * @return boolean */ public function isCompatible() { return $this->setupContext->assertMinimumShopwareVersion(self::SHOPWARE_MIN_VERSION); }
/** * @return boolean */ public function isCompatible() { return $this->setupContext->assertMinimumPluginVersion(self::MIN_PLUGIN_VERSION); }
public function test_assertMaximumShopwareVersion_should_return_false_if_same_versions_were_given() { $currentShopwareVersion = '5.3.0'; $maxVersion = '5.3.0'; $setupContext = new SetupContext($currentShopwareVersion, '', ''); $isCompatible = $setupContext->assertMaximumShopwareVersion($maxVersion); $this->assertFalse($isCompatible); }