Plugin SVN checkin throws error on file bootstrap80.php
-
Hi,
while commiting to SVN I got following error:
Error: *********************************** Error: PHP error in: Error: course-booking-system-extension/trunk/vendor/symfony/polyfill-mbstring/bootstrap80.php: Error: Error: Error: Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in Error: Standard input code on line 15 Error: Errors parsing Standard input code Error: *********************************** Error: This error was generated by a custom hook script on the Subversion server. Error: Please contact your server administrator for help with resolving this issue.
On the mentioned file I can fin following code:
if (!function_exists('mb_convert_encoding')) { function mb_convert_encoding(array|string|null $string, ?string $to_encoding, array|string|null $from_encoding = null): array|string|false { return p\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); } }
This is a union which is supportend since PHP 8.0. How can I push this file?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Plugin SVN checkin throws error on file bootstrap80.php’ is closed to new replies.