PhpStorm 2018.3.2 build 183.4886.46 is now available!
In the second minor update for the PhpStorm 2018.3, we are happy to bring you DQL Autocompletion! The release also has some bug fixes and improvements for PHP and the Web, and takes on the latest improvements in IntelliJ Platform.
PhpStorm supports PHPUnit, Codeception, Behat, and PHPSpec test frameworks out of the box. Previously, to enable integration with them, you needed to perform two steps. First, you had to set up a configuration telling PhpStorm where the corresponding library was located, and then go through and create a run configuration defining how to run it.
In PhpStorm 2018.3, the process is much simpler. Here’s all you need to do to get started with a test framework:
- Declare a dependency in composer.json.
- Put a configuration file under your project root. This can be behat.yml, codeception.yml, phpspec.yml, phpunit.xml, or the same file with an additional dist extension.
Then run Composer Install, and the frameworks that you specified will be automatically preconfigured under Settings / Preferences | Languages & Frameworks | PHP | Test Frameworks:
What’s more, PhpStorm will automatically create run configurations for you based on the provided configuration files:
You are now ready to run your tests, with no additional configuration required! Note, however, that this functionality is currently available only for local interpreters. If you use a remote interpreter, refer to PhpStorm Help for details on how to configure everything properly.
Your JetBrains PhpStorm Team
The Drive to Develop
Every PhpStorm release comes with new and enhanced refactorings, saving you from having to perform tedious manual tasks and making it easier for you to maintain your code.
PhpStorm 2018.3 is no exception. In this release, we are introducing the Replace with Alias, Inline Alias, and Сhange Class Member Visibility refactorings, as well as some tweaks to enhance some of our existing refactorings.
Let’s take a look at them in more detail.
We’ve just rolled out a release candidate for the second minor update for PhpStorm 2018.3. Download it here or via Toolbox App. Please give PhpStorm 2018.3.2 RC build 183.4886.22 a try and share your feedback with us!
This build delivers autocompletion for DQL. It also has other improvements for PHP and the Web, bug-fixes, and pipes in the latest enhancements from IntelliJ Platform.
When working with Doctrine ORM, the preferred, and probably the easiest, way to work with database queries is to use the Doctrine Query Language or DQL. DQL is a query language for your object model: instead of composing raw SQL with the names of tables and columns, you refer to the names of your PHP classes and fields to fetch or update data.
You can learn more about DQL in the documentation, and, if you haven’t yet, start using it in PhpStorm 2018.3!
PhpStorm 2018.3.1 build 183.4588.67 is now available!
In the first update for the recently released PhpStorm 2018.3, we are happy to bring you new features including support for custom string format functions and improved handling of @internal annotations. The release also has some bug fixes and improvements for PHP and the Web, and takes on the latest improvements in IntelliJ Platform.
With PhpStorm’s deployment capabilities, you can copy files and folders to remote servers. As a destination, you can use FTP/SFTP/FTPS as well as a local or mounted folder.
You may often need to deploy to multiple servers: For example, if you have several instances of an application, or you need to deploy parts of an application to different servers. Previously, you would need to repeatedly upload your files to each server separately. In PhpStorm 2018.3, we’ve added server groups to address this.
We’ve already released PhpStorm 2018.3 but haven’t forgotten about those who still use earlier releases. Today we are releasing bug-fix updates for both PhpStorm 2017.3 and PhpStorm 2018.1. These updates bring important fixes to the platform.
Download the updates here or via our Toolbox App.
PhpStorm already supports the popular code quality checking tools, PHPCS and PHPMD, which help you follow industry coding style standards (such as PSR-2), framework-specific standards, or your own team standards.
Checking for standards compliance is great, but fixing issues by hand can be tedious, especially on large projects. Well, there’s a tool for that, – PHP CS Fixer, – not only does it detect issues, but it will also fix them for you. PhpStorm 2018.3 brings in streamlined support for PHP CS Fixer!