When you configure a remote interpreter accessible through SFTP, Vagrant, Docker, or WSL this read-only field shows the path mappings retrieved from the corresponding deployment configuration, Vagrantfile, or Dockerfile. For more information, refer to Configure local PHP interpreters and Configure remote PHP interpreters.Ĭlick this button next to the CLI Interpreter list to create a new PhpStorm-wide PHP installation configuration in the CLI Interpreters dialog that opens.įor more information, refer to Configure local PHP interpreters and Configure remote PHP interpreters. The list contains all the currently configured local and remote PHP interpreters. In this list, choose the PHP interpreter to use in the current project by default. The list is inactive when the PHP language version is constrained in composer.json and settings synchronization with composer.json is enabled on the Composer page of the Settings dialog ( Ctrl+Alt+S). You can also set the PHP language level directly from the status bar. When you open an existing project, PhpStorm analyzes it for the language features used and sets the appropriate language level automatically. However, if you attempt to use a code construct that is not supported by the specified language level, PhpStorm suggests a Switch to PHP quick-fix. Although the language version of each interpreter is detected automatically, you can still tell PhpStorm to provide you with coding assistance that corresponds to a different language level. There is no enforced correlation between the PHP version used in the project and the PHP language level configured in PhpStorm. For more information, refer to supported PHP versions. Each functionality scope is associated with the PHP version that supports this functionality. In this list, specify the PHP functionality scope to get coding assistance for.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |