diff --git a/src/phpDocumentor/Plugin/Core/Transformer/Writer/Statistics.php b/src/phpDocumentor/Plugin/Core/Transformer/Writer/Statistics.php
index <HASH>..<HASH> 100644
--- a/src/phpDocumentor/Plugin/Core/Transformer/Writer/Statistics.php
+++ b/src/phpDocumentor/Plugin/Core/Transformer/Writer/Statistics.php
@@ -78,7 +78,7 @@ class Statistics extends Checkstyle
     protected function appendPhpdocStatsElement(\DOMDocument $document)
     {
         $stats = $document->createElement('phpdoc-stats');
-        $stats->setAttribute('version', rtrim(Application::$VERSION));
+        $stats->setAttribute('version', Application::$VERSION);
         $document->appendChild($stats);
 
         return $document;
No need for trim version - fixed in meantime