Skip to content

Commit 275d4af

Browse files
committed
Updated Rector to commit a5cdd617935ec71e638106e352f6c6f7fbb7362a
rectorphp/rector-src@a5cdd61 [ChangesReporting] Fix total changed result on JsonOutputFormatter (#7807)
1 parent 1f37292 commit 275d4af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '2fecbc2f571fb590725f8e4b10f0c308083cec99';
22+
public const PACKAGE_VERSION = 'a5cdd617935ec71e638106e352f6c6f7fbb7362a';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-01-05 10:26:45';
27+
public const RELEASE_DATE = '2026-01-05 14:32:27';
2828
/**
2929
* @var int
3030
*/

src/ChangesReporting/Output/JsonOutputFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function getName(): string
2121
}
2222
public function report(ProcessResult $processResult, Configuration $configuration): void
2323
{
24-
$errorsJson = ['totals' => ['changed_files' => count($processResult->getFileDiffs())]];
24+
$errorsJson = ['totals' => ['changed_files' => $processResult->getTotalChanged()]];
2525
$fileDiffs = $processResult->getFileDiffs();
2626
ksort($fileDiffs);
2727
foreach ($fileDiffs as $fileDiff) {

0 commit comments

Comments
 (0)