diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S128.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S128.json index 0d3c0b36a..3b3cc28e0 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S128.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S128.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1314.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1314.json index 66bbaf090..d7557e6e9 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1314.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1314.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1451.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1451.json index b6b4082f1..2ce435101 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1451.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1451.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LAWFUL" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1599.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1599.json index f9c5245a9..75447271f 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1599.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1599.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1799.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1799.json index d2f7fbc76..c3bdbb939 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1799.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1799.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2007.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2007.json index b0efbcee6..b92e54850 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2007.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2007.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "MODULAR" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2014.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2014.json index 88295059e..e41704ab5 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2014.json +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2014.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2068.html b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2068.html index b29dcea16..10bb69236 100644 --- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2068.html +++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2068.html @@ -8,7 +8,6 @@

Credentials should be stored outside of the code in a configuration file, a database, or a management service for secrets.

This rule flags instances of hard-coded credentials used in database and LDAP connections. It looks for hard-coded credentials in connection strings, and for variable names that match any of the patterns from the provided list.

-

It’s recommended to customize the configuration of this rule with additional credential words such as "oauthToken", "secret", …​

Ask Yourself Whether