Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update symfony dependency injection to v7 #39

Open
wants to merge 1 commit into
base: 1.16.x
Choose a base branch
from

Conversation

Xerkus
Copy link
Member

@Xerkus Xerkus commented Dec 5, 2023

Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC no
QA yes

Description

Add v7 and drop v5

Signed-off-by: Aleksei Khudiakov <aleksey@xerkus.pro>
@Xerkus Xerkus added this to the 1.15.0 milestone Dec 5, 2023
@Xerkus
Copy link
Member Author

Xerkus commented Dec 5, 2023

I do not understand why composer can not install v7

Removing platform from composer json I get this:

$ composer why-not symfony/dependency-injection 7.0.0
symfony/dependency-injection                 v7.0.0     requires         symfony/service-contracts (^3.3)                    
laminas/laminas-config-aggregator-parameters 1.15.x-dev does not require symfony/service-contracts (but v2.5.2 is installed) 
Not finding what you were looking for? Try calling `composer update "symfony/dependency-injection:7.0.0" --dry-run` to get another view on the problem.
$ composer why symfony/service-contracts
symfony/console              v7.0.1 requires symfony/service-contracts (^2.5|^3)   
symfony/dependency-injection v6.4.1 requires symfony/service-contracts (^2.5|^3.0) 
symfony/console                                v7.0.1    Eases the creation of beautiful and testable command line ...
symfony/dependency-injection                   v6.4.1    Allows you to standardize and centralize the way objects a...
symfony/deprecation-contracts                  v3.4.0    A generic function and convention to trigger deprecation n...
symfony/filesystem                             v7.0.0    Provides basic utilities for the filesystem
symfony/polyfill-ctype                         v1.28.0   Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme                 v1.28.0   Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-normalizer               v1.28.0   Symfony polyfill for intl's Normalizer class and related f...
symfony/polyfill-mbstring                      v1.28.0   Symfony polyfill for the Mbstring extension
symfony/service-contracts                      v2.5.2    Generic abstractions related to writing services
symfony/string                                 v7.0.0    Provides an object-oriented API to strings and deals with ...
symfony/var-exporter                           v7.0.1    Allows exporting any serializable PHP data structure to pl...

@Xerkus
Copy link
Member Author

Xerkus commented Dec 5, 2023

oh, I was using wrong command

$ composer why-not symfony/service-contracts 3.3.0
symfony/service-contracts                    v3.3.0     requires         psr/container (^2.0)

So laminas-config in dev deps prevents its installation and testing.

Blocked by laminas/laminas-config#24

@Xerkus Xerkus changed the title Update symfony dependency injection Update symfony dependency injection to v7 Dec 5, 2023
@Xerkus Xerkus removed this from the 1.15.0 milestone Dec 5, 2023
@Xerkus Xerkus changed the base branch from 1.15.x to 1.16.x December 5, 2023 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant