src/assure.php
Showing 4 of 4 total issues
Avoid too many return
statements within this method. Open
Open
return $value != $operand;
- Create a ticketCreate a ticket
Avoid too many return
statements within this method. Open
Open
return $value < $operand;
- Create a ticketCreate a ticket
Function assure
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
function assure(&$value, $assures) { static $instances = []; $assures = (array)$assures;
- Read upRead up
- Create a ticketCreate a ticket
Missing class import via use statement (line '55', column '27'). Open
Open
throw new \InvalidArgumentException("Unknown operator '$operator' given");
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks