PHP Tools: Minor improvements
By Tomas Mysik-Oracle on May 30, 2016
Hi all, today we will show you our improved support for some PHP tools which will be part of NetBeans 8.2.
As you already know, NetBeans uses a lot of existing tools (great, right?!) and we will now focus on improvements for two of them.
PHPUnit
Perhaps the most unpleasant thing in PHPUnit support in NetBeans is (was! ;) that test results are visible once all the tests finish. In other words, one has to wait for all the tests to complete and after that, NetBeans is able to display the results. That is not true anymore, NetBeans now displays test results as they come, it means that you will be able to see what tests and with which results already finished even if the whole test run is still running.

Another minor but very useful improvement is that now, your PHP projects can be tested by running just phpunit command. That was not possible before, NetBeans used to always add some command line parameters to this command.

Code Sniffer
Support for phpcs.xml configuration file has been added. Formerly, NetBeans always run phpcs tool with some specific code standard so any standard possibly defined in phpcs.xml file was ignored (overwritten). That is not true anymore.
That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans Bugzilla (component php, subcomponent PHPUnit or Code). You can also leave a comment here (please notice that the comments are moderated so they will not appear here immediately) but reporting issues is strongly preferred.







