nanch / phpfmt_stable

This is a stable snapshot (version 6125cf9) of the phpfmt plugin for Sublime Text
143 stars 34 forks source link

Incorrect is_null transformation #11

Open mrpavlikov opened 8 years ago

mrpavlikov commented 8 years ago

changing is_null($var) to (null === $var) is cool, but it does it wrong combining with exclamation mark

if (!is_null($var)) => if (!null === $var)

MKCG commented 6 years ago

@mrpavlikov I fixed this issue with my last commit in this repository along with some others : https://github.com/MKCG/phpfmt_7-1

Hope this help ;-)