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

Allow Symfony 7 #502

Closed
wants to merge 7 commits into from
Closed

Conversation

andreybolonin
Copy link
Contributor

@andreybolonin andreybolonin commented Dec 25, 2023

Closes #501

@bocharsky-bw
Copy link
Member

bocharsky-bw commented Dec 25, 2023

Thank you for this PR! Test failures look related, could you rebuild with the latest changes in master branch, I started using Composer v2 in #503 - hopefully it will fix most fails

@bocharsky-bw
Copy link
Member

OK, I rebase with master - now seems failures are related to this PR

@spiider8
Copy link

spiider8 commented Jan 8, 2024

Hi, how this PR looks? When wil it be done please? Thanks ;)

@bocharsky-bw
Copy link
Member

The problem is that this bundle depends on other bundles that do not have Symfony 7 support yet, e.g:

So to make this bundle trully support Symfony 7 - we need to add Symfony 7 support to the bundles mentioned above first, make releases for them, and finally merge this PR if tests pass.

I tried to quickly allow Symfony 7 support in those bundles, but as you can see tests failed there. Unfortunately, I don't have time yet to fix them, if anyone wants to be a volunteer to help fixing tests in those packages - please, let me know... or just create a new PR with proper fixes. As soon as we're green - I will be happy to review / merge and move it forward.

@byhaskell
Copy link

Hello. What is the current status?
I saw that there are recent changes in the named packages, do you need more help?

@rvanlaak
Copy link
Member

@byhaskell php-translation/extractor#172 (comment) currently the part where this is stuck.

@althaus
Copy link
Contributor

althaus commented Jan 31, 2024

What about a dropping the extractor and using Symfony's translation:extract command?

I've haven't checked what the extractor is doing, but it sounds that those two are doing similar things.

@alcohol
Copy link

alcohol commented Jun 13, 2024

If I am not mistaken, this PR can be updated now that the other components support 7+

…to patch-6 # Please enter a commit message to explain why this

merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored,
and an empty message aborts # the commit.
@bocharsky-bw
Copy link
Member

I updated this PR with the latest changes in master, but seems we need more work here because some tests fail

@andreybolonin could you take a look?

@andreybolonin
Copy link
Contributor Author

@bocharsky-bw
Copy link
Member

Hm, IIRC that file_link() Twig filter comes from symfony/debug-bundle, make sure that bundle is installed and enabled for the current Sf env - probably start looking into this direction.

@alcohol
Copy link

alcohol commented Jun 18, 2024

Hm, IIRC that file_link() Twig filter comes from symfony/debug-bundle, make sure that bundle is installed and enabled for the current Sf env - probably start looking into this direction.

Confirmed: Symfony/Bundle/WebProfilerBundle/Profiler/CodeExtension.php#L50

The class documentation explicitly mentions that the provided functions and filters should only be used in development environments though and never in production. Is the offending template in question something one would only use in a development environment?

@bocharsky-bw
Copy link
Member

Are you talking about WebUI/show.html.twig? That should be used in dev/test only I think

@webspin
Copy link

webspin commented Jul 22, 2024

Can you please resolve this issue?

@pawellen
Copy link

pawellen commented Aug 6, 2024

Is closing this topic some message that there wont be any updates to symfony 7 ? Or maybe is it already done? ;)

@bocharsky-bw
Copy link
Member

@pawellen Unfortunately, I don't know the reasons behind closing this PR. Sf 7 support is still a relevant issue for this repo, see #501. Seems no active Symfony 7 PRs currently, so if there are some volunteers who would like to help with it - please, PRs are warmly welcome here!

@Growiel Growiel mentioned this pull request Aug 20, 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.

Add support for symfony 7.0
9 participants