patternlab-php
patternlab-php copied to clipboard
pattern-lab/core and its doctrine/collections dependency is not compatible with PHP 8.1
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].
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.
@karunapatel There is an open PR to address this here. https://github.com/pattern-lab/patternlab-php-core/pull/176
@karunapatel I forked both projects (patternlab-php and patternlab-php-core) on my public GitHub and I have been working on testing packages there.