Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/class/msClicRDV.php:41511
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   array_key_exists() Works On Arrays
  •   Drop Else After Return
  •   Could Make A Function
  •   Bail Out Early
  •   No Need For Else
  •   Assign With And
  •   Logical Should Use Symbolic Operators
/class/msClicRDV.php:20210
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Drop Else After Return
  •   Could Make A Function
  •   Bail Out Early
  •   No Need For Else
  •   Assign With And
  •   Logical Should Use Symbolic Operators
/controlers/patient/patient.php:919
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Drop Else After Return
  •   Bail Out Early
  •   No Need For Else
  •   Logical Should Use Symbolic Operators
/class/msClicRDV.php:2137
  •   Iffectations
  •   Uses Default Values
  •   Drop Else After Return
  •   Could Make A Function
  •   Bail Out Early
  •   No Need For Else
/class/msClicRDV.php:4267
  •   Iffectations
  •   Uses Default Values
  •   Drop Else After Return
  •   Could Make A Function
  •   Bail Out Early
  •   No Need For Else
/controlers/phonecapture/phonecaptureLogout.php:297
  •   Uses Default Values
  •   Useless Parenthesis
  •   Timestamp Difference
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Undefined Variable
/controlers/phonecapture/phonecaptureLogout.php:307
  •   Uses Default Values
  •   Useless Parenthesis
  •   Timestamp Difference
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Undefined Variable
/controlers/rest/inc-rest-getPatientInfo.php:407
  •   Used Once Variables (In Scope)
  •   Uses Default Values
  •   Could Make A Function
  •   Check JSON
  •   Wrong Type For Native PHP Function
  •   Undefined Variable
/class/msCcamNgapApi.php:2146
  •   Iffectations
  •   Several Instructions On The Same Line
  •   Lone Blocks
  •   Useless Brackets
  •   Empty Blocks
  •   Long Arguments
/class/msClicRDV.php:4526
  •   Iffectations
  •   Uses Default Values
  •   Could Make A Function
  •   No Need For Else
  •   Assign With And
  •   Logical Should Use Symbolic Operators
/class/msLapPrescription.php:5216
  •   Uses Default Values
  •   Written Only Variables
  •   Wrong Parameter Type
  •   Could Make A Function
  •   Modernize Empty With Expression
  •   Check JSON
/class/msUser.php:1396
  •   Uses Default Values
  •   Useless Parenthesis
  •   Timestamp Difference
  •   Adding Zero
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
/class/msUser.php:1406
  •   Uses Default Values
  •   Useless Parenthesis
  •   Timestamp Difference
  •   Adding Zero
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
/controlers/login/logInDo.php:566
  •   Strict Comparison With Booleans
  •   Used Once Variables (In Scope)
  •   Nested Ifthen
  •   Merge If Then
  •   Undefined Variable
  •   Logical Should Use Symbolic Operators
/controlers/logs/historiqueRappelsMail.php:786
  •   Uses Default Values
  •   Could Make A Function
  •   Check JSON
  •   Too Many Array Dimensions
  •   Wrong Type For Native PHP Function
  •   Undefined Variable