title: Annotations in Symfony 4
body: <p>I try to develop with Symfony 4 so I follow the tutorial on symfony.com</p>
  <p>I've got an error when I try to access at :</p>
  <pre><code>http://localhost:8000/
  </code></pre>
  <p>This is the error :</p>
  <blockquote>
  <p>[Syntax Error] Expected PlainValue, got ''' at position 7 in method App\Controller\HomeController::home() in /Users/<em><strong><strong>/Documents/ProjetSymfo4/my-project/config/routes/../../src/Controller/ (which is being imported from &quot;/Users/</strong></strong></em>/Documents/ProjetSymfo4/my-project/config/routes/annotations.yaml&quot;). Make sure annotations are installed and enabled.</p>
  </blockquote>
  <p>I already ran</p>
  <blockquote>
  <p>composer require annotations</p>
  </blockquote>
  <p>And it is installed</p>
  <pre><code>In composer.json : 
  
  &quot;require&quot;: {
      &quot;php&quot;: &quot;^7.1.3&quot;,
      &quot;ext-iconv&quot;: &quot;*&quot;,
      &quot;sensio/framework-extra-bundle&quot;: &quot;^5.1&quot;,
  </code></pre>
  <p>This is my project :</p>
  <p><a href="https://i.stack.imgur.com/fxY6F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fxY6F.png" alt="enter image description here" /></a></p>