PHP, tool/rules for checking code style, from php5.6 to php7.3

Hi,
is some function for PHP in SQ, which will check older code in php5.6 and display all right write rules for php7.3? For example “Info, this writing rule is old style/bad for php7.3, you should write/change it this way in php7.3 - example.”.
Thanks.

Update:
Info about these rules for example.

A few rules may help, for example: