ssplugin / ss-twitter-feed

Show Recent twitter timeline on your site.
MIT License
3 stars 7 forks source link

Install error on PHP 7.0 #7

Closed alexjcollins closed 5 years ago

alexjcollins commented 5 years ago

Getting a parse error when trying to use the plugin on an environment running php 7.0

ParseError

syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
Caused by: ParseError

syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)

in site/vendor/ssplugin/ss-twitter-feed/src/SsTwitterFeed.php at line 67

public and private const are only available in php 7.1. https://www.php.net/manual/en/language.oop5.constants.php

Is it possible to add support for 7.0?

ssplugin commented 5 years ago

@alexjcollins We have fixed php version compatibility, Now you have to update or reinstall the plugin. Thanks.

alexjcollins commented 5 years ago

@ssplugin Thanks!