Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 5.5 compatibility #1

Closed
mlutfy opened this issue Jun 4, 2016 · 1 comment
Closed

PHP 5.5 compatibility #1

mlutfy opened this issue Jun 4, 2016 · 1 comment

Comments

@mlutfy
Copy link

mlutfy commented Jun 4, 2016

Testing on PHP 5.5, I ran into this syntax error:

[:error] [pid 7701] [client 192.168.123.1:39422] PHP Fatal error: Arrays are not allowed in class constants in /srv/www/d7-master/sites/default/files/civicrm/ext/DataBC/CRM/DataBCGeocode/Form/Settings.php on line 15, referer: http://d7-master.dev/civicrm/admin/setting/mapping?reset=1

Seems to be caused by the syntax in:
https://github.com/KarinG/DataBC/blob/master/CRM/DataBCGeocode/Form/Settings.php#L9

KarinG added a commit that referenced this issue Jun 5, 2016
@KarinG
Copy link
Owner

KarinG commented Jun 5, 2016

Ok - I've transformed it into an array to keep < PHP 5.6 happy. Can you please give it another try? Merci!

@KarinG KarinG closed this as completed Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants