tinybutstrong
tinybutstrong copied to clipboard
Reformat code to PSR2 and use short array syntax
No code changes, just reformating and replacing array() with []
Square brackets require a php version >=5.4
Yes I know but these old php versions are not supported anymore.
The problem is PHP 5.3 is 20% used of the PHP 5 versions, just quite as much as PHP 5.4 PHP 7 is 12% of all PHP versions. https://w3techs.com/technologies/history_details/pl-php/5
Well, one day, sooner or later you have to say: From now on I won't support totally outdated php versions any more (and php 5.3 is totally outdated). Officially supported is just php5.6 at the moment. Of course after merging this, the second or even the first version number should be raised up as it will break existing systems if they try to upgrade and still have 5.3 running. So imho a new major version should be released.
@Skrol29 Are you still interested in this PR? I just found it again while browsing through my open PRs. Should I clean this up so it can be merged?