Skip to content

Commit e47d04b

Browse files
committed
[#62] PHP Notice for an Unknown operation
Do not add an Unknown operation to reports. If we do not know what has changed, there is no reason to report it. A report should only contain changes we can explain.
1 parent 197ba3c commit e47d04b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/PHPSemVerChecker/Analyzer/FunctionAnalyzer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ public function analyze(Registry $registryBefore, Registry $registryAfter)
7070
$report->addFunction($data);
7171
continue;
7272
}
73-
74-
// Unable to match an issue, but there is one...
75-
$data = new Unknown($fileBefore, $fileAfter);
76-
$report->addFunction($data);
7773
}
7874
}
7975

0 commit comments

Comments
 (0)