public static function validateVersion($requiredVersion, $composerVersion)
    {
        if (false === strpos($composerVersion, '@') && !version_compare($composerVersion, $requiredVersion, '>=')) {
            $msg = 'Foxy requires the Composer\'s minimum version "%s", current version is "%s"';

            throw new RuntimeException(sprintf($msg, $requiredVersion, $composerVersion));
        }
    }
public static function validateVersion($requiredVersion, $composerVersion)
    {
        if (false === strpos($composerVersion, '@') && !version_compare($composerVersion, $requiredVersion, '>=')) {
            $msg = 'Foxy requires the Composer\'s minimum version "%s", current version is "%s"';

            throw new RuntimeException(sprintf($msg, $requiredVersion, $composerVersion));
        }
    }
public static function validateVersion ( $ requiredVersion , $ composerVersion ) { if ( false === strpos ( $ composerVersion , '@' ) && ! version_compare ( $ composerVersion , $ requiredVersion , '>=' ) ) { $ msg = 'Foxy requires the Composer\'s minimum version "%s", current version is "%s"' ; throw new RuntimeException ( sprintf ( $ msg , $ requiredVersion , $ composerVersion ) ) ; } }
Validate the composer version.

@param string $requiredVersion The composer required version
@param string $composerVersion The composer version
Validate the composer version .