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

Fix Symfony 7 compatibility #116

Closed
wants to merge 1 commit into from
Closed

Fix Symfony 7 compatibility #116

wants to merge 1 commit into from

Conversation

core23
Copy link
Contributor

@core23 core23 commented Feb 5, 2024

Fixes #114 by providing the correct method signature, depending on the loaded symfony/security-core version.

Might close: #112 #115 #114

@core23 core23 force-pushed the symfony7 branch 4 times, most recently from ff4faca to 4f067d9 Compare February 5, 2024 15:39
@core23
Copy link
Contributor Author

core23 commented Feb 14, 2024

Is there anything left to do? This blocks symfony 7 updates :(

@VincentLanglet
Copy link
Contributor

Is there anything left to do? This blocks symfony 7 updates :(

Friendly ping @nicolas-grekas maybe (?)

Voter/AclVoter.php Outdated Show resolved Hide resolved
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes great thanks.

Voter/AclVoter.php Outdated Show resolved Hide resolved
@core23
Copy link
Contributor Author

core23 commented Feb 20, 2024

Two ✅

Can be merge this @nicolas-grekas ?

@chq81
Copy link

chq81 commented May 8, 2024

@core23 Thanks for working on the symfony 7 compatibility. I stumbled upon this and saw that checks are failing due to deprecations. I was able to fix them locally. I could provide a separate PR, but wouldn't it be better to provide the code to you? Should I create a PR in your fork which you then can merge in your symfony7 branch?

@core23
Copy link
Contributor Author

core23 commented May 8, 2024

AFAIK they are not related to this PR, so it would be better to fix this deprecation issues on the main project first.

@chq81
Copy link

chq81 commented May 8, 2024

AFAIK they are not related to this PR, so it would be better to fix this deprecation issues on the main project first.

I will do that, thanks.

@chq81
Copy link

chq81 commented May 8, 2024

@core23 I just had a look. As the current tagged version is 3.3.3, which bumped Symfony up to 7, I cannot fix the deprecation warnings without fixing the return type declarations too, which are part of your PR :)

@chq81 chq81 mentioned this pull request May 10, 2024
@chq81
Copy link

chq81 commented May 10, 2024

@nicolas-grekas Hi Nicolas, could you maybe help out? How should we proceed with the deprecation warnings? I could either bump up the code to the current implementation, but then the lowest versions are not supported anymore. Or do we disable deprecations on the highest versions?
I am a bit of lost here, but as I am not a regular commiter in github, maybe you can help me out? Thanks!

@p-golovin
Copy link

Hi all, any news on this?

@OskarStark OskarStark changed the title Fix symfony 7 compatibility Fix Symfony 7 compatibility Sep 2, 2024
Copy link

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jordisala1991
Copy link
Contributor

I created a new PR that includes this commit and fixes all builds #121

fabpot added a commit that referenced this pull request Oct 18, 2024
This PR was merged into the 3.x-dev branch.

Discussion
----------

Fix Symfony 7 compatibility

Continuation of #116

I want to see what is failing to fix it.

Might close: #112 #115 #114 #121

Commits
-------

17f2255 Actualizar AclVoter.php
29379e6 fix cs issues
c4c7ca0 suppress psalm since it is not fixable
1247ccb Fix tests
8647e14 Fix symfony 7 compatibility
@fabpot
Copy link
Member

fabpot commented Oct 18, 2024

Merged via #121

@fabpot fabpot closed this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

declaration incompatibility error in SF7
9 participants