title: Syntax error when trying to clear my Symfony project cache
body: <p>When I try to clear the cache of my Symfony2.8 project, I get the following error:</p>
  
  <blockquote>
    <p>[Symfony\Component\Debug\Exception\FatalErrorException]     Parse
    Error: syntax error, unexpected '['</p>
  </blockquote>
  
  <p>Here is more deParse error: </p>
  
  <blockquote>
    <p>syntax error, unexpected '[' in
    /home/jack/html/fc/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
    on line 90</p>
  </blockquote>
  
  <p>I upgraded my Symfony2.7 to 2.8 yesterday and now I am busy fixing deprecations to get it ready for version 3. I just though about clearing cache now and then, but I just got this error.</p>
  
  <p>I used this command:</p>
  
  <p><code>php app/console cache:clear</code></p>