PHP Storm composer install wrong php version

i try to composer install in my php project, im using php storm.

i get the following error:

- Root composer.json requires php ^8.0.2 but your php version (8.0.0) does not satisfy that requirement.

phpinfo() -> php 8.1.13

php -v in terminal:

PHP 8.1.13 (cli) (built: Dec  8 2022 20:54:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.13, Copyright (c) Zend Technologies

But why composer say, my php version is 8.0.0