Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 285 Bytes

ParadoxicalCondition.md

File metadata and controls

15 lines (12 loc) · 285 Bytes

ParadoxicalCondition

Emitted when a paradox is encountered in your programs logic that could not be caught by RedundantCondition

<?php

function foo($a, $b) : void {
    if ($a && $b) {
        echo "a";
    } elseif ($a && $b) {
        echo "cannot happen";
    }
}