CLI-1293: [api:notifications:find] typeerror for sketchy notification strings #2159
Annotations
1 warning
Run Infection for added files only:
src/Command/CommandBase.php#L1243
Escaped Mutant for Mutator "Catch_":
--- Original
+++ New
@@ @@
// In rare cases, JSON can decode to a string that's a valid UUID.
self::validateUuid($json);
return $json;
- } catch (JsonException|AcquiaCliException|ValidatorException) {
+ } catch (JsonException|AcquiaCliException) {
}
// Last chance, maybe a URL?
try {
|
Loading