Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Cameron Chong
Cameron Chong
4,298 Points

Update since PHP Unit has made a breaking change

This is just to let people know that in the PHP Unit series uses an old version of PHP Unit that works differently to the new one. In the latest version phpunit they use namespacing. You don't need to know what that means though. If you get an error along the lines of class not found then add the following to the php file with your tests, at the very top just after the opening "<?php"

"use PHPUnit\Framework\TestCases;" Then change the class declaration to "class PigLatinTest extends TestCase"

That fixed it for me.