PHPUnit on MAMP: The Last Boss

I tend to get beat up really badly whenever I have to do anything involving MAMP, the command line, OSX — basically anything environmental. I get the feeling I was supposed to learn this stuff when I was fourteen. Therefore, learning to run PHPUnit on MAMP has been painful for me, and I assumed all along that I was screwing up some … command line … thing.

Turns out, code is code. My problem was in the bootstrap.php that wp-cli created all along. Once I stopped staring off into the distance wondering why phpunit wasn’t working, and got back to actually, you know, reading and writing code, I found the problems. I had to make two customizations, and I haven’t seen either one discussed in the popular tutorials for this subject. Here’s the gist:

more… PHPUnit on MAMP: The Last Boss

Published in CSS-Tricks: Getting Started with the WordPress Customizer

Direct link.

Let’s See if WordPress Embeds Work in 4.4…

( pastes in url, http://scottfennell.com/japan/slr-090/ )

SLR 090

My First Trac Ticket!

Not sure if this will get any traction, but I sure hope so:

https://core.trac.wordpress.org/ticket/34233#ticket

Published in CSS Tricks: The WordPress Nav Walker Class.

I’m honored to once again write for the great CSS Tricks!