title: Composer shows conflict between 2 compatible packages (original)
body: <p>I have an error trying to <code>composer install</code> my dependencies. Same error with <code>composer update</code>.</p>
  
  <p>It says there's a conflict between symfony/web-server-bundle 4.3.3 and symfony 3.4 but those packages are supposed to be compatible:</p>
  
  <ul>
  <li><a href="https://github.com/symfony/web-server-bundle/blob/4.3/composer.json" rel="nofollow noreferrer">https://github.com/symfony/web-server-bundle/blob/4.3/composer.json</a></li>
  <li><a href="https://packagist.org/packages/symfony/web-server-bundle" rel="nofollow noreferrer">https://packagist.org/packages/symfony/web-server-bundle</a></li>
  </ul>
  
  <p>Here is my console output:</p>
  
  <pre class="lang-sh prettyprint-override"><code>$ composer install --ignore-platform-reqs
  Deprecation warning: Your package name theredled/. is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
  Deprecation warning: require.beberlei/DoctrineExtensions is invalid, it should not contain uppercase characters. Please use beberlei/doctrineextensions instead. Make sure you fix this as Composer 2.0 will error.
  Loading composer repositories with package information
  Installing dependencies (including require-dev) from lock file
  Your requirements could not be resolved to an installable set of packages.
  
    Problem 1
      - Installation request for symfony/symfony v3.4.30 -&gt; satisfiable by symfony/symfony[v3.4.30].
      - don't install symfony/web-server-bundle v4.3.3|don't install symfony/symfony v3.4.30
      - Installation request for symfony/web-server-bundle v4.3.3 -&gt; satisfiable by symfony/web-server-bundle[v4.3.3].
  </code></pre>
  
  <p>Here is my composer.json:</p>
  
  <pre><code>{
      "name": "theredled/.",
      "license": "proprietary",
      "type": "project",
      "autoload": {
          "psr-4": {
              "": "src/"
          },
          "classmap": [
              "app/AppKernel.php",
              "app/AppCache.php"
          ]
      },
      "autoload-dev": {
            "psr-4": {
                "App\\Tests\\": "tests/"
            }
        },
      "require": {
          "php": "&gt;=7.1.0",
          "symfony/symfony": "3.4.*",
          "doctrine/orm": "~2.6",
          "doctrine/doctrine-bundle": "~1.9",
          "symfony/swiftmailer-bundle": "~3.2",
          "symfony/monolog-bundle": "~3.3",
          "sensio/distribution-bundle": "~5.0",
          "incenteev/composer-parameter-handler": "~2.1",
          "twig/extensions": "^1.5",
          "liip/imagine-bundle": "^2.1",
          "spe/filesize-extension-bundle": "~1.0.0",
          "doctrine/doctrine-migrations-bundle": "^1.3",
          "beberlei/DoctrineExtensions": "^1.1",
          "excelwebzone/recaptcha-bundle": "^1.5",
          "knplabs/knp-snappy-bundle": "^1.5",
          "knplabs/knp-paginator-bundle": "^2.8",
          "debesha/doctrine-hydration-profiler-bundle": "^1.3",
          "xmon/color-picker-type-bundle": "^1.0",
          "symfony/assetic-bundle": "^2.8",
          "symfony/console": "~3.4",
          "eightpoints/guzzle-bundle": "^7.4",
          "symfony/webpack-encore-bundle": "^1.6",
          "sentry/sentry-symfony": "^2.1",
          "cocur/slugify": "^3.2"
      },
      "require-dev": {
          "sensio/generator-bundle": "~3.0",
          "symfony/browser-kit": "^4.3",
          "symfony/css-selector": "^4.3",
          "symfony/phpunit-bridge": "^4.3",
          "onurb/doctrine-yuml-bundle": "1.1.5",
          "phpunit/php-code-coverage": "^6.1",
          "hautelook/alice-bundle": "^2.5",
          "doctrine/data-fixtures": "^1.3",
          "symfony/web-server-bundle": "^4.3"
      },
      "scripts": {
          "post-install-cmd": [
              "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
          ],
          "post-update-cmd": [
              "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
              "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
          ]
      },
      "config": {
          "bin-dir": "bin",
          "platform": {
              "php": "7.1.11"
          }
      },
      "extra": {
          "symfony-app-dir": "app",
          "symfony-web-dir": "web",
          "symfony-assets-install": "relative",
          "incenteev-parameters": {
              "file": "app/config/parameters.yml"
          },
          "symfony": {
              "allow-contrib": "true"
          }
      }
  }
  </code></pre>
  
  <p>Any idea?</p>