I installed php version 7.2 (I use the Open Server). In PhpStorm for CLI Interpreter, I was able to select it, but for PHP language level I can not. Why is that? How to fix?
2 answers
See the project's composer.json file. If it is addicted
"require": { "php": "^7.1", PHPStorm will not let you choose version 7.2.
|
PHP 7.2 is supported starting with PhpStorm 2017.2.1.
- I have 2017.2 ibb.co/gpmWAx - user153742
- Clarified. Support appeared in the first patch: blog.jetbrains.com/phpstorm/2017/08/phpstorm-2017-2-1-is-here - artspb
|


composer.jsonand there seems to be a different one. either specify in the composer or disable the sync as in a similar question in English on stackoverflow.com/questions/49272977/… - Lexx918