-
Notifications
You must be signed in to change notification settings - Fork 9
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
prevent symfony/validator v5 from installing #38
base: master
Are you sure you want to change the base?
Conversation
ping @enumag just in case you don't receive notifications on new PRs :) |
oops, this version restriction might not be enough. |
Hmm... what's the proper fix to make this package v5 compatible? (I don't really use Nette or Symfony too much these days.) And thanks for the ping. I indeed don't get notifications otherwise. |
977162b
to
332b53e
Compare
Forcepushed change with restriction to <4.4 (4.4 causes method signature incompatibility) Honestly, I didn't investigate the incompatible changes now since I depend on 3rd party package using this package and I just need to get my app running 😇 |
Could you provide upstream issue about this BC break? |
You can always do that by adding a conflict with SF validator 4.4+ or adding a dependency on SF validator 4.3. |
@Majkl578 it's caused by symfony/translation-contracts being installed at version 2.0 if symfony/validator v4.4 is installed. where should I report it? In validator repository?
@enumag sure, I did that :) |
All issues should be reported in symfony/symfony. This looks like symfony/translation doesn't have correct version constraint for symfony/translation-contracts maybe. |
Version 5 was released 5 days ago (https://github.com/symfony/validator/releases) and breaks this package with error
Nette\DI\ServiceCreationException: Class Symfony\Component\Validator\Mapping\Cache\DoctrineCache used in service 'validator.cache' not found.
Thanks for merge and release of new version.