Skip to content

Commit 3c29c2e

Browse files
committed
AC-15344:: Add change level to breaking change table report in SVC
1 parent 7462785 commit 3c29c2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Reporter/BreakingChangeTableReporter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected function outputTable(OutputInterface $output, Report $report, $context
107107
/** @var \PHPSemVerChecker\Operation\Operation $operation */
108108
foreach ($reportForLevel as $operation) {
109109
// Skip private method/property changes as they shouldn't be in breaking change reports
110-
if ($this->isPrivateChange($operation)) {
110+
if ($this->isPrivateMemberChange($operation)) {
111111
continue;
112112
}
113113

@@ -149,7 +149,7 @@ private function getLevelLabel(int $level): string
149149
* @param \PHPSemVerChecker\Operation\Operation $operation
150150
* @return bool
151151
*/
152-
private function isPrivateChange($operation): bool
152+
private function isPrivateMemberChange($operation): bool
153153
{
154154
$target = $operation->getTarget();
155155
$reason = $operation->getReason();

0 commit comments

Comments
 (0)