Add some inspection items to fix. refs #4246
Commit first part of correction. refs #4246
In order to run the tests, phpunit must be called in the tests/php folder refs #4212