@@ -108,7 +108,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
108108 $ warning = "Warning: The provided directory "
109109 . "' {$ directory }' does not exist or is not a directory. " ;
110110 if ($ isAgenticRun ) {
111- $ this ->writeAgenticOutput ($ output , ' refresh ' , false , $ warning );
111+ $ this ->writeAgenticOutput ($ output , $ this -> getName () , false , $ warning );
112112 } else {
113113 $ output ->writeln ('<error> ' . $ warning . '</error> ' );
114114 }
@@ -123,7 +123,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
123123 if (!\file_exists ($ defaultLpvFile ) && $ this ->isDryRun ($ input ) !== true ) {
124124 $ warning = 'Warning: No default .lpv file exists to refresh. ' ;
125125 if ($ isAgenticRun ) {
126- $ this ->writeAgenticOutput ($ output , ' refresh ' , false , $ warning );
126+ $ this ->writeAgenticOutput ($ output , $ this -> getName () , false , $ warning );
127127 } else {
128128 $ output ->writeln ('<error> ' . $ warning . '</error> ' );
129129 }
@@ -133,7 +133,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
133133 if ($ chosenPreset === '' || !\in_array (\strtolower ($ chosenPreset ), \array_map ('strtolower ' , $ this ->finder ->getAvailablePresets ()), true )) {
134134 $ warning = 'Warning: Chosen preset ' . $ chosenPreset . ' is not available. Maybe contribute it?. ' ;
135135 if ($ isAgenticRun ) {
136- $ this ->writeAgenticOutput ($ output , ' refresh ' , false , $ warning );
136+ $ this ->writeAgenticOutput ($ output , $ this -> getName () , false , $ warning );
137137 } else {
138138 $ output ->writeln ('<error> ' . $ warning . '</error> ' );
139139 }
@@ -178,7 +178,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
178178 if ($ bytesWritten === false ) {
179179 $ warning = 'Warning: The refresh of the default .lpv file failed. ' ;
180180 if ($ isAgenticRun ) {
181- $ this ->writeAgenticOutput ($ output , ' refresh ' , false , $ warning );
181+ $ this ->writeAgenticOutput ($ output , $ this -> getName () , false , $ warning );
182182 } else {
183183 $ output ->writeln ('<error> ' . $ warning . '</error> ' );
184184 }
@@ -187,7 +187,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
187187
188188 $ message = "Refreshed default ' {$ defaultLpvFile }' file. " ;
189189 if ($ isAgenticRun ) {
190- $ this ->writeAgenticOutput ($ output , ' refresh ' , true , $ message , ['lpv_file_path ' => $ defaultLpvFile ]);
190+ $ this ->writeAgenticOutput ($ output , $ this -> getName () , true , $ message , ['lpv_file_path ' => $ defaultLpvFile ]);
191191 } else {
192192 $ output ->writeln ($ message );
193193 }
0 commit comments