<p dir="auto"><strong>symfony/website-skeleton</strong>: 4.1.2.3</p>
<p dir="auto"><strong>Description</strong><br>
When installing website-skeleton, the following error is displayed:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...
  - Configuring symfony/phpunit-bridge (&gt;=4.1): From github.com/symfony/recipes:master
  - Configuring symfony/web-server-bundle (&gt;=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ArrayNode.php line 311:
!!                                                       
!!    Unrecognized option &quot;validator&quot; under &quot;framework&quot;  
!!                                                       
!!  
!!  
Script @auto-scripts was called via post-install-cmd"><pre class="notranslate"><code class="notranslate">...
  - Configuring symfony/phpunit-bridge (&gt;=4.1): From github.com/symfony/recipes:master
  - Configuring symfony/web-server-bundle (&gt;=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ArrayNode.php line 311:
!!                                                       
!!    Unrecognized option "validator" under "framework"  
!!                                                       
!!  
!!  
Script @auto-scripts was called via post-install-cmd
</code></pre></div>
<p dir="auto">The error is repeated on two different servers.<br>
First server: composer 1.6.5 and PHP 7.2.7<br>
Second server: composer 1.6.5 and PHP 7.1.19</p>
<p dir="auto"><strong>How to reproduce</strong><br>
<code class="notranslate">composer create-project symfony/website-skeleton .</code></p>
<p dir="auto">Composer version 1.6.5<br>
linux debian 9.4<br>
PHP 7.2.7-1stretch~1.gbpfd8e2e (cli)</p>
<p dir="auto">run: composer create-project symfony/website-skeleton my-project</p>
<p dir="auto">returns error</p>
<blockquote>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ArrayNode.php line 311:
!!                                                       
!!    Unrecognized option &quot;validator&quot; under &quot;framework&quot;  
!!                                                       
!!  
!!  
Script @auto-scripts was called via post-install-cmd"><pre class="notranslate"><code class="notranslate">Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ArrayNode.php line 311:
!!                                                       
!!    Unrecognized option "validator" under "framework"  
!!                                                       
!!  
!!  
Script @auto-scripts was called via post-install-cmd
</code></pre></div>