title: Symfony 4 error where cache:clear or composer update
body: <p>When I ran <code>composer update</code> OR <code>bin/console cache:clear</code> it had issue bellow:</p>
  <blockquote>
  <p>Executing script cache:clear [KO]</p>
  </blockquote>
  <blockquote>
  <p>Script cache:clear returned with error code 1</p>
  </blockquote>
  <blockquote>
  <p>In ArrayNode.php line 331:</p>
  </blockquote>
  <blockquote>
  <p>Unrecognized options &quot;dir_name, namespace&quot; under
  &quot;doctrine_migrations&quot;. Ava   !!    ilable options are
  &quot;all_or_nothing&quot;, &quot;check_database_platform&quot;, &quot;connection   !!    &quot;,
  &quot;custom_template&quot;, &quot;em&quot;, &quot;factories&quot;, &quot;migrations&quot;,
  &quot;migrations_paths&quot;,    !!    &quot;organize_migrations&quot;, &quot;services&quot;,
  &quot;storage&quot;.</p>
  </blockquote>
  <blockquote>
  <p>Script @auto-scripts was called via post-update-cmd</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/qjgwF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qjgwF.png" alt="enter image description here" /></a></p>