Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Symfony 2.3.34, composer update broken by security-core #16500

Closed
@larspohlmann

Description

@larspohlmann

Hello community,

there seems to be a problem with the composer update for Symfony 2.3.
This has been happening for the past ca. 3 days.

/usr/bin/php composer.phar update --no-dev --verbose --prefer-dist --optimize-autoloader --no-progress'
  * Updating dependencies
  * Analyzed 6234 packages to resolve dependencies
  * Analyzed 182882 rules to resolve dependencies
  * - Installing doctrine/cache (v1.5.1)
  * Loading from cache
  * Extracting archive
  * - Installing doctrine/inflector (v1.1.0)
  * Loading from cache
  * Extracting archive
  * - Installing psr/log (1.0.0)
  * Loading from cache
  * Extracting archive
  * - Installing twig/twig (v1.23.1)
  * Loading from cache
  * Extracting archive
  * - Installing doctrine/lexer (v1.0.1)
  * Loading from cache
  * Extracting archive
  * - Installing doctrine/annotations (v1.2.7)
  * Loading from cache
  * Extracting archive
  * - Installing doctrine/collections (v1.3.0)
  * Loading from cache
  * Extracting archive
  * - Installing doctrine/common (v2.4.3)
  * Loading from cache
  * Extracting archive
  * - Installing symfony/symfony (v2.3.34)
  * Downloading
  * Extracting archive
  * - Installing symfony/security-core (v2.7.6)
  * Loading from cache
  * Extracting archive
  * - Installing symfony/security-acl (v2.7.6)
  * Loading from cache
...

Later in the process

Generating optimized autoload files
  * Warning: Ambiguous class resolution, 
"Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator" was found in both
 "/var/www/payment/releases/20151109092431/vendor/symfony/security-core/Validator/Constraints/UserPasswordValidator.php" 
and 
"/var/www/payment/releases/20151109092431/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Validator/Constraints/UserPasswordValidator.php", 
the first will be used.

Followed by many similar warnings...

Part of my composer.json:

"require": {
    "php": ">=5.3.3",
        "symfony/symfony": "v2.3.34",
        "doctrine/orm": ">2.2.3,<2.4-dev",
        "doctrine/doctrine-bundle": "1.4.0",
        "twig/extensions": "1.2.0",
        "symfony/assetic-bundle": "2.6.1",
        "symfony/swiftmailer-bundle": "2.3.8",
        "symfony/monolog-bundle": "2.7.1",   
        "graylog2/gelf-php": "1.2.3",
        "sensio/distribution-bundle": "3.0.21",
        "sensio/framework-extra-bundle": "3.0.7",
        "sensio/generator-bundle": "2.4.0",
    "jms/security-extra-bundle": "1.5.1",
        "jms/di-extra-bundle": "1.5.0",
        "jms/serializer-bundle": "0.13.0",
    "aequasi/memcached-bundle": "1.5.6",
    "guzzlehttp/guzzle": "5.2.0",
    "authorizenet/authorizenet": "~1.8"
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions