CLI-1293: [api:notifications:find] typeerror for sketchy notification strings #2159
mutation.yml
on: pull_request
Mutation Testing
8m 18s
Annotations
1 warning
Mutation Testing:
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 {
|