pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

PHP Parse error: syntax error, unexpected '=', expecting ')' #136

Closed fabiobatalha closed 6 years ago

fabiobatalha commented 6 years ago

I'm building a docker image for OTS.

Testing the image, while parsing the references the given error is raised.

ots_1    | PHP Parse error:  syntax error, unexpected '=', expecting ')' in /project/ots/module/ReferencesConversion/src/ReferencesConversion/Model/Converter/References.php on line 445

I'm not an expert in PHP, but it seems it is not a valid sintaxe in PHP 5.4.16

https://github.com/pkp/ots/blob/7900ecc585d2666d5213f8a06b189bec935c2c2f/module/ReferencesConversion/src/ReferencesConversion/Model/Converter/References.php#L444-L447