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

Nette 3.0 version #165

Merged
merged 31 commits into from
Jul 31, 2019
Merged

Nette 3.0 version #165

merged 31 commits into from
Jul 31, 2019

Conversation

haltuf
Copy link
Contributor

@haltuf haltuf commented Jun 3, 2019

Hello, sending PR to make Kdyby/Translation compatible with Nette v3.0

This PR is conditional of approving kdyby/monolog PR in here: Kdyby/Monolog#35

To make all tests work, I made temporary change (in d092f0e) to composer.json to make the package rely on the branch consisting of the content of this PR. This should be reverted/edited, once kdyby/monolog has a version compatible with Nette 3.0

The code should pass all the tests (at least it does on my travis, coveralls etc.), which unfortunatelly does not guarantee, that it will work, as the code coverage is quite low. Please help me with testing before approving this PR.

Anyone wishing to contribute to this PR, contact me and I can give you access.

haltuf added 26 commits May 28, 2019 22:16
to be reverted, after kdyby/monolog compatible with Nette 3.0 is released
src/Caching/PhpFileStorage.php Outdated Show resolved Hide resolved
fixes "Declaration of Nette\Bridges\ApplicationLatte\SnippetBridge::setSnippetMode($snippetMode) must be compatible with Latte\Runtime\ISnippetBridge::setSnippetMode(bool $snippetMode)"
@haltuf
Copy link
Contributor Author

haltuf commented Jul 23, 2019

Temporary dependency on my branch of kdyby/monolog removed, replaced with kdyby/monolog:^2.0, that was just released.

@martinvenus
Copy link

Kdyby/translation is the only dependency preventing our projects to be upgraded to Nette 3. We are testing our project with haltuf/Translation and it seems ok. Can I help somehow to merge this PR?

@haltuf
Copy link
Contributor Author

haltuf commented Jul 29, 2019

This PR is imho ready to be merged, I also didn't find any problem in real life nette 3.0 use case. The only possible problem is that I'm on out of office now, and won't be able to prepare hotfix (if needed) in the upcoming 2 weeks.

@enumag enumag merged commit a51eebf into Kdyby:master Jul 31, 2019
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