original_string: public function cat(): void
      {
          $paths = $this->getConfigPaths();
  
          foreach ($paths as $path) {
              WP_CLI::line(
                  WP_CLI::colorize("%B====> Printing $path%n")
              );
  
              // phpcs:ignore WordPressVIPMinimum.VIP.FetchingRemoteData.fileGetContentsUknown
              $contents = file_get_contents($path);
  
              $contentsWithoutLineBreaks = str_replace(["\r", "\n"], '', $contents);
              if (empty($contentsWithoutLineBreaks)) {
                  WP_CLI::error_multi_line([
                      "File '$path' is empty.",
                  ]);
              }
  
              WP_CLI::line($contents);
              // Print a empty line for better UX.
              WP_CLI::line('');
          }
      }
code: public function cat(): void
      {
          $paths = $this->getConfigPaths();
  
          foreach ($paths as $path) {
              WP_CLI::line(
                  WP_CLI::colorize("%B====> Printing $path%n")
              );
  
              // phpcs:ignore WordPressVIPMinimum.VIP.FetchingRemoteData.fileGetContentsUknown
              $contents = file_get_contents($path);
  
              $contentsWithoutLineBreaks = str_replace(["\r", "\n"], '', $contents);
              if (empty($contentsWithoutLineBreaks)) {
                  WP_CLI::error_multi_line([
                      "File '$path' is empty.",
                  ]);
              }
  
              WP_CLI::line($contents);
              // Print a empty line for better UX.
              WP_CLI::line('');
          }
      }
code_tokens: public function cat ( ) : void { $ paths = $ this -> getConfigPaths ( ) ; foreach ( $ paths as $ path ) { WP_CLI :: line ( WP_CLI :: colorize ( "%B====> Printing $path%n" ) ) ; // phpcs:ignore WordPressVIPMinimum.VIP.FetchingRemoteData.fileGetContentsUknown $ contents = file_get_contents ( $ path ) ; $ contentsWithoutLineBreaks = str_replace ( [ "\r" , "\n" ] , '' , $ contents ) ; if ( empty ( $ contentsWithoutLineBreaks ) ) { WP_CLI :: error_multi_line ( [ "File '$path' is empty." , ] ) ; } WP_CLI :: line ( $ contents ) ; // Print a empty line for better UX. WP_CLI :: line ( '' ) ; } }
docstring: Prints the content of all config files.
  
  ## EXAMPLES
  
  # Print the content of all config files
  $ wp preflight config cat
docstring_tokens: Prints the content of all config files .