PHPSpreadsheet - How Do I Use Auto Migration Tool



PHP Snippet 1:

 php vendor\phpoffice\phpspreadsheet\bin\migrate-from-phpexcel  

PHP Snippet 2:

 error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); 

PHP Snippet 3:

[ERROR] Could not process "test.php" file, due to:                                                
         "Analyze error: "PHPExcel_Writer_Exception (Unable to load PDF Rendering library) thrown while looking 
         for class PHPExcel_Writer_PDF_DomPDF.". Include your files in "$parameters->set(Option::AUTOLOAD_PATHS,
         [...]);" in "rector.php" config.                                                                       
         See https://github.com/rectorphp/rector#configuration".