Comments (10)
This isn't a bug. You need to set your "minimum-stability" to dev. This is just one reason why composer's require command is bad imo.
from humbug.
composer require --dev humbug/humbug:1.0.*@dev padraic/phpunit-extensions:~1.0@dev
I think you can swing it with the colon separator before the version? I actually did something similar today while cleaning up Mockery's travis scripts and build deps: https://github.com/padraic/mockery/blob/travis-cleanup/travis/install.sh
--dev just adds it to require-dev instead of require.
Edit: Since there's actually two dev versions, need to include both and then it should work.
from humbug.
@padraic That's a really crap solution though.
from humbug.
@GrahamCampbell It's hideous
Will do if anyone really really needs this until stable releases of Humbug and phpunit-extensions (and the phar) are available. Mockery uses it solely for the Travis builds and I'm removing coveralls thereafter from composer.json.
from humbug.
@padraic try without --dev :
composer require humbug/humbug:1.0.*@dev padraic/phpunit-extensions:~1.0@dev
and it works. should readme be updated ?
from humbug.
I'd prefer people update their composer.json, do a global install, or have a self-updating phar. Humbug really doesn't even target composer.json - it's an infrequent use development tool. Perhaps I should simply get regular phars rolling?
from humbug.
+1 for phar it.
from humbug.
Phar builds have been implemented via box. I had to write my own self-update based loosely off composer's. The revised self update enforces TLS and checks phar signatures.
Closing since this is the preferred install option, other than a bleeding edge clone which is best for debugging/testing.
from humbug.
thank you @padraic ;)
from humbug.
@samsonasik Currently broken unfortunately. There is an odd ioctl error popping up. I just built a phar, tested (worked!), uploaded and self-updated somwhere. Error. Then I built again, tested, and it was there during testing. Not sure if it's box or something codewise. Will need to do some digging with build options...
Ordinary clone copy works perfectly every time.
from humbug.
Related Issues (20)
- Make Humbug tests up and running HOT 3
- Communication channels HOT 8
- Path to PHPUnit not properly escaped HOT 2
- PHPUnit Mock and Prophecy objects shoudn't be mutated HOT 5
- [DISCUSS] Roadmap for Humbug 2.0 HOT 7
- Add behat scenario where there are no tests to run against mutations. HOT 1
- Resolve Appveyor failed builds for PHP 7.0
- PHPUnit Test Listeners are technically read-only (not enforced). We need another means of manipulating suite execution order and suite filtering. HOT 2
- PHAR build error - solution to be documented
- [DISCUSS] Dependency interference/Initial run failures HOT 2
- Make phpdbg a first class citizen HOT 1
- Document whether Humbug runs processes in parallel
- Stripping PHPUnit configuration of elements HOT 3
- Document preferred non-PHAR, non-global installation as using composer-bin to isolate dependencies
- Humbug fails with PHPUnit stderr setting
- Is there a way to configure which PHPUnit test suite to run? HOT 2
- Incompatibility with php-vcr (or other libraries using stream_wrapper_register) HOT 2
- You need to install and enable xdebug in order to.. even with xdebug installed HOT 2
- TImeouts - how to prevent them
- Humbug reports uncovered mutants on a 100% covered codebase 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 humbug.