[Defender] Wp Defender syntax error

So I setup pulling in plugins via composer and everything basically works fin until I attempt to deploy to the remote dev. Got the following error notices form the remote:
remote: - info: checking wp-content/plugins/show-current-template/show-current-template.php ...
remote: - info: checking wp-content/plugins/simple-local-avatars/simple-local-avatars.php ...
remote: - info: checking wp-content/plugins/wp-defender/vendor/hammer/caching/memcached-cache.php ...
remote: PHP Parse error: syntax error, unexpected '}', expecting end of file in - on line 84
remote: - warning: syntax Error Found in wp-content/plugins/wp-defender/vendor/hammer/caching/memcached-cache.php ...
remote: - info: checking wp-content/plugins/wp-term-images/includes/class-wp-term-images.php ...
remote: - info: checking wp-content/plugins/wp-term-images/includes/class-wp-term-meta-ui.php ...
remote: - info: checking wp-content/plugins/wp-term-images/wp-term-images.php ...
remote: - failed: we detected a PHP syntax failure.
To git.wpengine.com:production/devhme.git

Therefore being the curious type I took a quick look at the file in question there does appear to be an additional return and set of ending braces. I am flummoxed as to how the composer asset version differs form the ZIP download but I have attached it below.
<?php
/**
* Author: Hoang Ngo
*/

namespace Hammer\Caching;
/**
* Only use this engine if memory cached setup properly
*
* Class Memcached_Cache
* @package Hammer\Caching
*/
class Memcached_Cache extends Cache {

/**
* @param $key
* @param $value
* @param null $duration
*
* @return bool
*/
protected function addValue( $key, $value, $duration ) {
return wp_cache_add( $key, $value, null, $duration );
}

/**
* @param $key
*
* @return bool
*/
protected function deleteValue( $key ) {
return wp_cache_delete( $key );
}

/**
* @param $key
*
* @return bool|mixed
*/
protected function getValue( $key ) {
return wp_cache_get( $key );
}

/**
* @param $key
* @param $offset
*/
protected function increaseValue( $key, $offset ) {
wp_cache_incr( $key, $offset );
}

/**
* @param $key
* @param $offset
*/
protected function decreaseValue( $key, $offset ) {
wp_cache_decr( $key, $offset );
}

/**
* @param $key
* @param $value
* @param null $duration
*
* @return bool
*/
protected function setValue( $key, $value, $duration ) {
return wp_cache_set( $key, $value, null, $duration );
}

/**
* @param $key
*
* @return bool
*/
protected function valueExist( $key ) {
if ( wp_cache_get( $key ) === false ) {
return false;
}

return true;
}
} return true;
}
}