Inspectopedia Help

Probable bugs

Name

Language

'var_export' or 'print_r' call is used without 'return' argument  

PHP

Assignment in condition  

PHP

Case with specified value not found in enum  

PHP

Concatenation with arithmetic usage  

PHP

Constant reassignment  

PHP

Division by zero  

PHP

Duplicate arm in 'match' expression  

PHP

Duplicate array keys  

PHP

Duplicate branch in switch statement  

PHP

Duplicate case in switch statement  

PHP

Duplicate character in function call  

PHP

Duplicate condition  

PHP

Empty index operator not supported for strings  

PHP

Expression result unused  

PHP

Field reference does not match object shape  

PHP

Foreach array is used as value  

PHP

Format function parameters mismatch  

PHP

Goto into loop statement  

PHP

Invalid function result used  

PHP

Invalid string offset usage  

PHP

Invalid type of unpacked argument  

PHP

Local object is used only for writing properties  

PHP

Method '__toString' implementation  

PHP

Method '__toString' return type  

PHP

Misordered 'rand' function arguments  

PHP

Missing 'break' statement  

PHP

Missing parent call for constructor  

PHP

Missing parent call for magic methods  

PHP

Missing parent call for method  

PHP

Modification of the array returned from function by value won't have any effect  

PHP

Nested vs outer 'foreach' variables conflict  

PHP

Non-strict object equality  

PHP

Optional before required parameter  

PHP

Pass parameter by reference  

PHP

Private method may be inaccessible during late static binding call  

PHP

Redeclaration of standard library function  

PHP

Redundant assignment  

PHP

Some enum cases are uncovered  

PHP

Statement has empty body  

PHP

Strict comparison of operands with incompatible types  

PHP

Suspicious names combination  

PHP

Switch statement without default branch  

PHP

Unnecessary statement use  

PHP

Unused 'match' condition  

PHP

Unused 'switch' branch  

PHP

Wrong string concatenation  

PHP

Last modified: 13 July 2023