-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
This is:
- [x] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
All variables containing $PHPExcel are kept the same
What is the current behavior?
The substring 'PHPExcel is replaced with the filepath to the framework.
What are the steps to reproduce?
Create a file with a variable (mine is $objPHPExcel) and then run the migration tool.
<?php
require __DIR__ . '/vendor/autoload.php';
// Create new Spreadsheet object
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
$objPHPExcel // used to be this
$obj\PhpOffice\PhpSpreadsheet\Spreadsheet->setActiveSheetIndex(4); // turns into this.
Which versions of PhpSpreadsheet and PHP are affected?
I am running 1.3