PHPnews.io

Overview for 'purplebooth'

Skipping Packages with Composer

Written by Purple Booth / Original link on Mar. 27, 2015

Just a quick note, if you find your project doesn’t work with a specific release of a package that you’re pulling in with composer, maybe due to a bug, maybe due to an accidental backwards compatibility break, you don’t need to lock composer to a specific version. You can tell composer to skip a si…


Given When Then

Written by Purple Booth / Original link on Mar. 18, 2015

How to write good behavioral tests You’re being given a tour of a code base. You get to the end and you ask if the code has any tests, and your friend proudly says “Oh yes, we have lots of tests” and opens a folder filled with feature files. “Brilliant”, you say smiling, but your heart begins to si…