34494 initial release
1. Why is this change necessary?
It's the initial release of this plugin.
2. What does this change do, exactly?
3. Describe each step to reproduce the issue or behavior.
If not installed yet, you need to install https://github.com/humbug/php-scoper on your system.
- Open your terminal and open the plugins directory
- Execute the script ".build/plugins/php-scoper.sh" (keep the current working directory!)
- Enter "__phpScoper" into the console. The script which is now executed scopes the original vendor directory with a custom namespace (defined in scoper.inc.php)
- Don't worry, the actual working tree will be changed by the script
- Install and activate the plugin (but technically this is not required, see the bootstrap file)
- Try to use the PhpSpreadsheet library
Note: All related classes are prefixed with the NetInventors\\NetiNextPhpSpreadsheet\\Isolated
namespace. You must change your code according to this namespace.
The scoping will make sure you are using the correct PhpSpreadsheet version.
If you need help testing this just contact me.
4. Please link to the relevant issues (if any).
https://redmine.netinventors.de/issues/34494?issue_count=1&issue_position=1
5. Checklist
-
I have updated the plugin version and changelog -
I have set the required labels -
I can confirm the code style fits our requirements -
I can confirm no debug output is generated anywhere