New in 4.0: Code Coverage for PHPUnit
We continue developing integration with tools essential for each developer who cares about the quality of his code. This time we want to introduce you Code Coverage for PHPUnit. What is Code Coverage for PHPUnit? It shows you how much of your code is covered with tests and marks covered and uncovered lines visually right in the editor.
Let’s try to get your first code coverage measurement in PhpStorm!
- Enable Xdebug or Zend Debugger extension in your PHP interpreter configuration (see Xdebug installation guide and Zend Debugger installation guide).
- Choose an existing ‘PHPUnit’ run configuration or create a new one.
- Launch the run configuration using the new ‘Coverage’ button.
That is all!
Develop with pleasure!
Working with Windows Azure SQL Database in PhpStorm
PhpStorm provides us the possibility to connect to Windows Azure SQL Database right from within the IDE. In this post, we’ll explore several options that are available for working with Windows Azure SQL Database (or database systems like SQL Server, MySQL, PostgreSQL or Oracle, for that matter): …
Change signature refactoring in PhpStorm
A very powerful refactoring is the Change signature refactoring in PhpStorm. It enables us to modify a function signature in many ways: we can change the function name, change its visibility, add, remove and reorder parameters as well as rename parameters. (more…)…
Folding for imports in PhpStorm 6.0
In PhpStorm 6, we've introduced code folding for imports. Any list of imports will now be folded into a single line. This greatly reduced clutter in your editor when having a lot of imports! (more…)…
Drag & Drop Project Files to Remote Hosts in PhpStorm
The Remote Host pane allows us to work directly on a remote server through FTP, FTPS, SFTP or a local/network folder. A lot of people asked us to add drag & drop to the Remote Host pane in PhpStorm. Good news: PhpStorm 6 comes with drag & drop as well as copy & paste support from the pro…