File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ private function runWorker(
158158 Bridge::FILES_COUNT => count ($ filePaths ),
159159 Bridge::SYSTEM_ERRORS => $ processResult ->getSystemErrors (),
160160 Bridge::SYSTEM_ERRORS_COUNT => count ($ processResult ->getSystemErrors ()),
161- Bridge::HAS_CHANGED => $ processResult ->hasChanged (),
161+ Bridge::TOTAL_CHANGED => $ processResult ->getTotalChanged (),
162162 ],
163163 ]);
164164 });
Original file line number Diff line number Diff line change @@ -191,9 +191,7 @@ function (array $json) use (
191191 &$ totalChanged
192192 ): void {
193193
194- if ($ json [Bridge::HAS_CHANGED ]) {
195- ++$ totalChanged ;
196- }
194+ $ totalChanged += $ json [Bridge::TOTAL_CHANGED ];
197195
198196 // decode arrays to objects
199197 foreach ($ json [Bridge::SYSTEM_ERRORS ] as $ jsonError ) {
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ final class Bridge
3737 /**
3838 * @var string
3939 */
40- public const HAS_CHANGED = 'has_changed ' ;
40+ public const TOTAL_CHANGED = 'total_changed ' ;
4141}
You can’t perform that action at this time.
0 commit comments