@@ -39,16 +39,16 @@ public function process(PHP_CodeCoverage $coverage, $target = null, $name = null
3939 $ root ->appendChild ($ project );
4040 $ root ->appendChild ($ document ->createElement ('timestamp ' , date ('Y-m-d H:i:s ' , (int ) $ _SERVER ['REQUEST_TIME ' ])));
4141
42- $ stats = $ document ->createElement ('stats ' );
42+ $ stats = $ document ->createElement ('stats ' );
4343 $ methodsNode = $ document ->createElement ('methods ' );
4444
45- $ report = $ coverage ->getReport ();
45+ $ report = $ coverage ->getReport ();
4646 unset($ coverage );
4747
48- $ fullMethodCount = 0 ;
48+ $ fullMethodCount = 0 ;
4949 $ fullCrapMethodCount = 0 ;
50- $ fullCrapLoad = 0 ;
51- $ fullCrap = 0 ;
50+ $ fullCrapLoad = 0 ;
51+ $ fullCrap = 0 ;
5252
5353 foreach ($ report as $ item ) {
5454 $ namespace = 'global ' ;
@@ -66,7 +66,7 @@ public function process(PHP_CodeCoverage $coverage, $target = null, $name = null
6666 foreach ($ class ['methods ' ] as $ methodName => $ method ) {
6767 $ crapLoad = $ this ->getCrapLoad ($ method ['crap ' ], $ method ['ccn ' ], $ method ['coverage ' ]);
6868
69- $ fullCrap += $ method ['crap ' ];
69+ $ fullCrap += $ method ['crap ' ];
7070 $ fullCrapLoad += $ crapLoad ;
7171 $ fullMethodCount ++;
7272
@@ -79,8 +79,8 @@ public function process(PHP_CodeCoverage $coverage, $target = null, $name = null
7979 if (!empty ($ class ['package ' ]['namespace ' ])) {
8080 $ namespace = $ class ['package ' ]['namespace ' ];
8181 }
82- $ methodNode ->appendChild ($ document ->createElement ('package ' , $ namespace ));
8382
83+ $ methodNode ->appendChild ($ document ->createElement ('package ' , $ namespace ));
8484 $ methodNode ->appendChild ($ document ->createElement ('className ' , $ className ));
8585 $ methodNode ->appendChild ($ document ->createElement ('methodName ' , $ methodName ));
8686 $ methodNode ->appendChild ($ document ->createElement ('methodSignature ' , htmlspecialchars ($ method ['signature ' ])));
0 commit comments