Closed timelsass closed 5 years ago
That was an unintentional compat buster. =P
Fixed in v0.8.2
thanks ! :)
@robocoder Which release is the last one to work with PHP 5.4?
Answering to my own question: last version working with PHP 5.4 is scssphp 0.8.0
If you run composer with --ignore-platform-reqs
, I believe 1.0 will still work with PHP 5.4.
It will not because of ::class
call which is PHP 5.5 only feature.
Recent changes introduced a couple of areas that use class name resolution via $className::class. This feature was added in 5.5, so 5.4 installs are impacted.
found in: https://github.com/leafo/scssphp/blob/master/src/Compiler.php#L1493 https://github.com/leafo/scssphp/blob/master/src/Compiler.php#L2141
I'd suggest bumping to a minimum of 5.6 to start the process of making php 7 the minimum eventually