-
Notifications
You must be signed in to change notification settings - Fork 82
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 Latte 2.5 compatibility #164
Conversation
…TranslateMacros since it's ancestor uses Tracy\Strict
@jankonas Can you update your PR please? |
@foxycode I will after Kdyby/Monolog#35 is merged and new version is tagged. |
@foxycode FYI since the mentioned PR only allows Nette 3.0 packages I requested tagging new kdyby/monolog version without it (Kdyby/Monolog#38) so I hope it will be soon :-) |
2675644
to
acee849
Compare
@enumag I think it's ready to merge (and maybe tag new version? 😉). |
@@ -46,7 +46,6 @@ public function extractFile($file, MessageCatalogue $catalogue) | |||
{ | |||
$buffer = NULL; | |||
$parser = new Parser(); | |||
$parser->shortNoEscape = TRUE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to remove this for Latte 2.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For 2.4 absolutely, it was already deprecated then. For lower versions I'm not sure, but nobody objected when I asked for review here and on Slack.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
composer.json here requieres "latte/latte": "^2.4.6@dev",
anyway so we don't need to handle the lower versions
Resolves #159, closes #160, closes #161, closes #162, closes #163
BC breaks! 😱
Maybe breaks on lower latte versions? (See below)no one reported any problemMinimal Latte version compatibility?
I removed one line from
Kdyby\Translation\Extractors\LatteExtractor
that depended on function deprecated in Latte 2.4 and removed in Latte 2.5. But I have no idea whether this breaks compatibility with lower Latte versions (in which case the constraint in composer.json should be updated) or not. Is there someone with better knowledge of this package who knows?