shannah/xataface — pull request #15 by tolleiv (2014-06-23 09:30:19+00:00)
Title: Remove lint errors

I've stumbled upon a couple PHP Lint errors (using `for file in `find . -name "*php"`; do php -l $file >/dev/null; done`) which break the code.

Current master shows these errors - which are corrected with the commits in the pull request.

* PHP Parse error: syntax error, unexpected ',' in ./actions/commit.php on line 93
* PHP Parse error: syntax error, unexpected 'wibble' (T_STRING), expecting function (T_FUNCTION) in ./lib/simpletest/test/test_with_parse_error.php on line 5
* PHP Parse error: syntax error, unexpected 'return' (T_RETURN) in ./lib/Perm/Storage/Cache.php on line 121
* PHP Fatal error: Non-abstract method xatacard_layout_MySQLDataSource::newRecord() must contain body in ./modules/XataJax/classes/xatacard/layout/MySQLDataSource.php on line 262
* PHP Parse error: syntax error, unexpected ';', expecting function (T_FUNCTION) in ./modules/XataJax/classes/xatacard/layout/Field.php on line 7
* PHP Parse error: syntax error, unexpected '{' in ./modules/XataJax/classes/xatacard/layout/Record.php on line 86
* PHP Parse error: syntax error, unexpected 'echo' (T_ECHO) in ./docs/examples/getRelatedRecords.example.php on line 15
* PHP Parse error: syntax error, unexpected 'empty' (T_EMPTY), expecting identifier (T_STRING) in ./Dataface/Clipboard.php on line 125
* PHP Fatal error: Cannot redeclare Dataface_HelpTool::getContents() in ./Dataface/HelpTool.php on line 106
* PHP Fatal error: Cannot redeclare WidgetHandler::pushField() in ./Dataface/FormTool/WidgetHandler.php on line 190
* PHP Fatal error: Constructor JSON::json() cannot be static in ./Dataface/JSON.php on line 36