spryker / code-sniffer

Spryker Code Sniffer
https://spryker.com
MIT License
36 stars 11 forks source link

7.4+ compatibility check #280

Closed dereuromark closed 3 years ago

dereuromark commented 3 years ago

There are 3 important RFCs that was introduced in PHP 7.4:

We should check that those don't break anything.

dereuromark commented 3 years ago

Specifically, the following issues seem to be not covered

$fn1 = fn($x)=>$x + $y;

should be

$fn1 = fn ($x) => $x + $y;