Comments (7)
The issue is that you use PHPUnit 10, which is not supported yet. Work for that is in progress (but I won't manage to complete it before my vacation week that starts tomorrow so you'll need to wait a but).
Stick to PHPUnit 9.x for now.
from prophecy-phpunit.
Why is it trying to install phpspec/prophecy v1.15.0
? There's v1.16.0
, which is compatible to PHP 8.2.
What was the exact command you used?
Does it help to add -W
(--update-with-all-dependencies
)
If that doesn't help, what does composer why phpspec/prophecy
say?
from prophecy-phpunit.
Problem 1
- phpspec/prophecy-phpunit v2.0.0 requires php ^7.3 -> your php version (8.1.12) does not satisfy that requirement.
- phpspec/prophecy-phpunit v2.0.1 requires phpunit/phpunit ^9.1 -> found phpunit/phpunit[9.1.0, ..., 9.6.4] but it conflicts with your root composer.json require (^10.0).
- Root composer.json requires phpspec/prophecy-phpunit ^2.0 -> satisfiable by phpspec/prophecy-phpunit[v2.0.0, v2.0.1].
Similar problem here with PHP 8.1
from prophecy-phpunit.
Any update on this?
from prophecy-phpunit.
Looks like PHPUnit 10 support has been added on master
. Any chance we could get a new release soon?
from prophecy-phpunit.
Master is broken as well as it requires a version of phpspec/prophecy that does not exist yet. Had to fork it out and fix master and then use dev-master until maintainer does a proper release.
from prophecy-phpunit.
@TheLevti you don't need to require dev-master
. prophecy has a branch alias so its dev-master version fulfills the existing requirement.
However, when you want to use the dev version, you indeed have to allow composer to use the dev version of prophecy.
from prophecy-phpunit.
Related Issues (17)
- Could this be better implemented as a PHPUnit extension? HOT 3
- Move this to PHPUnit? HOT 4
- Inconsistent casing HOT 1
- Tag a new release HOT 6
- Update description HOT 1
- Mark `v2.0.0` as `latest release` on GitHub HOT 1
- Mocks do not fail immedately on unexpected calls HOT 2
- New release for PHP 8 HOT 1
- phar release as phpunit extension?
- Migrate to GH Actions ? HOT 2
- php
- PHPUnit 10 Support HOT 1
- phpunit 10 support
- Argument shortcut method on the TestCase HOT 3
- Release for not-deprecated fix HOT 1
- PhpUnit 10 support HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prophecy-phpunit.