Skip to content

Do not catch an Exception in isset() of magic properties #784

Do not catch an Exception in isset() of magic properties

Do not catch an Exception in isset() of magic properties #784

Triggered via pull request December 14, 2023 05:48
Status Success
Total duration 5m 58s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation
Fit to window
Zoom out
Zoom in

Annotations

1 warning
PHP 8-ubuntu-latest: src/BaseActiveRecordTrait.php#L304
Escaped Mutant for Mutator "UnwrapUcFirst": --- Original +++ New @@ @@ } public function canGetProperty(string $name, bool $checkVars = true) : bool { - if (method_exists($this, 'get' . ucfirst($name)) || $checkVars && property_exists($this, $name)) { + if (method_exists($this, 'get' . $name) || $checkVars && property_exists($this, $name)) { return true; } try {