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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to