ronefel / moodle-mod_googlemeet

Google Meet resource module plugin for Moodle 3.7+
Other
19 stars 15 forks source link

unexpected '' (T_ENCAPSED_AND_WHITESPACE) with PHP 7.1 and 7.2 #38

Open leonstr opened 5 months ago

leonstr commented 5 months ago

With PHP 7.2 you get _Exception - syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUMSTRING). See forum post Google meet Plugin Add activity issue.

leonstr commented 5 months ago

Prior to PHP 7.3.0, the closing identifier of a HEREDOC string must begin in the first column of the line.

Added PR #39 to fix this.