<?php namespace Garradin; use Garradin\Entities\Files\File; $db = DB::getInstance(); $old_version = $plugin->getInfos('version'); if (version_compare($old_version, '0.6.0', '<')) { }