Emanuele Panzeri
Emanuele Panzeri
@JohannesTyra @vendethiel thanks for the report! I was using the latest release of SF1, but did not get the error. Can you help me to reproduce it? Thanks!
the latest release uses the short array syntax. How can I reproduce the error?
@JohannesTyra @vendethiel can you check if the following solves your issue? ` $content = preg_replace('/protected \$classes = (array|\\[) *\(.*?\);/s', sprintf("protected \$classes = [\n%s ];", $classes), file_get_contents(__FILE__));` I adjusted your suggestion,...