kinglozzer

protected function setUp() - I assume this is for unit tests? Are you flushing on CLI?

kinglozzer

Just make it a class with static methods, like we’re using PHP 5.3 again

kinglozzer

I usually use https://github.com/franzliedke/studio

Show 1 attachment(s)
GitHub  
franzliedke/studio

A workbench for developing Composer packages. Contribute to franzliedke/studio development by creating an account on GitHub.

Hide attachment content
kinglozzer

Local composer package development is always painful 😞 chicken and egg - you need to “require” the package for the code to be autoloaded, but you haven’t actually written any code yet to create a package with 😛

kinglozzer

Your package “HELLO” (you’ll probably need to rename it) needs to be required by your root composer.json