<?php

namespace EHEncryptionBundle\Annotation;

use Doctrine\Common\Annotations\Annotation;
use EHEncryptionBundle\Service\EncryptionService;

/**
 * @Annotation
 * @Target("CLASS")
 */
final class EncryptedFile
{
    public $enabled = true;

    public $mode = EncryptionService::MODE_PER_USER_SHAREABLE;
}

<?php

namespace EHEncryptionBundle\Annotation;

use Doctrine\Common\Annotations\Annotation;

/**
 * @Annotation
 * @Target("CLASS")
 */
final class EncryptedFile
{
    public $enabled = true;

    public $mode;
}

--- 
+++ 
@@ -3,6 +3,7 @@
 namespace EHEncryptionBundle\Annotation;
 
 use Doctrine\Common\Annotations\Annotation;
+use EHEncryptionBundle\Service\EncryptionService;
 
 /**
  * @Annotation
@@ -12,5 +13,5 @@
 {
     public $enabled = true;
 
-    public $mode;
+    public $mode = EncryptionService::MODE_PER_USER_SHAREABLE;
 }
Document and file encryption changes
