phingofficial / phingofficial/phing

Allow sebastian/version 7.0 or move to require-dev

Open Beginner friendly
#2,025 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.2k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Please describe the problem here.

phing/phing dev-main cannot be installed alongside phpunit/phpunit 13.3 or pestphp/pest 5.2 due to incompatible requirement for sebastian/version 7.0 (instead of ^3.0|^4.0|^5.0|^6.0).

Steps To Reproduce
If possible, include a (short) code snippet that helps us reproduce the problem.

composer.json with phpunit/phpunit 13.3 or pestphp/pest 5.2 and phing/phing dev-main

Expected behavior
Let us know what you expected to happen.

Add ^7.0 to allowed versions of sebastian/version or move it to require-dev

Screenshots / terminal output
If applicable, add screenshots or terminal output to help explain your problem.

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires pestphp/pest ^5.2 -> satisfiable by pestphp/pest[v5.2.0, v5.2.1].
    - Root composer.json requires phing/phing dev-main -> satisfiable by phing/phing[dev-main].
    - pestphp/pest v5.2.0 requires phpunit/phpunit ^13.3.3 -> satisfiable by phpunit/phpunit[13.3.3, 13.3.4].
    - pestphp/pest v5.2.1 requires phpunit/phpunit ^13.3.4 -> satisfiable by phpunit/phpunit[13.3.4].
    - phpunit/phpunit[13.3.3, ..., 13.3.4] require sebastian/version ^7.0.0 -> satisfiable by sebastian/version[7.0.0].
    - Conclusion: don't install sebastian/version 7.0.0 (conflict analysis result)

Additional context
Add any other context about the problem here.

N/A

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the repository's Composer dependency declarations and reproduce the conflict with phpunit/phpunit 13.3 or pestphp/pest 5.2 alongside phing/phing dev-main. Update the sebastian/version constraint or its dependency section as appropriate, then verify that Composer resolves the dependency set successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.