DamienHarper / auditor-bundle

The missing audit log library
MIT License
394 stars 121 forks source link

Install problem #211

Closed murilozilli closed 3 years ago

murilozilli commented 4 years ago

Trying to install it via composer got this:

Your requirements could not be resolved to an installable set of packages.

Problem 1
    - Conclusion: don't install damienharper/doctrine-audit-bundle 3.4.1
    - Conclusion: don't install damienharper/doctrine-audit-bundle 3.4.0
    - damienharper/doctrine-audit-bundle 3.x-dev conflicts with doctrine/persistence[1.1.x-dev].
    - damienharper/doctrine-audit-bundle 3.x-dev conflicts with doctrine/persistence[1.1.x-dev].
    - damienharper/doctrine-audit-bundle 3.x-dev conflicts with doctrine/persistence[1.1.x-dev].
    - Installation request for damienharper/doctrine-audit-bundle ^3.4 -> satisfiable by damienharper/doctrine-audit-bundle[3.4.0, 3.4.1, 3.x-dev].
    - Installation request for doctrine/persistence (locked at 1.1.x-dev) -> satisfiable by doctrine/persistence[1.1.x-dev].

This is my composer.json

{
    "type": "project",
    "license": "proprietary",
    "prefer-stable": true,
    "require": {
        "php": "^7.1.3",
        "ext-curl": "*",
        "ext-iconv": "*",
        "ext-json": "*",
        "ext-pdo_sqlite": "*",
        "ext-xml": "*",
        "ext-zip": "*",
        "acelaya/doctrine-enum-type": "^2.2",
        "beberlei/doctrineextensions": "dev-master",
        "chargebee/chargebee-php": ">=2, <3",
        "dms/twig-extension-bundle": "^2.1",
        "doctrine/doctrine-fixtures-bundle": "^3.0",
        "doctrine/doctrine-migrations-bundle": "^1.3",
        "easycorp/easyadmin-bundle": "^1.17",
        "friendsofsymfony/ckeditor-bundle": "^1.1",
        "friendsofsymfony/elastica-bundle": "dev-master",
        "friendsofsymfony/user-bundle": "~2.0",
        "gesdinet/jwt-refresh-token-bundle": "^0.4.0",
        "google/apiclient": "^2.0",
        "html2text/html2text": "^4.2",
        "hwi/oauth-bundle": "1.0.*@dev",
        "knplabs/knp-markdown-bundle": "^1.7",
        "league/flysystem-aws-s3-v3": "^1.0",
        "league/html-to-markdown": "^4.7",
        "lexik/jwt-authentication-bundle": "^2.4",
        "mgilet/notification-bundle": "^3.0",
        "nelmio/cors-bundle": "^1.5@dev",
        "oneup/flysystem-bundle": "^3.0",
        "overblog/graphiql-bundle": "^0.1.0",
        "overblog/graphql-bundle": "^0.11.1",
        "php-http/client-common": "^2.0",
        "php-http/guzzle6-adapter": "^2.0",
        "php-http/httplug": "^2.0",
        "php-http/httplug-bundle": "^1.0@dev",
        "php-http/logger-plugin": "^1.1",
        "php-http/stopwatch-plugin": "^1.2",
        "php-translation/symfony-bundle": "^0.7.0",
        "piwik/device-detector": "^3.12",
        "segmentio/analytics-php": "^1.5",
        "sensio/framework-extra-bundle": "^5.1",
        "sentry/sentry-symfony": "^2.0",
        "spotonlive/php-google-my-business": "dev-master",
        "stof/doctrine-extensions-bundle": "^1.3",
        "symfony/asset": "^4.3",
        "symfony/console": "^4.3",
        "symfony/dom-crawler": "^4.3",
        "symfony/event-dispatcher": "^4.3",
        "symfony/expression-language": "^4.3",
        "symfony/flex": "^1.0",
        "symfony/form": "^4.3",
        "symfony/framework-bundle": "^4.3",
        "symfony/lts": "^4@dev",
        "symfony/monolog-bundle": "^3.1",
        "symfony/orm-pack": "^1.0",
        "symfony/process": "^4.3",
        "symfony/security-bundle": "^4.3",
        "symfony/serializer": "^4.3",
        "symfony/serializer-pack": "*",
        "symfony/swiftmailer-bundle": "^3.2",
        "symfony/templating": "^4.3",
        "symfony/translation": "^4.3",
        "symfony/twig-bundle": "^4.3",
        "symfony/validator": "^4.3",
        "symfony/web-link": "^4.3",
        "symfony/webpack-encore-pack": "^1.0",
        "symfony/workflow": "^4.3",
        "symfony/yaml": "^4.3",
        "welp/ical-bundle": "^1.0"
    },
    "require-dev": {
        "ext-gd": "*",
        "dama/doctrine-test-bundle": "v5.0.3",
        "mockery/mockery": "^1.4",
        "symfony/debug-pack": "*",
        "symfony/dotenv": "^4.1",
        "symfony/maker-bundle": "^1.0",
        "symfony/phpunit-bridge": "^4.1",
        "symfony/profiler-pack": "^1.0",
        "symfony/test-pack": "^1.0",
        "symfony/web-server-bundle": "^4.1"
    },
    "config": {
        "preferred-install": {
            "*": "dist"
        },
        "sort-packages": true
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/"
        }
    },
    "replace": {
        "symfony/polyfill-iconv": "*",
        "symfony/polyfill-php71": "*",
        "symfony/polyfill-php70": "*",
        "symfony/polyfill-php56": "*"
    },
    "scripts": {
        "auto-scripts": {
            "cache:clear": "symfony-cmd",
            "assets:install %PUBLIC_DIR%": "symfony-cmd"
        },
        "post-install-cmd": ["@auto-scripts"],
        "post-update-cmd": ["@auto-scripts"]
    },
    "conflict": {
        "symfony/symfony": "*"
    },
    "extra": {
        "symfony": {
            "allow-contrib": "true",
            "require": "4.3.*"
        }
    },
    "minimum-stability": "dev"
}

Any ideas? I had success installing version 1.6

DamienHarper commented 3 years ago

@murilozilli Sorry for the delay, do you still face this issue?

murilozilli commented 3 years ago

@DamienHarper I installed 1.6 which in a way did what I needed but would be keen to understand whats needed to install the most updated version if possible

DamienHarper commented 3 years ago

@murilozilli it looks like the dependency doctrine/persistence is locked to 1.1.x-dev in your setup whereas recent versions of damienharper/auditor-bundle (formerly damienharper/DoctrineAuditBundle) require doctrine/persistence >= 1.3

DamienHarper commented 3 years ago

@murilozilli I close this issue for now, feel free to reopen it if needed.