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

remove deprecated spaceless #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

remove deprecated spaceless #400

wants to merge 1 commit into from

Conversation

tacman
Copy link
Contributor

@tacman tacman commented Oct 27, 2024

better performance, etc.

twigphp/Twig#4236

better performance, etc.

twigphp/Twig#4236
@tacman
Copy link
Contributor Author

tacman commented Oct 27, 2024

well, so much for a simple remove -- all the tests needs to change. So this becomes a bigger issue, one of using the whitespace control, rather than spaceless.

@ro0NL
Copy link

ro0NL commented Dec 4, 2024

i guess it's real simple to override the template in userland, but not sure if this library is longlived still.

@tacman
Copy link
Contributor Author

tacman commented Dec 4, 2024

but not sure if this library is longlived still.

I quite like this library, all of my projects depend on it. I guess I should make a PR for the tests then, yes?

@ro0NL
Copy link

ro0NL commented Dec 4, 2024

#399 -.-

@curry684
Copy link

but not sure if this library is longlived still

We're using it in a lot of projects, and I don't really see anything 'bad'. Why would it be abandoned?

@garak
Copy link
Collaborator

garak commented Feb 21, 2025

but not sure if this library is longlived still

We're using it in a lot of projects, and I don't really see anything 'bad'. Why would it be abandoned?

The reasons are explained in the link provided in the first comment

@ro0NL ro0NL mentioned this pull request Feb 21, 2025
@curry684
Copy link

curry684 commented Feb 21, 2025

The reasons are explained in the link provided in the first comment

That's all about the spaceless filter in Twig, @ro0NL said "this library" in an issue about the KnpMenu library. @tacman and I interpret that as him expressing doubts about the future of the KnpMenu library.

@garak
Copy link
Collaborator

garak commented Feb 28, 2025

#399 was just merged, do you think this PR could still stand? Maybe to solve the problem in a better way?

@curry684
Copy link

This PR is not a basis for the fundamental fix, which should rely on whitespace control through tags instead, and will by definition be a breaking change.

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.

4 participants