Comments (2)
@drzraf thanks for reporting
As you can see all the conditions to support all possible versions of PHPUnit are very tricky there. We did not have this report before, and as you are saying if it is working with PHPUnit 8.4 there is no point to investigate that issue, imo.
It looks like just 8.5 and 9.5 are supported versions of PHPUnit so I encourage you to use one of them.
Thanks
from php-mock-phpunit.
Needs to reopen. Under PHPUnit 8.5.26
, I'm getting the following warnings:
2x: The "PHPUnit\Framework\MockObject\Rule\InvocationOrder" class is considered internal This class is not covered by the backward compatibility promise for PHPUnit. It may change without further notice. You should not use it from "phpmock\phpunit\DefaultArgumentRemoverReturnTypes84".
2x in blablabla
2x: The "PHPUnit\Framework\BaseTestListener" class is considered internal. It may change without further notice. You should not use it from "phpmock\phpunit\MockDisablerPHPUnit7".
2x in blablabla
The previous problem was probably a manifestation and a warning now exists to keeps developers from extending InvocationOrder
and BaseTestListener
from php-mock-phpunit.
Related Issues (20)
- phpmock\phpunit\PHPMock not installing HOT 5
- PHPUnit 7 support HOT 3
- Searching new maintainer
- Compatibility with PHPUnit 7.4 HOT 5
- Not work if mocked in test method and tests was run from phpunit command HOT 1
- Add PHPUnit 8 support HOT 1
- Add PHPUnit 8.1 compatibility HOT 2
- Error: Call to undefined method phpmock\phpunit\MockObjectProxyNoReturnTypes::will() HOT 1
- Incompatibility with PHPUnit 8.4 HOT 2
- 'parameters' is private member, use getParameters() instead.
- Declaration of Codeception\Test\Test::toString() must be compatible with PHPUnit\Framework\SelfDescribing::toString(): HOT 3
- Declaration of phpmock\phpunit\MockDisablerPHPUnit6::endTest(PHPUnit\Framework\Test $test, $time) must be compatible with PHPUnit\Framework\BaseTestListener::endTest(PHPUnit\Framework\Test $test, float $time): void in /home/vagrant/Code/boursify-app/vendor/php-mock/php-mock-phpunit/classes/MockDisablerPHPUnit6.php on line 50 HOT 2
- phpspec/prophecy is now explicitely needed for tests HOT 1
- Incompatible declaration of MockDisablerPHPUnit6::endTest HOT 1
- InvocationOrder - it is not an interface HOT 1
- Support PHPUnit 10 HOT 2
- Mocking time function in one test method affects the other
- Incompatible with PHPUnit >= 10.3 HOT 7
- [QUESTION] - Deprecated Methods in phpunit 11 HOT 2
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 php-mock-phpunit.