Fixed #601.

The error_reporting level `E_ALL & ~E_NOTICE` in PHP generates some failures in the test suite.
This is the fix for that and for the `PgsqlSchemaParserTest` fatal error, both mentioned in #601.
Merge pull request #602 from MArcJ/fix-errorreporting

Fixed #601.