<p dir="auto">Since upgrading my symfony installation to 3.0.4 from 3.0.3, I get the following when running composer install:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[development@localhost ~/P/phpdocker.io] (behat) composer -o install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating optimized autoload files
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\ClockMock&quot; was found in both &quot;/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/ClockMock.php&quot; and &quot;/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/ClockMock.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\TextUI\Command&quot; was found in both &quot;/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/TextUI/Command.php&quot; and &quot;/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/Command.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\TextUI\TestRunner&quot; was found in both &quot;/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/TextUI/TestRunner.php&quot; and &quot;/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/TestRunner.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\SymfonyTestsListener&quot; was found in both &quot;/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/SymfonyTestsListener.php&quot; and &quot;/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\DeprecationErrorHandler&quot; was found in both &quot;/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/DeprecationErrorHandler.php&quot; and &quot;/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php&quot;, the first will be used.
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
&gt; Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
&gt; Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
&gt; Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget"><pre class="notranslate"><code class="notranslate">[development@localhost ~/P/phpdocker.io] (behat) composer -o install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating optimized autoload files
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\ClockMock" was found in both "/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/ClockMock.php" and "/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/ClockMock.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\TextUI\Command" was found in both "/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/TextUI/Command.php" and "/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/Command.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\TextUI\TestRunner" was found in both "/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/TextUI/TestRunner.php" and "/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/TestRunner.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\SymfonyTestsListener" was found in both "/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/SymfonyTestsListener.php" and "/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\DeprecationErrorHandler" was found in both "/home/development/Projects/phpdocker.io/vendor/symfony/phpunit-bridge/DeprecationErrorHandler.php" and "/home/development/Projects/phpdocker.io/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php", the first will be used.
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
&gt; Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
&gt; Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
&gt; Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
</code></pre></div>
<p dir="auto">This doesn't happen if I force symfony version to 3.0.3.</p>
<p dir="auto">composer.json:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;name&quot;:         &quot;development/php-docker&quot;,
  &quot;license&quot;:      &quot;proprietary&quot;,
  &quot;type&quot;:         &quot;project&quot;,
  &quot;autoload&quot;:     {
    &quot;psr-4&quot;:    {
      &quot;&quot;: &quot;src/&quot;
    },
    &quot;classmap&quot;: [
      &quot;app/AppKernel.php&quot;,
      &quot;app/AppCache.php&quot;
    ]
  },
  &quot;autoload-dev&quot;: {
    &quot;psr-4&quot;: {
      &quot;Tests\\&quot;: &quot;tests/&quot;
    }
  },
  &quot;require&quot;:      {
    &quot;php&quot;:                             &quot;&gt;=7.0.0&quot;,
    &quot;symfony/symfony&quot;:                 &quot;3.0.*&quot;,
    &quot;symfony/monolog-bundle&quot;:          &quot;^2.8&quot;,
    &quot;symfony/assetic-bundle&quot;:          &quot;^2.7&quot;,
    &quot;symfony/swiftmailer-bundle&quot;:      &quot;^2.3&quot;,
    &quot;doctrine/orm&quot;:                    &quot;^2.5&quot;,
    &quot;doctrine/doctrine-bundle&quot;:        &quot;^1.6&quot;,
    &quot;doctrine/doctrine-cache-bundle&quot;:  &quot;^1.2&quot;,
    &quot;stof/doctrine-extensions-bundle&quot;: &quot;^1.2&quot;,
    &quot;sensio/distribution-bundle&quot;:      &quot;^5.0&quot;,
    &quot;sensio/framework-extra-bundle&quot;:   &quot;^3.0.2&quot;,
    &quot;cocur/slugify&quot;:                   &quot;^1.4&quot;,
    &quot;michelf/php-markdown&quot;:            &quot;^1.6&quot;,
    &quot;guzzlehttp/guzzle&quot;:               &quot;^6.1&quot;,
    &quot;javiereguiluz/easyadmin-bundle&quot;:  &quot;^1.11&quot;,
    &quot;egeloen/ckeditor-bundle&quot;:         &quot;^4.0&quot;,
    &quot;doctrine/doctrine-migrations-bundle&quot;: &quot;^1.1&quot;
  },
  &quot;require-dev&quot;:  {
    &quot;sensio/generator-bundle&quot;: &quot;^3.0&quot;,
    &quot;symfony/phpunit-bridge&quot;:  &quot;^2.7&quot;,
    &quot;symfony/var-dumper&quot;:      &quot;^3.0&quot;,
    &quot;behat/behat&quot;: &quot;^3.1&quot;,
    &quot;behat/symfony2-extension&quot;: &quot;^2.1&quot;,
    &quot;behat/mink&quot;: &quot;^1.7&quot;,
    &quot;behat/mink-extension&quot;: &quot;^2.2&quot;,
    &quot;behat/mink-browserkit-driver&quot;: &quot;^1.3&quot;
  },
  &quot;scripts&quot;:      {
    &quot;post-install-cmd&quot;: [
      &quot;Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap&quot;,
      &quot;Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile&quot;,
      &quot;Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget&quot;
    ],
    &quot;post-update-cmd&quot;:  [
      &quot;Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap&quot;,
      &quot;Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile&quot;,
      &quot;Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget&quot;
    ]
  },
  &quot;extra&quot;:        {
    &quot;symfony-app-dir&quot;:        &quot;app&quot;,
    &quot;symfony-bin-dir&quot;:        &quot;bin&quot;,
    &quot;symfony-var-dir&quot;:        &quot;var&quot;,
    &quot;symfony-web-dir&quot;:        &quot;web&quot;,
    &quot;symfony-tests-dir&quot;:      &quot;tests&quot;,
    &quot;symfony-assets-install&quot;: &quot;relative&quot;
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"name"</span>:         <span class="pl-s"><span class="pl-pds">"</span>development/php-docker<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"license"</span>:      <span class="pl-s"><span class="pl-pds">"</span>proprietary<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"type"</span>:         <span class="pl-s"><span class="pl-pds">"</span>project<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"autoload"</span>:     {
    <span class="pl-ent">"psr-4"</span>:    {
      <span class="pl-ent">""</span>: <span class="pl-s"><span class="pl-pds">"</span>src/<span class="pl-pds">"</span></span>
    },
    <span class="pl-ent">"classmap"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>app/AppKernel.php<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>app/AppCache.php<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"autoload-dev"</span>: {
    <span class="pl-ent">"psr-4"</span>: {
      <span class="pl-ent">"Tests<span class="pl-cce">\\</span>"</span>: <span class="pl-s"><span class="pl-pds">"</span>tests/<span class="pl-pds">"</span></span>
    }
  },
  <span class="pl-ent">"require"</span>:      {
    <span class="pl-ent">"php"</span>:                             <span class="pl-s"><span class="pl-pds">"</span>&gt;=7.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony/symfony"</span>:                 <span class="pl-s"><span class="pl-pds">"</span>3.0.*<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony/monolog-bundle"</span>:          <span class="pl-s"><span class="pl-pds">"</span>^2.8<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony/assetic-bundle"</span>:          <span class="pl-s"><span class="pl-pds">"</span>^2.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony/swiftmailer-bundle"</span>:      <span class="pl-s"><span class="pl-pds">"</span>^2.3<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"doctrine/orm"</span>:                    <span class="pl-s"><span class="pl-pds">"</span>^2.5<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"doctrine/doctrine-bundle"</span>:        <span class="pl-s"><span class="pl-pds">"</span>^1.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"doctrine/doctrine-cache-bundle"</span>:  <span class="pl-s"><span class="pl-pds">"</span>^1.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"stof/doctrine-extensions-bundle"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"sensio/distribution-bundle"</span>:      <span class="pl-s"><span class="pl-pds">"</span>^5.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"sensio/framework-extra-bundle"</span>:   <span class="pl-s"><span class="pl-pds">"</span>^3.0.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"cocur/slugify"</span>:                   <span class="pl-s"><span class="pl-pds">"</span>^1.4<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"michelf/php-markdown"</span>:            <span class="pl-s"><span class="pl-pds">"</span>^1.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"guzzlehttp/guzzle"</span>:               <span class="pl-s"><span class="pl-pds">"</span>^6.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"javiereguiluz/easyadmin-bundle"</span>:  <span class="pl-s"><span class="pl-pds">"</span>^1.11<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"egeloen/ckeditor-bundle"</span>:         <span class="pl-s"><span class="pl-pds">"</span>^4.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"doctrine/doctrine-migrations-bundle"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.1<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"require-dev"</span>:  {
    <span class="pl-ent">"sensio/generator-bundle"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony/phpunit-bridge"</span>:  <span class="pl-s"><span class="pl-pds">"</span>^2.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony/var-dumper"</span>:      <span class="pl-s"><span class="pl-pds">"</span>^3.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"behat/behat"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"behat/symfony2-extension"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"behat/mink"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"behat/mink-extension"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"behat/mink-browserkit-driver"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.3<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"scripts"</span>:      {
    <span class="pl-ent">"post-install-cmd"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>Sensio<span class="pl-cce">\\</span>Bundle<span class="pl-cce">\\</span>DistributionBundle<span class="pl-cce">\\</span>Composer<span class="pl-cce">\\</span>ScriptHandler::buildBootstrap<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>Sensio<span class="pl-cce">\\</span>Bundle<span class="pl-cce">\\</span>DistributionBundle<span class="pl-cce">\\</span>Composer<span class="pl-cce">\\</span>ScriptHandler::installRequirementsFile<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>Sensio<span class="pl-cce">\\</span>Bundle<span class="pl-cce">\\</span>DistributionBundle<span class="pl-cce">\\</span>Composer<span class="pl-cce">\\</span>ScriptHandler::prepareDeploymentTarget<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"post-update-cmd"</span>:  [
      <span class="pl-s"><span class="pl-pds">"</span>Sensio<span class="pl-cce">\\</span>Bundle<span class="pl-cce">\\</span>DistributionBundle<span class="pl-cce">\\</span>Composer<span class="pl-cce">\\</span>ScriptHandler::buildBootstrap<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>Sensio<span class="pl-cce">\\</span>Bundle<span class="pl-cce">\\</span>DistributionBundle<span class="pl-cce">\\</span>Composer<span class="pl-cce">\\</span>ScriptHandler::installRequirementsFile<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>Sensio<span class="pl-cce">\\</span>Bundle<span class="pl-cce">\\</span>DistributionBundle<span class="pl-cce">\\</span>Composer<span class="pl-cce">\\</span>ScriptHandler::prepareDeploymentTarget<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"extra"</span>:        {
    <span class="pl-ent">"symfony-app-dir"</span>:        <span class="pl-s"><span class="pl-pds">"</span>app<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony-bin-dir"</span>:        <span class="pl-s"><span class="pl-pds">"</span>bin<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony-var-dir"</span>:        <span class="pl-s"><span class="pl-pds">"</span>var<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony-web-dir"</span>:        <span class="pl-s"><span class="pl-pds">"</span>web<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony-tests-dir"</span>:      <span class="pl-s"><span class="pl-pds">"</span>tests<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"symfony-assets-install"</span>: <span class="pl-s"><span class="pl-pds">"</span>relative<span class="pl-pds">"</span></span>
  }
}</pre></div>
<p dir="auto">Hi,</p>
<p dir="auto">I noticed this while running composer install after update to symfony 3.0.4</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\ClockMock&quot; was found in both &quot;/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/ClockMock.php&quot; and &quot;/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/ClockMock.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\DeprecationErrorHandler&quot; was found in both &quot;/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/DeprecationErrorHandler.php&quot; and &quot;/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\SymfonyTestsListener&quot; was found in both &quot;/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/SymfonyTestsListener.php&quot; and &quot;/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\TextUI\Command&quot; was found in both &quot;/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/TextUI/Command.php&quot; and &quot;/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/Command.php&quot;, the first will be used.
Warning: Ambiguous class resolution, &quot;Symfony\Bridge\PhpUnit\TextUI\TestRunner&quot; was found in both &quot;/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/TextUI/TestRunner.php&quot; and &quot;/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/TestRunner.php&quot;, the first will be used."><pre class="notranslate"><code class="notranslate">Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\ClockMock" was found in both "/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/ClockMock.php" and "/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/ClockMock.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\DeprecationErrorHandler" was found in both "/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/DeprecationErrorHandler.php" and "/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\SymfonyTestsListener" was found in both "/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/SymfonyTestsListener.php" and "/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\TextUI\Command" was found in both "/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/TextUI/Command.php" and "/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/Command.php", the first will be used.
Warning: Ambiguous class resolution, "Symfony\Bridge\PhpUnit\TextUI\TestRunner" was found in both "/home/michal/projekty/rentli/vendor/symfony/phpunit-bridge/TextUI/TestRunner.php" and "/home/michal/projekty/rentli/vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/TextUI/TestRunner.php", the first will be used.
</code></pre></div>
<p dir="auto">Best regards,<br>
Michal</p>