OpenConext / OpenConext/OpenConext-engineblock
EngineBlock 6.7.2 can not install dependencies using composer 2
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 17
- Forks
- 25
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
This issue is imported from pivotal - Originaly created at Oct 12, 2022 by Michiel Kodde
Tim van Dijen reported this issue:
On EB v6.7.2:
$ composer install --no-dev
Creating the "app/config/functional_testing.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
In Process.php line 143:
[TypeError]
Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of
the type array, string given, called in /home/saml/openconext-engineblock/vendor/
sensio/distribution-bundle/Composer/ScriptHandler.php on line 291
Using composer 1 to install the dependencies seemed to solve the issue.
Suggestion: migrate the lockfile to be composer 2 compatible (given composer 1 is EOL)
Additional information (in Dutch):
Het is een raar probleem, want op een andere omgeving werkte het wel met composer v2
Composer v2.2.18 werkt, maar v2.4.2 werkt niet
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dependency installation with Composer 2.4.2 and compare it with Composer 2.2.18 and Composer 1. Inspect the Composer lockfile and the reported Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php failure. Done means dependencies install successfully with the supported Composer 2 version without the Process.php TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100