nucleos / NucleosDompdfBundle

📜 This bundle provides a wrapper for using dompdf inside symfony.
https://nucleos.rocks
MIT License
40 stars 12 forks source link

composer require fails using latest version 2.3.0 #20

Closed tgeber closed 6 years ago

tgeber commented 6 years ago

Environment

Packages

$ composer show --latest
Restricting packages listed in "symfony/symfony" to "4.1.*"
cocur/slugify                            v3.1    v3.1     Converts a string into a slug.
core23/dompdf-bundle                     2.2.0   2.3.0    This bundle provides a wrapper for using dompdf inside symfony.
doctrine/annotations                     v1.6.0  v1.6.0   Docblock Annotations Parser
doctrine/cache                           v1.8.0  v1.8.0   Caching library offering an object-oriented API for many cache backends
doctrine/collections                     v1.5.0  v1.5.0   Collections Abstraction library
doctrine/common                          v2.9.0  v2.9.0   Common Library for Doctrine projects
doctrine/dbal                            v2.8.0  v2.8.0   Database Abstraction Layer
doctrine/doctrine-bundle                 1.9.1   1.9.1    Symfony DoctrineBundle
doctrine/doctrine-cache-bundle           1.3.3   1.3.3    Symfony Bundle for Doctrine Cache
doctrine/doctrine-migrations-bundle      v1.3.1  v1.3.1   Symfony DoctrineMigrationsBundle
doctrine/event-manager                   v1.0.0  v1.0.0   Doctrine Event Manager component
doctrine/inflector                       v1.3.0  v1.3.0   Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                    1.1.0   1.1.0    A small, lightweight utility to instantiate objects in PHP without invoking their const...
doctrine/lexer                           v1.0.1  v1.0.1   Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations                      v1.8.1  v1.8.1   Database Schema migrations using Doctrine DBAL
doctrine/orm                             v2.6.2  v2.6.2   Object-Relational-Mapper for PHP
doctrine/persistence                     v1.0.1  v1.0.1   Doctrine Persistence abstractions.
doctrine/reflection                      v1.0.0  v1.0.0   Doctrine Reflection component
dompdf/dompdf                            v0.8.2  v0.8.2   DOMPDF is a CSS 2.1 compliant HTML to PDF converter
egulias/email-validator                  2.1.6   2.1.6    A library for validating emails against several RFCs
friendsofsymfony/user-bundle             v2.1.2  v2.1.2   Symfony FOSUserBundle
jdorn/sql-formatter                      v1.2.17 v1.2.17  a PHP SQL highlighting library
knplabs/knp-components                   v1.3.10 v1.3.10  Knplabs component library
knplabs/knp-menu                         2.3.0   2.3.0    An object oriented menu library
knplabs/knp-menu-bundle                  v2.2.1  v2.2.1   This bundle provides an integration of the KnpMenu library
knplabs/knp-paginator-bundle             v2.8.0  v2.8.0   Paginator bundle for Symfony to automate pagination and simplify sorting and other feat...
monolog/monolog                          1.23.0  1.23.0   Sends your logs to files, sockets, inboxes, databases and various web services
nikic/php-parser                         v4.0.4  v4.0.4   A PHP parser written in PHP
ocramius/package-versions                1.3.0   1.3.0    Composer plugin that provides efficient querying for installed package versions (no run...
ocramius/proxy-manager                   2.2.2   2.2.2    A library providing utilities to generate, instantiate and generally operate with Objec...
paragonie/random_compat                  v2.0.17 v9.99.99 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phenx/php-font-lib                       0.5.1   0.5.1    A library to read, parse, export and make subsets of different types of font files.
phenx/php-svg-lib                        v0.3.2  v0.3.2   A library to read, parse and export to PDF SVG files.
psr/cache                                1.0.1   1.0.1    Common interface for caching libraries
psr/container                            1.0.0   1.0.0    Common Container Interface (PHP FIG PSR-11)
psr/log                                  1.0.2   1.0.2    Common interface for logging libraries
psr/simple-cache                         1.0.1   1.0.1    Common interfaces for simple caching
sabberworm/php-css-parser                8.1.0   8.2.0    Parser for CSS Files written in PHP
sonata-project/admin-bundle              3.40.1  3.40.1   The missing Symfony Admin Generator
sonata-project/block-bundle              3.12.1  3.12.1   Symfony SonataBlockBundle
sonata-project/cache                     2.0.1   2.0.1    Cache library
sonata-project/core-bundle               3.11.2  3.11.2   Symfony SonataCoreBundle
sonata-project/datagrid-bundle           2.3.1   2.3.1    Symfony SonataDatagridBundle
sonata-project/doctrine-extensions       1.1.0   1.1.0    Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 3.6.2   3.6.2    Symfony Sonata / Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/easy-extends-bundle       2.5.0   2.5.0    Symfony SonataEasyExtendsBundle
sonata-project/exporter                  1.9.1   1.9.1    Lightweight Exporter library
sonata-project/user-bundle               4.2.3   4.2.3    Symfony SonataUserBundle
swiftmailer/swiftmailer                  v6.1.3  v6.1.3   Swiftmailer, free feature-rich PHP mailer
symfony/apache-pack                      v1.0.1  v1.0.1   A pack for Apache support in Symfony
symfony/asset                            v4.1.6  v4.1.6   Symfony Asset Component
symfony/cache                            v4.1.6  v4.1.6   Symfony Cache component with PSR-6, PSR-16, and tags
symfony/config                           v4.1.6  v4.1.6   Symfony Config Component
symfony/console                          v4.1.6  v4.1.6   Symfony Console Component
symfony/debug                            v4.1.6  v4.1.6   Symfony Debug Component
symfony/dependency-injection             v4.1.6  v4.1.6   Symfony DependencyInjection Component
symfony/doctrine-bridge                  v4.1.6  v4.1.6   Symfony Doctrine Bridge
symfony/dotenv                           v4.1.6  v4.1.6   Registers environment variables from a .env file
symfony/event-dispatcher                 v4.1.6  v4.1.6   Symfony EventDispatcher Component
symfony/expression-language              v4.1.6  v4.1.6   Symfony ExpressionLanguage Component
symfony/filesystem                       v4.1.6  v4.1.6   Symfony Filesystem Component
symfony/finder                           v4.1.6  v4.1.6   Symfony Finder Component
symfony/flex                             v1.1.1  v1.1.1   Composer plugin for Symfony
symfony/form                             v4.1.6  v4.1.6   Symfony Form Component
symfony/framework-bundle                 v4.1.6  v4.1.6   Symfony FrameworkBundle
symfony/http-foundation                  v4.1.6  v4.1.6   Symfony HttpFoundation Component
symfony/http-kernel                      v4.1.6  v4.1.6   Symfony HttpKernel Component
symfony/inflector                        v4.1.6  v4.1.6   Symfony Inflector Component
symfony/intl                             v4.1.6  v4.1.6   A PHP replacement layer for the C intl extension that includes additional data from the...
symfony/maker-bundle                     v1.7.0  v1.7.0   Symfony Maker helps you create empty commands, controllers, form classes, tests and mor...
symfony/monolog-bridge                   v4.1.6  v4.1.6   Symfony Monolog Bridge
symfony/monolog-bundle                   v3.3.0  v3.3.0   Symfony MonologBundle
symfony/options-resolver                 v4.1.6  v4.1.6   Symfony OptionsResolver Component
symfony/orm-pack                         v1.0.5  v1.0.5   A pack for the Doctrine ORM
symfony/polyfill-intl-icu                v1.9.0  v1.9.0   Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring                v1.9.0  v1.9.0   Symfony polyfill for the Mbstring extension
symfony/polyfill-php72                   v1.9.0  v1.9.0   Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/profiler-pack                    v1.0.3  v1.0.3   A pack for the Symfony web profiler
symfony/property-access                  v4.1.6  v4.1.6   Symfony PropertyAccess Component
symfony/routing                          v4.1.6  v4.1.6   Symfony Routing Component
symfony/security                         v4.1.6  v4.1.6   Symfony Security Component
symfony/security-acl                     v3.0.1  v3.0.1   Symfony Security Component - ACL (Access Control List)
symfony/security-bundle                  v4.1.6  v4.1.6   Symfony SecurityBundle
symfony/stopwatch                        v4.1.6  v4.1.6   Symfony Stopwatch Component
symfony/swiftmailer-bundle               v3.2.3  v3.2.3   Symfony SwiftmailerBundle
symfony/templating                       v4.1.6  v4.1.6   Symfony Templating Component
symfony/translation                      v4.1.6  v4.1.6   Symfony Translation Component
symfony/twig-bridge                      v4.1.6  v4.1.6   Symfony Twig Bridge
symfony/twig-bundle                      v4.1.6  v4.1.6   Symfony TwigBundle
symfony/validator                        v4.1.6  v4.1.6   Symfony Validator Component
symfony/var-dumper                       v4.1.6  v4.1.6   Symfony mechanism for exploring and dumping PHP variables
symfony/web-profiler-bundle              v4.1.6  v4.1.6   Symfony WebProfilerBundle
symfony/yaml                             v4.1.6  v4.1.6   Symfony Yaml Component
twig/extensions                          v1.5.2  v1.5.2   Common additional features for Twig that do not directly belong in core
twig/twig                                v2.5.0  v2.5.0   Twig, the flexible, fast, and secure template language for PHP
zendframework/zend-code                  3.3.1   3.3.1    provides facilities to generate arbitrary code using an object oriented interface
zendframework/zend-eventmanager          3.2.1   3.2.1    Trigger and listen to events within a PHP application

PHP version

$ php -v
PHP 7.2.8 (cli) (built: Jul 18 2018 10:18:27) ( ZTS MSVC15 (Visual C++ 2017) x86 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.8, Copyright (c) 1999-2018, by Zend Technologies

Subject

After composer require, when the script cache:clear is executed, composer throws an error Circular reference detected for service "dompdf", path: "dompdf -> Core23\DompdfBundle\Wrapper\DompdfWrapper -> dompdf"

Steps to reproduce

call composer require core23/dompdf-bundle

core23 commented 6 years ago

Do you have some local modifcation? Also can you please try to use the latest dev-master version?