You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ composer show --latest 'doctrine/*'
Direct dependencies required in composer.json:
doctrine/doctrine-bundle 2.12.0 2.12.0 Symfony DoctrineBundle
doctrine/doctrine-migrations-bundle 3.3.0 3.3.0 Symfony DoctrineMigrationsBundle
doctrine/orm 2.19.2 3.1.0 Object-Relational-Mapper for PHP
Transitive dependencies not required in composer.json:
doctrine/cache 2.2.0 2.2.0 PHP Doctrine Cache library is a popular cache implementation th...
doctrine/collections 2.2.1 2.2.1 PHP Doctrine Collections library that adds additional functiona...
doctrine/common 3.4.3 3.4.3 PHP Doctrine Common project is a library that provides addition...
doctrine/dbal 3.8.3 4.0.1 Powerful PHP database abstraction layer (DBAL) with many featur...
doctrine/deprecations 1.1.3 1.1.3 A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR...
doctrine/event-manager 2.0.0 2.0.0 The Doctrine Event Manager is a simple PHP event system that wa...
doctrine/inflector 2.0.10 2.0.10 PHP Doctrine Inflector is a small library that can perform stri...
doctrine/instantiator 2.0.0 2.0.0 A small, lightweight utility to instantiate objects in PHP with...
doctrine/lexer 3.0.1 3.0.1 PHP Doctrine Lexer parser library that can be used in Top-Down,...
doctrine/migrations 3.7.4 3.7.4 PHP Doctrine Migrations project offer additional functionality ...
doctrine/persistence 3.3.2 3.3.2 The Doctrine Persistence project is a set of shared interfaces ...
doctrine/sql-formatter 1.2.0 1.2.0 a PHP SQL highlighting library
PHP version
$ php -v
PHP 8.2.16 (cli) (built: Feb 16 2024 23:49:46) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.16, Copyright (c) Zend Technologies
with Zend OPcache v8.2.16, Copyright (c), by Zend Technologies
with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans
Subject
After upgrading to symfony 6.4, I get this error: The service "gedmo.listener.softdeleteable" has a dependency on a non-existent service "annotation_reader".
When will the package use attributes?
Is the only option to use composer require doctrine/annotations?
The text was updated successfully, but these errors were encountered:
This package does support attributes and has for a while. Remove the setAnnotationReader call in your service definition and the package can work out whether it should default to annotations or attributes when an explicit reader isn't provided, or make a service in your app for the Gedmo\Mapping\Driver\AttributeReader and pass that into those setAnnotationReader calls in your service configs.
Environment
Package
show
Doctrine packages
show
PHP version
Subject
After upgrading to symfony 6.4, I get this error:
The service "gedmo.listener.softdeleteable" has a dependency on a non-existent service "annotation_reader".
When will the package use attributes?
Is the only option to use
composer require doctrine/annotations
?The text was updated successfully, but these errors were encountered: