Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.
This repository was 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

Description

@karunapatel

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].

Activity

  1. karunapatel commented on Jan 5, 2023

    @karunapatel
    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.

  2. lquessenberry commented on Jan 9, 2023

    @lquessenberry

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

  3. lquessenberry commented on Jan 9, 2023

    @lquessenberry

    @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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions