@@ -282,7 +282,7 @@ public function getNumTestedMethods(): int
282
282
foreach ($this->classes as $class) {
283
283
foreach ($class['methods'] as $method) {
284
284
if ($method['executableLines'] > 0 &&
285
- $method['coverage'] == 100) {
285
+ $method['coverage'] === 100) {
286
286
$this->numTestedMethods++;
287
287
}
288
288
}
@@ -291,7 +291,7 @@ public function getNumTestedMethods(): int
291
291
foreach ($this->traits as $trait) {
292
292
foreach ($trait['methods'] as $method) {
293
293
if ($method['executableLines'] > 0 &&
294
- $method['coverage'] == 100) {
294
+ $method['coverage'] === 100) {
295
295
$this->numTestedMethods++;
296
296
}
297
297
}
@@ -319,7 +319,7 @@ public function getNumTestedFunctions(): int
319
319
320
320
foreach ($this->functions as $function) {
321
321
if ($function['executableLines'] > 0 &&
322
- $function['coverage'] == 100) {
322
+ $function['coverage'] === 100) {
323
323
$this->numTestedFunctions++;
324
324
}
325
325
}
@@ -392,7 +392,7 @@ private function calculateStatistics(): void
392
392
$trait['coverage'] = ($trait['executedLines'] /
393
393
$trait['executableLines']) * 100;
394
394
395
- if ($trait['coverage'] == 100) {
395
+ if ($trait['coverage'] === 100) {
396
396
$this->numTestedClasses++;
397
397
}
398
398
} else {
@@ -430,7 +430,7 @@ private function calculateStatistics(): void
430
430
$class['coverage'] = ($class['executedLines'] /
431
431
$class['executableLines']) * 100;
432
432
433
- if ($class['coverage'] == 100) {
433
+ if ($class['coverage'] === 100) {
434
434
$this->numTestedClasses++;
435
435
}
436
436
} else {
@@ -453,7 +453,7 @@ private function calculateStatistics(): void
453
453
$function['coverage'] = 100;
454
454
}
455
455
456
- if ($function['coverage'] == 100) {
456
+ if ($function['coverage'] === 100) {
457
457
$this->numTestedFunctions++;
458
458
}
459
459
0 commit comments