
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com> Co-authored-by: Dorian Burihabwa <75226315+dorian-burihabwa-sonarsource@users.noreply.github.com>
10 lines
125 B
Plaintext
10 lines
125 B
Plaintext
[source,php]
|
|
----
|
|
$s = "";
|
|
try {
|
|
$s = readMyFile($fileName);
|
|
} catch (Exception $e) {
|
|
throw $e; // Noncompliant
|
|
}
|
|
----
|