Search code examples
phpphpstormversion

How to see code differences regarding PHP versions in PhpStorm?


I expect to mark PhpStorm code differences with reference to lower PHP versions, but PhpStorm is not marking anything. I developed a code in PHP 8.2 and expect to see, what I have to change in code after downgrading to PHP version 7.2

enter image description here

Now, I changed to PHP 7.2, but PhpStorm doesn't care. I expect to mark, for instance private EntityRepository $productRepository;, but PhpStorm doesn't mark it. What should I do?

enter image description here


Solution

  • Got issue by my own. I had to reactivate PHP errors

    enter image description here