amochohan / phpunit-code-quality Goto Github PK
View Code? Open in Web Editor NEWCheck code quality once PHPUnit tests pass
Check code quality once PHPUnit tests pass
As soon as I register the listener
in my phpunit.xml
file I get the following Fatal Error
:
PHP Fatal error: Interface 'PHPUnit_Framework_TestListener' not found in /code/vendor/drawmyattention/phpunit-code-quality/src/Listeners/ComplexityAnalysisListener.php on line 12
I've tried to downgrade PHPUnit to ^4
in my composer.json
file but that didn't solve my problems.
I'm trying to get this to work on a clean, brand new "vanilla" project.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drawmyattention/phpunit-code-quality 1.0.0 requires phpunit/phpunit ~5.7 -> satisfiable by phpunit/phpunit[5.7.0, 5.7.1, 5.7.10, 5.7.11, 5.7.12, 5.7.13, 5.7.14, 5.7.15, 5.7.16, 5.7.17, 5.7.18, 5.7.19, 5.7.2, 5.7.20, 5.7.21, 5.7.22, 5.7.23, 5.7.24, 5.7.25, 5.7.26, 5.7.27, 5.7.3, 5.7.4, 5.7.5, 5.7.6, 5.7.7, 5.7.8, 5.7.9] but these conflict with your requirements or minimum-stability.
- Can only install one of: mockery/mockery[0.9.x-dev, 1.2.4].
- Can only install one of: mockery/mockery[1.2.4, 0.9.x-dev].
- Can only install one of: mockery/mockery[0.9.x-dev, 1.2.4].
- drawmyattention/phpunit-code-quality 1.0.1 requires mockery/mockery ^0.9.9 -> satisfiable by mockery/mockery[0.9.x-dev].
- Installation request for drawmyattention/phpunit-code-quality ^1.0 -> satisfiable by drawmyattention/phpunit-code-quality[1.0.0, 1.0.1].
- Installation request for mockery/mockery (locked at 1.2.4, required as ^1.0) -> satisfiable by mockery/mockery[1.2.4].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.