ethz-let / moodle-qtype_drawing

1 stars 6 forks source link

add missing curly braces to fix syntax errors in phpunit test #12

Closed ehsan42 closed 2 years ago

ehsan42 commented 2 years ago

Following errors occur without curly braces when running phpunit test for 'walkthrough_test.php'

stderr: 'PHP Parse error: syntax error, unexpected '';'', expecting '')'' in /var/www/html/question/type/drawing/tests/walkthrough_test.php on line 60' stderr: 'PHP Parse error: syntax error, unexpected '';'', expecting '')'' in /var/www/html/question/type/drawing/tests/walkthrough_test.php on line 69' stderr: 'PHP Parse error: syntax error, unexpected '';'', expecting '')'' in /var/www/html/question/type/drawing/tests/walkthrough_test.php on line 77'