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

php8 support #186

Open
Borbina opened this issue Jun 7, 2021 · 2 comments
Open

php8 support #186

Borbina opened this issue Jun 7, 2021 · 2 comments

Comments

@Borbina
Copy link

Borbina commented Jun 7, 2021

Is it possible to create support for php8^? I am not able to install it using nette after: composer update -W using "kdyby/translation": "3.0.x-dev", nor "kdyby/translation": "^3.0.2".

Problem 1
- kdyby/strict-objects[v2.0.0, ..., v2.0.1] require php ^7.1 -> your php version (8.0.6) does not satisfy that requirement.
- kdyby/translation 3.0.x-dev is an alias of kdyby/translation dev-master and thus requires it to be installed too.
- kdyby/translation dev-master requires kdyby/strict-objects ^2.0 -> satisfiable by kdyby/strict-objects[v2.0.0, v2.0.1].
- Root composer.json requires kdyby/translation 3.0.x-dev -> satisfiable by kdyby/translation[3.0.x-dev (alias of dev-master)].

@martincarda
Copy link

please have you solved this problem somehow

@Snooker147
Copy link

Hello, after some time of troubleshooting, I have found that in order to use translations with PHP 8 you need to use the Contributte\Translation package. It looks like it works exactly the same way as this package and it is maintained.

I think the author should put a notice that this package has been abanded in favor of the contributte one or atleast some indicator what to use with PHP 8

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

No branches or pull requests

3 participants