MDL-86458 libraries: upgrade to version 3.0.2 of PHPComplex

This commit is contained in:
yusufwib01
2026-03-11 14:52:11 +07:00
parent 6ebf41a6c2
commit 6cdb232f5b
2 changed files with 24 additions and 1 deletions
@@ -0,0 +1,23 @@
# PHPComplex (markbaker/complex)
## Upgrade
1. Run the following commands:
```sh
installdir=$(mktemp -d)
cd "$installdir"
composer require markbaker/complex
cd -
rm -rf public/lib/phpspreadsheet/markbaker/complex/classes
cp -rf "$installdir"/vendor/markbaker/complex/classes public/lib/phpspreadsheet/markbaker/complex/classes
cp -f "$installdir"/vendor/markbaker/complex/composer.json public/lib/phpspreadsheet/markbaker/complex/composer.json
cp -f "$installdir"/vendor/markbaker/complex/license.md public/lib/phpspreadsheet/markbaker/complex/license.md
git add public/lib/phpspreadsheet/markbaker/complex
rm -rf "$installdir"
```
2. Review the changes.
3. Update the version in `public/lib/thirdpartylibs.xml`.
+1 -1
View File
@@ -74,7 +74,7 @@
<location>phpspreadsheet/markbaker/complex</location>
<name>PHPComplex</name>
<description>PHP Class Library for working with Complex numbers.</description>
<version>3.0.1</version>
<version>3.0.2</version>
<license>MIT</license>
<repository>https://github.com/MarkBaker/PHPComplex</repository>
</library>