Closed sghoweri closed 7 years ago
One thing to consider is that macOS Sierra (the current OS) comes with PHP 5.6 - so basically we're saying that every person who uses PL on their machine will need to update PHP. I'm not against this, but it's something we should consider and acknowledge early.
Closing this last PR out. Might end up revisiting this on the main Pattern Lab repo down the road but tabling this for now.
Updating the minimum PHP dependency in Pattern Lab PHP Core to PHP 7.0 to open the door for more concise ways to write out common PHP logic (ex. the Null coalescing operator - https://stackoverflow.com/a/36796941) in addition to the performance gains PHP 7 introduced.
Given that PHP 7.0 first came out nearly 2 years ago (December 3rd, 2015) I think it's about time we took the plunge...
Perhaps we could use this as a base for a major Pattern Lab PHP Core v3.0.0 release?