Skip to content

Conversation

@ruudk
Copy link
Contributor

@ruudk ruudk commented Sep 26, 2024

This was introduced in #4176

According to #4343 the message can be improved.

I made a few changes to the test to make it easier to work with. Best to review this PR commit by commit.

/cc @stof

@ruudk ruudk force-pushed the escape-deprecation branch from 0ba5cfa to 58de32a Compare September 26, 2024 12:48
@ruudk ruudk requested a review from stof September 26, 2024 12:49
@fabpot
Copy link
Contributor

fabpot commented Sep 26, 2024

Thank you @ruudk.

@fabpot fabpot merged commit d1c754e into twigphp:3.x Sep 26, 2024
@ruudk ruudk deleted the escape-deprecation branch September 26, 2024 13:10
@smnandre
Copy link
Contributor

Would it be possible to add the source path (if it exists) ? $this->source?->getPath() ?

It took me time to figure where one came from in my code (spoiler alert: a date format 😅)

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

Discussion
----------

Improve deprecation messages

Refs [in string should](#4344 (comment))
cc `@smnandre`

Commits
-------

ed1b444 Improve deprecation messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants