File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -181,21 +181,23 @@ public function __invoke( $_, $assoc_args ) {
181181 'wp_export_new_file ' ,
182182 static function ( $ file_path ) {
183183 WP_CLI ::log ( sprintf ( 'Writing to file %s ' , $ file_path ) );
184- Utils \wp_clear_object_cache (); // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.wp_clear_object_cacheDeprecatedRemoved phpstan-ignore-line
184+ Utils \wp_clear_object_cache (); // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.wp_clear_object_cacheDeprecatedRemoved @ phpstan-ignore-line
185185 }
186186 );
187187
188188 try {
189189 if ( $ this ->stdout ) {
190- wp_export ( // phpstan-ignore-line
190+ /** @phpstan-ignore argument.type */
191+ wp_export (
191192 [
192193 'filters ' => $ this ->export_args ,
193194 'writer ' => WP_Export_File_Writer::class,
194195 'writer_args ' => 'php://output ' ,
195196 ]
196197 );
197198 } else {
198- wp_export ( // phpstan-ignore-line
199+ /** @phpstan-ignore argument.type */
200+ wp_export (
199201 [
200202 'filters ' => $ this ->export_args ,
201203 'writer ' => WP_Export_Split_Files_Writer::class,
You can’t perform that action at this time.
0 commit comments