Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

pattern-lab/core and its doctrine/collections dependency is not compatible with PHP 8.1 #401

Open
karunapatel opened this issue Jan 5, 2023 · 3 comments

Comments

@karunapatel
Copy link

I am getting below errors on patternlab after upgrading PHP 8.1.12

Your requirements could not be resolved to an installable set of packages.

Problem 1
- doctrine/collections v1.4.0 requires php ^5.6 || ^7.0 -> your php version (8.1.12) does not satisfy that requirement.
- pattern-lab/core v2.9.0 requires doctrine/collections 1.4.0 -> satisfiable by doctrine/collections[v1.4.0].
- Root composer.json requires pattern-lab/core ^2.9 -> satisfiable by pattern-lab/core[v2.9.0].

@karunapatel
Copy link
Author

Can we update doctrine/collections version [ from 1.4.0 to 2.1.2 ] in the pattern-lab/core v2.9.0 requirements ?
Where can find that requirement defined for pattern-lab/core v2.9.0
Any help will be appreciated.

@lquessenberry
Copy link

@karunapatel There is an open PR to address this here. pattern-lab/patternlab-php-core#176

@lquessenberry
Copy link

@karunapatel I forked both projects (patternlab-php and patternlab-php-core) on my public GitHub and I have been working on testing packages there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants