Choose the right tools for your Magento project

Magento can be hard. We all know it. We can make your work easier by picking the right tools. I wanted to share with you the stuff I am using in my last project. And which, IMO, should the MUST-BE in every Magento installation. PHP-Error https://github.com/panrafal/PHP-Error Better error display. My hack for it https://gist.github.com/piotrbelina/10d5544c5fc872ec2a77 Aoe […]

Using PHPUnit with Gaufrette to unit test IO-dependent behaviour

Recently I wanted to test some class which uses heavily IO. I was refactoring some legacy code depending on file_get_contents and other file functions. To allow easy testing I added Gaufrette library and replaced all native PHP functions operating on IO. <?php use Gaufrette\Filesystem; class Generator {     /**      * @var Filesystem […]