tmysik commented on code in PR #8478: URL: https://github.com/apache/netbeans/pull/8478#discussion_r2077954070
########## php/php.phpunit/src/org/netbeans/modules/php/phpunit/preferences/PhpUnitPreferencesValidator.java: ########## @@ -60,11 +60,12 @@ public PhpUnitPreferencesValidator validateCustomSuite(boolean customSuiteEnable } public PhpUnitPreferencesValidator validatePhpUnit(boolean phpUnitEnabled, String phpUnitPath) { - if (phpUnitEnabled) { - String warning = PhpUnitUtils.validatePhpUnitPath(phpUnitPath); - if (warning != null) { - result.addWarning(new ValidationResult.Message("phpUnitPath", warning)); // NOI18N - } + if (! phpUnitEnabled) { Review Comment: ```suggestion if (!phpUnitEnabled) { ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists