File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -122,12 +122,12 @@ private function processFile(string $inputFile): void
122122 $ coveredMethods = 0 ;
123123
124124 foreach ($ metrics as $ metric ) {
125- $ totalConditionals = (int ) $ metric ['conditionals ' ];
126- $ coveredConditionals = (int ) $ metric ['coveredconditionals ' ];
127- $ totalStatements = (int ) $ metric ['statements ' ];
128- $ coveredStatements = (int ) $ metric ['coveredstatements ' ];
129- $ totalMethods = (int ) $ metric ['methods ' ];
130- $ coveredMethods = (int ) $ metric ['coveredmethods ' ];
125+ $ totalConditionals + = (int ) $ metric ['conditionals ' ];
126+ $ coveredConditionals + = (int ) $ metric ['coveredconditionals ' ];
127+ $ totalStatements + = (int ) $ metric ['statements ' ];
128+ $ coveredStatements + = (int ) $ metric ['coveredstatements ' ];
129+ $ totalMethods + = (int ) $ metric ['methods ' ];
130+ $ coveredMethods + = (int ) $ metric ['coveredmethods ' ];
131131 }
132132
133133 $ totalElements = $ totalConditionals + $ totalStatements + $ totalMethods ;
You can’t perform that action at this time.
0 commit comments