Merge branch 'MDL-86458-main' of https://github.com/yusufwib01/moodle

This commit is contained in:
Huong Nguyen
2026-03-16 16:43:53 +07:00
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>