Right click on the project > Properties > Project Natures > Check PHP
I just needed to set my Project Natures
correctly. I did have it set to Ruby
and Web - Primary
. When I checked PHP
then it worked.
I probably don't need Ruby checked, but whatever.