Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add phpunit 12.0 support #24

@SerafimArts

Description

@SerafimArts

When installing according to the instructions

composer require phpacker/phpacker --dev

The following errors occur as a dependency:

- Root composer.json requires phpacker/phpacker * -> satisfiable by phpacker/phpacker[dev-feature/execution-context-detection, dev-fix/custom-bin-repo-path, dev-feat-gitattributes, dev-chore/update-php-bin, dev-fix-bin-path, dev-main, 0.1, ..., 0.3.4, 9999999-dev].
    - phpunit/phpunit is locked to version 12.0.10 and an update of this package was not requested.
    - nunomaduro/collision[v8.6.0, ..., v8.x-dev] conflict with phpunit/phpunit <11.5.3 || >=12.0.0.
    - phpacker/phpacker[dev-feature/execution-context-detection, dev-fix/custom-bin-repo-path, dev-feat-gitattributes, dev-chore/update-php-bin, dev-fix-bin-path, dev-main, 0.1, ..., 0.3.4] require nunomaduro/collision ^8.6 -> satisfiable by nunomaduro/collision[v8.6.0, v8.6.1, v8.7.0, v8.x-dev]

It seems that the dependency on nunomaduro/collision contains conflict with actual phpunit 12.0 (see https://packagist.org/packages/nunomaduro/collision#v8.7.0)

I suggest moving the nunomaduro/collision dependency to the "require-dev" section and adding it to the "suggest" and making it optional

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions