@@ -282,7 +282,7 @@ public function getNumTestedMethods(): int
282282 foreach ($ this ->classes as $ class ) {
283283 foreach ($ class ['methods ' ] as $ method ) {
284284 if ($ method ['executableLines ' ] > 0 &&
285- $ method ['coverage ' ] == 100 ) {
285+ $ method ['coverage ' ] === 100 ) {
286286 $ this ->numTestedMethods ++;
287287 }
288288 }
@@ -291,7 +291,7 @@ public function getNumTestedMethods(): int
291291 foreach ($ this ->traits as $ trait ) {
292292 foreach ($ trait ['methods ' ] as $ method ) {
293293 if ($ method ['executableLines ' ] > 0 &&
294- $ method ['coverage ' ] == 100 ) {
294+ $ method ['coverage ' ] === 100 ) {
295295 $ this ->numTestedMethods ++;
296296 }
297297 }
@@ -319,7 +319,7 @@ public function getNumTestedFunctions(): int
319319
320320 foreach ($ this ->functions as $ function ) {
321321 if ($ function ['executableLines ' ] > 0 &&
322- $ function ['coverage ' ] == 100 ) {
322+ $ function ['coverage ' ] === 100 ) {
323323 $ this ->numTestedFunctions ++;
324324 }
325325 }
@@ -392,7 +392,7 @@ private function calculateStatistics(): void
392392 $ trait ['coverage ' ] = ($ trait ['executedLines ' ] /
393393 $ trait ['executableLines ' ]) * 100 ;
394394
395- if ($ trait ['coverage ' ] == 100 ) {
395+ if ($ trait ['coverage ' ] === 100 ) {
396396 $ this ->numTestedClasses ++;
397397 }
398398 } else {
@@ -430,7 +430,7 @@ private function calculateStatistics(): void
430430 $ class ['coverage ' ] = ($ class ['executedLines ' ] /
431431 $ class ['executableLines ' ]) * 100 ;
432432
433- if ($ class ['coverage ' ] == 100 ) {
433+ if ($ class ['coverage ' ] === 100 ) {
434434 $ this ->numTestedClasses ++;
435435 }
436436 } else {
@@ -453,7 +453,7 @@ private function calculateStatistics(): void
453453 $ function ['coverage ' ] = 100 ;
454454 }
455455
456- if ($ function ['coverage ' ] == 100 ) {
456+ if ($ function ['coverage ' ] === 100 ) {
457457 $ this ->numTestedFunctions ++;
458458 }
459459
0 commit comments