diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1192.html b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1192.html
index c1fe4db74..9fb8ef35c 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1192.html
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1192.html
@@ -32,6 +32,15 @@
Compliant solution
release(MESSAGE);
}
+
+function run($message) {
+ prepare($message); // Compliant - the duplicated string literal is turned into a parameter
+ execute($message);
+ release($message);
+}
+
+run('this is no duplicate');
+
$severity = $request->getParam('severity-score');
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1313.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1313.json
index 004dfef0a..9e0bcde81 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1313.json
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S1313.json
@@ -23,6 +23,9 @@
],
"OWASP Top 10 2021": [
"A1"
+ ],
+ "CWE": [
+ 547
]
}
}
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2234.html b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2234.html
index 6617823fa..e6ddb2fd9 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2234.html
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S2234.html
@@ -26,7 +26,6 @@ Compliant solution
$dividend = 5;
$result = $this->divide($divisor, $dividend); // Compliant
-}{code}
-h4.
+}
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3336.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3336.json
index 901466dc2..be1625fb9 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3336.json
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3336.json
@@ -31,6 +31,9 @@
],
"PCI DSS 4.0": [
"6.2.4"
+ ],
+ "CWE": [
+ 598
]
},
"quickfix": "unknown"
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3337.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3337.json
index 1743c6d29..a3f8f9dfc 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3337.json
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S3337.json
@@ -31,6 +31,9 @@
],
"PCI DSS 4.0": [
"6.2.4"
+ ],
+ "CWE": [
+ 16
]
},
"quickfix": "unknown"
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5632.html b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5632.html
index d27ae5c0a..8daa1d74b 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5632.html
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5632.html
@@ -21,6 +21,6 @@ Compliant solution
class SomeCustomException extends Exception {}
-throw new SomeCustomException(); // Compliant{code}
+throw new SomeCustomException(); // Compliant
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5708.html b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5708.html
index d54e7e8b4..65982ba10 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5708.html
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S5708.html
@@ -32,7 +32,6 @@ Compliant solution
try {
foo();
} catch (SomeCustomException $e) { // Compliant
-}{code}
-
+}
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6343.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6343.json
index 32cd361ec..4d9d0a760 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6343.json
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6343.json
@@ -24,6 +24,9 @@
],
"OWASP Top 10 2021": [
"A5"
+ ],
+ "CWE": [
+ 1352
]
}
}
diff --git a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6346.json b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6346.json
index f93aea582..59d348117 100644
--- a/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6346.json
+++ b/php-checks/src/main/resources/org/sonar/l10n/php/rules/php/S6346.json
@@ -31,6 +31,11 @@
],
"PCI DSS 4.0": [
"6.2.4"
+ ],
+ "CWE": [
+ 16,
+ 306,
+ 400
]
}
}
diff --git a/sonarpedia.json b/sonarpedia.json
index 1a00c407e..5fd7f88f6 100644
--- a/sonarpedia.json
+++ b/sonarpedia.json
@@ -3,7 +3,7 @@
"languages": [
"PHP"
],
- "latest-update": "2025-11-20T14:39:03.052241343Z",
+ "latest-update": "2025-12-29T05:15:35.295716501Z",
"options": {
"no-language-in-filenames": true,
"preserve-filenames": true