application/Espo/Core/Upgrades/Actions/Base.php
protected function checkManifest(array $manifest)
    {
        $requiredFields = array(
            'name',
            'version',
        );

        foreach ($requiredFields as $fieldName) {
            if (empty($manifest[$fieldName])) {
                return false;
            }
        }

        return true;
    }
protected function checkManifest(array $manifest)
    {
        $requiredFields = array(
            'name',
            'version',
        );

        foreach ($requiredFields as $fieldName) {
            if (empty($manifest[$fieldName])) {
                return false;
            }
        }

        return true;
    }
protected function checkManifest ( array $ manifest ) { $ requiredFields = array ( 'name' , 'version' , ) ; foreach ( $ requiredFields as $ fieldName ) { if ( empty ( $ manifest [ $ fieldName ] ) ) { return false ; } } return true ; }
Check if the manifest is correct

@param  array  $manifest
@return boolean
Check if the manifest is correct