Skip to content

Commit

Permalink
Update Analyser.php
Browse files Browse the repository at this point in the history
SebastianBergmann\PHPLOC\Log\Text->printResult() notices "Undefined index ..." when empty class (no methods)
  • Loading branch information
krzysiekpiasecki authored and sebastianbergmann committed Jun 4, 2015
1 parent 10a4570 commit a15ff5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,13 @@ class Analyser
'globalAccesses' => 0,
'globalVariableAccesses' => 0,
'superGlobalVariableAccesses' => 0,
'globalConstantAccesses' => 0
'globalConstantAccesses' => 0,
'methodCcnMin' => 0,
'methodCcnAvg' => 0,
'methodCcnMax' => 0,
'methodLlocMin' => 0,
'methodLlocAvg' => 0,
'methodLlocMax' => 0
);

/**
Expand Down

0 comments on commit a15ff5f

Please sign in to comment.