Allow phpunit to use all 4.x releases.

Updated dependencies.
Members are protected if accessor methods are being used
Merge branch 'colinodell-protected-members-with-accessors' into 3.x